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

Re: multiboot fails -- debian + ubuntu



On Wed, Sep 21, 2011 at 1:51 AM, Russell L. Harris
<rlharris@broadcaster.org> wrote:
>
> I installed Debian stable (Squeeze) and Debian testing (Wheezy) on a
> single drive (multi-boot), then I installed Ubuntu
> 10.04.3-desktop-i386.  In addition to a partition for each OS, the
> drive has a /boot partition and a swap partition.
>
> When installing Ubuntu, I UNchecked the "install boot loader" box.
> After installing Ubuntu, I booted Debian stable and executed
> "grub-install".  But when I restart the machine and attempt to
> boot Ubuntu, I get the following message:
>
>    error: no such device: 210e7d19-fd27-4e2e-82a6-6538cdc38fe9.
>    error: file not found.
>    error: you need to load the kernel first.
>
>    Press any key to continue...
>
> The Grub entry for Ubuntu is as follows:
>
> GNU GRUB  version 1.99-11
> setparams 'Ubuntu, with Linux 2.6.38-11-generic-pae (on /dev/sda7)'
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos7)'
> search --no-floppy --fs-uuid --set=root 210e7d19-fd27-4e2e-82a6-6538\
> cdc38fe9
> linux /boot/vmlinuz-2.6.38-11-generic-pae root=UUID=210e7d19-fd27-4e\
> 2e-82a6-6538cdc38fe9 ro quiet splash vt.handoff=7
> initrd /boot/initrd.img-2.6.38-11-generic-pae

Given the grub version, it's your Wheezy install that's controlling boot.

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.

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?


Reply to: