Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Identifying Volumes: /dev/sdxn vs. UUID



 A while back I noticed that these days Linux (or at least Ubuntu) likes 
to find volumes by UUID instead of what /dev file it falls under.  A 
UUID is not very memorable, so I have been known to edit fstab and 
menu.lst to use the traditional naming. 

But I am now a fan.  The cause is my external disk again. 

I had Ubuntu install on my external disk.  Mostly to get grub set up 
right and prove to myself that it was possible.  Then I copied my entire 
/ partition from the internal to the external disk.  Oh, I went back and 
put the correct UUIDs in fstab to find the new /home and /boot 
partitions on the external disk.  I also edited menu.lst UUIDs to point 
to the correct external / partition. 

It works! 

On my W2 (in testing before sending it off) the external USB disk 
appears as /dev/sda, but on the other machines I have booted with this 
disk the external disk is /dev/sdb.  By using UUIDs I can find the 
partitions no matter what traditional name they land under. 

Yes, I have to use (hd0,1) or (hd1,1) in menu.lst for grub to find the 
kernel in the two cases, but after that it finds everything. 

So if any ornery old cusses out there hate this new fangled UUID thing, 
you might reconsider... 


-kb, the Kent who tries to keep his ornery old cussedness under control. 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org