Linux - The fdisk utility
The fdisk utility is available on Windows (MS-DOS) and Linux. It allows you to create partitions on your hard drive, but it should be noted that the Linux version is more complex than its MS-DOS counterpart.
How you use the fdisk tool?
- Use the fdisk command to launch the tool.
- When no argument is specified fdisk will make use the first partition it finds. To make use of a specific partition, simply pass the name of the latter as an argument. In this example, the second partition is used:
How hard drives are named under Linux?
- For IDE drives, the partitions are named as hda, hdb,..
- For SCSI disks, the partitions are named as sda, sdb,..
|l||list of partition types|
|m||Print the current menu|
|n||create a new partition|
|q||exit fdisk without saving settings|
|t||change the partition type|
|v||check the partition table|
|w||save changes and exit fdisk|
Original document published on CommentcaMarche.net