Re: multiboot fails -- debian + ubuntu



* Tom H <tomh0665@xxxxxxxxx> [110921 02:09]:
Given the grub version, it's your Wheezy install that's controlling
boot.

Thank you for noticing this. My intent was to have stable (Squeeze)
controlling boot, because of the vagaries of testing. But this
(Wheezy) may be better.



Why did you run "grub-install"? Since you chose not to install a
bootloader, all you needed to do was run "update-grub" in Wheezy.

Did you just run "grub-install"? Or "grub-install /dev/sda"? (I
wouldn't have thought that "grub-install" would work.

Forgive me. It was "update-grub" and not "grub-install" which I ran
in Squeeze. The update process found Ubuntu, so I did not look
further.



Do
grub-probe --target=fs_uuid --device /dev/sda7
and
blkid -c /dev/null /dev/sda7
return the same value and does it correspond to the UUID in the
"search" and "linux" lines of the Ubuntu entry in grub.cfg?

For the record, here is the output from Wheezy:

# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image? /boot/vmlinuz-3.0.0-1-486
Found initrd image: /boot/initrd.img-3.0.0-1-486
Found Debian GNU/Linux (6.0.2) on /dev/sda5
Found Ubuntu 10.04.3 LTS (10.04) on /dev/sda7
done

# blkid -c /dev/null
/dev/sda1: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID=" <snip> " TYPE="swap"
/dev/sda4: UUID=" <snip> " TYPE="ext3"
/dev/sda5: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID=" <snip> " TYPE="ext4"
/dev/sda7: UUID=" <snip> " SEC_TYPE="ext2" TYPE="ext3"

# grub-probe --target=fs_uuid --device /dev/sda7
<snip>

I did not type the actual UUIDs, because I am transcribing on another
machine (not cutting and pasting). The UUID which blkid returns for
/dev/sda7 does match the UUID returned by grub-probe.


The Ubuntu entries in /boot/grub.cfg refer to /dev/sda7 rather than to
the UUID.

Now I would like to know why the grub boot menu has five entries for
Ubuntu, and how to get rid of three or four of them...

Thanks your interest and help.

RLH


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20110921174015.GC3675@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: multiboot fails -- debian + ubuntu
    ... controlling boot, because of the vagaries of testing. But this ... all you needed to do was run "update-grub" in Wheezy. ... return the same value and does it correspond to the UUID in the ... Found Ubuntu 10.04.3 LTS on /dev/sda7 ...
    (Debian-User)
  • Re: grub and gpt
    ... when I updated grub from squeeze to ... Now that wheezy is coming more and more stable, I want to know if there ... are any bad luck that the new grub will also fail to boot my ...
    (Debian-User)
  • grub and gpt
    ... Several months ago, when I updated grub from squeeze to wheezy, it failed to boot my system so I kept grub at the squeeze version. ...
    (Debian-User)
  • Re: grub and gpt
    ... when I updated grub from squeeze to ... Now that wheezy is coming more and more stable, I want to know if there ... are any bad luck that the new grub will also fail to boot my ...
    (Debian-User)
  • Re: Ubuntu - disk management behaviour
    ... but also an usb live key needs to be bootable ... Why does set root before searching with uuid? ... To help with this, let me start by saying you can remove this line "set root=''" and it will boot okay. ... In fact you can even use the wrong partition number, say in this example, ...
    (Ubuntu)