UsingUUID

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2007-06-08 19:46:04
Size: 1137
Editor: sites
Comment: details and howtos on UUID usage
Revision 6 as of 2007-06-09 20:34:03
Size: 0
Editor: ppp-172-65
Comment: content moved to support wiki h.u.c/community/UsingUUID
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)