Crosscheck UUID's

SYNass IT Ubuntu / Linux i-ubux at synass.net
Fri Apr 11 23:37:07 UTC 2008


Hello Ubuntu experts and users
In very short time I learned a lot with you about UUID's and its usages 
with my intensive experiments: Thank you !!! ;-D

One point interest me very much:
What's the best and easiest way to crosscheck for the accuratest and
correct UUID's ?
Which information is the most important and to choose as base ??
Which one needs extra observation ??? 

We have /boot/grub/menu.lst ...
... we have /etc/fstab ...

and 

... I use blkid and UUIDcomp giving me this display

------------------------------------------
sna at WS222:~$ UUIDcomp
sda1 UUID=D2C47460C47448AD
sda5 UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
sda6 UUID=0E1C68841C686923
X sda7 UUID=42e739b5-a525-43b0-a897-21378f3a94b9 #
UUID=652c9985-2254-48c7-a110-cff8ef2c8325 / ext3
defaults,errors=remount-ro 0 1
X sda8 UUID=47F7-9B3D UUID="42e739b5-a525-43b0-a897-21378f3a94b9 none
swap sw 0 0

sna at WS222:~$ 
------------------------------------------
Marked here with "X" means there is a mismatch and need extra check !!!

Normally I change the respective lines manually as following to see
better:

sda5 UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35 
        UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35

sda8 UUID=47F7-9B3D 
        UUID="42e739b5-a525-43b0-a897-21378f3a94b9 none swap sw 0 0

sda5 is OK and sda8 has mismatch to be checked and corrected !!


and the attached 2 files !

Your hints, suggestions and especially warnings how to check and
maintain UUIDs best and easiest are very welcome: TIA 

Cheers, svobi
-------------- next part --------------
sda1 UUID=D2C47460C47448AD
sda5 UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
sda6 UUID=0E1C68841C686923
sda7 UUID=42e739b5-a525-43b0-a897-21378f3a94b9
sda8 UUID=47F7-9B3D

-------------- next part --------------
sda5 UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
sda7 # UUID=652c9985-2254-48c7-a110-cff8ef2c8325	/               ext3    defaults,errors=remount-ro 0       1
sda1 UUID=D2C47460C47448AD /media/sda1     ntfs    defaults,umask=007,gid=46 0       1
sda8 UUID="42e739b5-a525-43b0-a897-21378f3a94b9	none            swap    sw              0       0
sda9 # UUID=a09c73a0-e8a4-41bd-a1c9-776e58a82194	/home	ext3	0	2


More information about the ubuntu-users mailing list