Comment 4 for bug 462961

Revision history for this message
Martin Pitt (pitti) wrote :

The original grub.cfg from the old install was correct (/boot/grub/grub.cfg on vda5):

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
 set quiet=1
 insmod ext2
 set root=(hd0,1)
 search --no-floppy --fs-uuid --set 4b294ec9-0fb3-44bd-bc61-7f35ccb52534
 linux /vmlinuz-2.6.31-14-generic root=UUID=3534fcb7-8b25-4b97-8643-59b566d177d7 ro quiet splash
 initrd /initrd.img-2.6.31-14-generic
}

However, the one from the new install put the wrong UUID into the search line:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, Linux 2.6.31-14-generic (on /dev/vda5)" {
        insmod ext2
        set root=(hd0,5)
        search --no-floppy --fs-uuid --set 3534fcb7-8b25-4b97-8643-59b566d177d7
        linux /boot/vmlinuz-2.6.31-14-generic root=UUID=3534fcb7-8b25-4b97-8643-59b566d177d7 ro quiet splash
        initrd /boot/initrd.img-2.6.31-14-generic