Revision 1 as of 2007-06-08 19:46:04

Clear message

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