Linux lsblk command show boot device name

Linux lsblk command show boot device name

Fig.01: Linux lsblk command show boot device name

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

Sample output:

NAME  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda     8:0    1 372.3G  0 disk 
sda1    8:1    1   243M  0 part /boot
sda2    8:2    1     1K  0 part 
sda5    8:5    1   976M  0 part [SWAP]
sda6    8:6    1 371.1G  0 part /
sr0    11:0    1  1024M  0 rom  

Leave a Comment