Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2007-06-08 19:46:04
Size: 1137
Editor: sites
Comment: details and howtos on UUID usage
Revision 9 as of 2008-08-06 16:59:35
Size: 53
Editor: localhost
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Since Edgy, Ubuntu requires the use of '''UUID''' or '''LABEL''' (for filesystems including swap), or udev-created symlinks (for removable media like CDROMs and USB drives). Directly using {{{/dev/hd*}}} or {{{/dev/sd*}}} is no longer supported (since these device assignments can change from boot to boot):

 * all filesystems should be specified by {{{UUID=}}} or {{{LABEL=}}}
 * all physical devices should be specified by a symlink (e.g. {{{/dev/cdrom}}}, {{{/dev/disk/by-id/...}}}, etc.)

The files for which this is most critical are:
 * {{{/boot/grub/menu.lst}}}
 * {{{/etc/fstab}}}
 * {{{/etc/initramfs-tools/conf.d/resume}}}

To perform these renamings (which should have already happened during the Dapper to Edgy upgrade) please use:

 * {{{/boot/grub/menu.lst}}}:
sudo /usr/sbin/update-grub
 * {{{/etc/fstab}}}:
sudo rm -f /etc/fstab.pre-uuid
sudo /var/lib/dpkg/info/volumeid.postinst configure
 * {{{/etc/initramfs-tools/conf.d/resume}}}:
  * Verify that {{{RESUME=}}} matches your {{{swap}}} line in {{{/etc/fstab}}}
  * After any adjustment, run {{{sudo update-initramfs -u}}}

UsingUUID (last edited 2008-08-06 16:59:35 by localhost)