update-grub help
Goh Lip
g.lip at gmx.com
Wed May 26 13:06:03 UTC 2010
On 05/26/2010 07:40 PM, Dave Howorth wrote:
> I have a machine with karmic on it and karmic's grub2 is installed in
> the MBR.
>
> I installed openSUSE 11.2 to another partition and told it to put its
> legacy grub in the root partition. The opensuse system itself now runs
> OK and I'm trying to set up the boot arrangements.
>
> When I reboot, it picks up grub2 and boots into Ubuntu, which is fine
> and what I expected. So I now want to add the opensuse grub to the
> Ubuntu grub menu. My initial reading suggested that I should let the
> system do the work via update-grub. But when I run it, I see an error:
>
> # sudo update-grub
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.31-21-server
> Found initrd image: /boot/initrd.img-2.6.31-21-server
> Found linux image: /boot/vmlinuz-2.6.31-20-server
> Found initrd image: /boot/initrd.img-2.6.31-20-server
> Found linux image: /boot/vmlinuz-2.6.31-14-server
> Found initrd image: /boot/initrd.img-2.6.31-14-server
> Found memtest86+ image: /memtest86+.bin
> Found openSUSE 11.2 (x86_64) on /dev/sdf1
> grub-probe: error: Cannot find a GRUB drive for /dev/sdf1. Check your
> device.map.
>
> grub-probe: error: Cannot find a GRUB drive for /dev/sdf1. Check your
> device.map.
>
> done
>
> Does anybody have an idea what's wrong or got an alternative suggestion?
>
> Thanks, Dave
>
sudo grub-mkdevicemap
sudo update-grub
hope this helps
Regards - Goh Lip
More information about the ubuntu-users
mailing list