Home > Linux System > Make A New Partition with FDisk

Make A New Partition with FDisk

Assume we have /dev/sda:
1. fdisk /dev/sda
2. Create a new partition: type ‘n’
3. Choose logical or primary partition: type ‘l’ or ‘p’
4. Set the size you want,
5. Write the changes you have made: type ‘w’
6. Exit from fdisk, then make a new file system, for example: mkfs -t ext4 /dev/sda3

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Trackbacks:0

Listed below are links to weblogs that reference
Make A New Partition with FDisk from Aji's Journal
TOP