Tuesday, December 13, 2011

How to Find HardDisk Partitian UUID, Label , Type and Device node Identifier in Ubuntu / Debian Linux

 Some times you need to know the  device node identifier. e.g. /dev/sda1, a partition UUID,  a partition label or partition type (ntfs,fat32 etc). By using the following command you can see all the  relevant information about your partitions.


 Open a Terminal

$ sudo blkid -c /dev/null

sample output

/dev/sda1: UUID="D8C0A470C0A45692" TYPE="ntfs"
/dev/sda5: LABEL="Ddrive" UUID="FA0C1D8C0C1D44D3" TYPE="ntfs"
/dev/sda6: UUID="1ccc38e0-5981-438b-adc0-d90301eee022" TYPE="ext4"
/dev/sda7: UUID="03a0bd37-b163-49a2-b1a9-33017d764ba8" TYPE="swap"
/dev/sda8: LABEL="ibex" UUID="61f6b15b-8be8-43d8-904f-4e599b608994" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: UUID="3b70839c-525c-490c-9892-791a539b3005" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: LABEL="EDrive" UUID="E8B8420AB841D7A8" TYPE="ntfs"
/dev/ramzswap0: TYPE="swap"

2 comments:

kde4.de said...

Nice article, one time i had problems during boot because grub listed the wrong UUID for initial boot rom

Anonymous said...

I have read so many articles or reviews on the topic of the blogger lovers but this paragraph is truly a nice post, keep it up.
My page :: monster energy stickers