UUID Unix System
UUID Unix System
Hi! If you're new here, you may want to subscribe to the Unix Tutorial RSS feed to get regular
tips & tricks for all flavors of Unix. You can follow me on Twitter, too! Thanks for visiting!
If you tried installing or upgrading Ubuntu recently, you probably noticed that all the storage
devices are now using UUID – Universally Unique IDentifiers. I'm not claiming to know everything
there is to know about UUIDs, but have become quite comfortable managing them lately, so
hopefully this post will help you achieve the same.
Reason 3: Most critical functionality of your Ubuntu system already depends on UUIDs
GRUB – your boot loader – relies on UUIDs as well. If you look into /boot/grub/menu.lst file,
you'll find something similar to this:
title Ubuntu hardy (development branch), kernel 2.6.24-16-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c73a37c8-ef7f-40e4-b9de-8b2f81038441 ro
quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
As you can see, I've still got a few NTFS partitions as I'm slowly migrating my data from Windows
after my switch to Ubuntu desktop a couple months ago.
That's all I can think of so far. I know a few more things about UUID which I'll share in a separate
post, but it's a start.
Have you got any more great ideas and tips for UUID? Let me know and I'll be sure to share them
with others in the future posts.
Related books
If you want to learn more, here's a great book: