Comment 3 for bug 433259

Aldo Maggi (sentiniate) wrote :

the fix doesn't seem having solved all the problems:

first of all:
root@paperino:~# ls -l /dev/disk/by-uuid
totale 0
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 2a6b8793-2505-4750-966e-466cbf9c21cd -> ../../sdb7
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 337a635e-a720-44d9-84c3-67c06ceb40b1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 581e6572-f650-45ae-bedc-6de0ec0eaa2e -> ../../sdd1
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 5d59e236-5003-4f2d-bdbc-65b4847174e4 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 72e5dc8c-f129-437a-975f-30cef1a2bd03 -> ../../sdb5
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 8aae5516-aae4-4b28-a900-17a4f46281b7 -> ../../sdb6
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 91ed3b0f-1daf-46e9-b58e-2a51afe71fef -> ../../sdb2
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 bb3af7ad-e381-4e61-9abf-0abc34e46f46 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-09-26 09:33 d402b8b8-727e-438e-a57d-b123605bb70d -> ../../sdb3

root@paperino:/boot/grub# update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Debian GNU/Linux (squeeze/sid) on /dev/sdb1
Found Debian GNU/Linux (squeeze/sid) on /dev/sdd1
done

in the attachment you can see the actual contents of grub.cfg, here i list the main errors:
menuentry "Debian Squeeze su /dev/sda1 (on /dev/sdb1) , it seems that grub2 looks into first disk mbr and uses pieces of old grub installs, as a matter of fact, less than a year ago squeeze was actually installed in sda1;

menuentry "Ubuntu, Karmic (on /dev/sdb1) , the "stanza" lists the uuid for sdb1 but in the kernel line writes root in sdb6 where karmic is actually installed

menuentry "Debian GNU/Linux, kernel 2.6.30-1-686 (on /dev/sdd1) , yes, i have squeeze in sdd1 but ... in the search line the uuid is the one of sdd1 and in the kernel line the uuid is the one of sda1, furthermore in the line appears vga=791, where did grub get that information if not in a previous install of grub?

menuentry "Debian Squeeze su /dev/sda1 (on /dev/sdd1), well in the search line the uuid is the sdd1 one, in the kernel line sda1 is listed;

menuentry "Ubuntu, Karmic (on /dev/sdd1), same error than in the stanza concerning karmic living in sdb1 (see above)

thanks
aldo