UsingUUID

Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2007-06-08 19:46:04
Size: 1137
Editor: sites
Comment: details and howtos on UUID usage
Revision 7 as of 2007-06-11 14:58:28
Size: 55
Editor: sites
Comment:
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}}}
#REFRESH 0 http://help.ubuntu.com/community/UsingUUID

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