Linux fdisk command show boot device name

Fig.02: Linux fdisk command show boot device name

Fig.02: Linux fdisk command show boot device name

The syntax is as follows to see boot device or partition name on a Linux:
fdisk -l
fdisk -l /dev/device
fdisk -l /dev/sda

Sample output:


Disk /dev/sda: 399.7 GB, 399717171200 bytes 255 heads, 63 sectors/track, 48596 cylinders, total 780697600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00071acf
Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 780695551 390096897 5 Extended /dev/sda5 501760 2500607 999424 82 Linux swap / Solaris /dev/sda6 2502656 780695551 389096448 83 Linux

Leave a Comment