When installing ubuntu 9.10 karmic koala will grub2 work together with grub legacy

Goh Lip g.lip at gmx.com
Wed Nov 4 00:19:00 UTC 2009


bqz69 wrote:
>> If all is okay... take your time checking this out...then...
>>
>> sudo grub-mkconfig -o /boot/grub/grub.cfg
>>
>> to set to your grub.cfg.
> 
> I have:
> windows on sda1
> and
> 8.04 on sda2
> 
> Then I installed 9.10 on sda5 /boot, and sda6 / encrypted partition (sda5/6)
> and grub2 could see all 3.
> 
> Then I installed debian on sda7
> It could now see sda1,  sda2,  and sda7,  but not see sda5/6
> CORRECTION: I have removed the word "still" in above line - sorry
> 
> I tried my grub2 rescue cd, hoping to see also sda5/6, but it  could not.
> 
> Then I installed another 9.10 on sda8, hoping grub2 could see sda5/6, but it 
> could not, but it could see all the others.
> 
> I put grub/grub2 on MBR in all cases.
> 
> Any suggestions?
> 


I take it your last install is 9.10 on sda8 and its grub2 cfg is set to 
mbr and you can boot to it.

Do this then when booted to 9.10-sda8. At terminal

sudo grub-mkconfig

Can you see all of your OS including the 9.10 on sda5?

If yes, then do
sudo grub-mkconfig -o /boot/grub/grub.cfg

then
sudo grub-install /dev/sda



This will set your sda8 grub to mbr.

If, as I suspect you may want to do, use the sda5 grub, then boot to 
sda5/6 9.10 and repeat above.


Note: you've mention you've got the rescue cd, if this is from my 
earlier message on making iso from grub-mkrescue, yes? then you can 
easily do the following..

at sh:grub> prompt, type "ls" (without quote marks)
this will show all partitions
type "search -f /boot/grub/grub.cfg" and it will show partitions with 
grub.cfg.
type " search -f /boot/grub/menu.lst" and it will show partitions with 
menu.lst


to boot to grub.cfg partitions, type
configfile (hd0,x)/boot/grub/grub.cfg

to boot to menu.lst and windows, type
set root=(hd0,x)
chainloader +1
boot

regards,
goh lip

ps: I like your tenacity





More information about the ubuntu-users mailing list