Grub not properly installing.

Goh Lip g.lip at gmx.com
Sun Dec 27 17:08:23 UTC 2009


On 27/12/09 20:39, Dotan Cohen wrote:
> I am installing Karmic on a desktop with two root partitions for
> different distros. Currently Jaunty is in sdb1 and Karmic is in sdb2.
> The bios is configured to boot from sdb and when installing Karmic I
> confirmed in the Advanced tab that Grub will be installed to sdb.
> However, Grub remained unchanged when installing and there is no
> option for booting from sdb2.
>
> I figured that I would edit the grub menu in sdb1/boot/grub/menu.lst
> however there is a good chance that I will be testing other distros in
> sdb1 so I do not want to rely on it. I tried reinstalling Grub from a
> LiveCD with the following command but there was no change in
> behaviour:
> sudo grub-install --root-directory=/media/root /dev/sdb
>
> How does one configure Grub to use menu.lst from sdb2 instead of from sdb1?
>
Dotan, as Tommy pointed out, karmic does not use grub-legacy; 
grub-install at livecd does not transfer karmic *partition*s's grub to 
sdb1, it moves the livecd's grub, which is basically empty.

A workaround is to chainload your grub-legacy to that karmic partition's 
grub, (which is not exactly what you wanted), but will boot your karmic. 
 From there, try the sudo grub-install /dev/sdb

But, Dotan, not sure about your bios setting to boot from sdb instead of 
sda. Do you have any boot in sda?

Happy New Year.

Goh Lip





More information about the ubuntu-users mailing list