How to list partition table on ubuntu
Posted on December 18, 2008
Your ubuntu hard disks can be divided into one or more logical disks called partitions. This division is described in the partition table found in sector 0 of the disk.
To list your disk partition table you just need to use command fdisk in your ubuntu terminal.
Eg:
j@j-desktop:~$ sudo fdisk -l Disk /dev/sda: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000080 Device Boot Start End Blocks Id System /dev/sda1 * 5 2299 18434587+ 7 HPFS/NTFS /dev/sda2 2300 7399 40965750 f W95 Ext'd (LBA) /dev/sda3 7400 8929 12289725 7 HPFS/NTFS /dev/sda4 8930 9726 6401902+ 83 Linux /dev/sda5 2300 4849 20482843+ 7 HPFS/NTFS /dev/sda6 4850 7399 20482843+ 7 HPFS/NTFS j@j-desktop:~$
This example show us that I have one disk(sda) on my computer,and this disk are partitioned to 6 partitions(sda1~6)
Popularity: 5% [?]
» Filed Under Linux
Comments
Leave a Reply