[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multiboot fails -- debian + ubuntu



* Tom H <tomh0665@gmail.com> [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


Reply to: