Grub2 Question

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Grub2 Question

Postby JohnParr » Sun Jul 08, 2012 6:22 pm

Can any one explain what is going on with Grub2 on my laptop?

I have several OS's installed. Up until recenly I was running Ubuntu 11.04 and the Grub settings on that controlled the laptop boot process. I then installed Ubuntu 12.04 and that took over the boot configuration. That was fine because I wanted to replace the 11.04 OS with Kubuntu 12.04 which I did. As expected the Kubuntu install took over the boot configuration.

I figured that if I ran the update-grub process back in Ubuntu 12.04 then that would provide the boot configuration but that is not the case. update-grub completes normally in Ubuntu 12.04 but the settings from the Kubuntu installation remain in control.

I'd like the Ubuntu 12.04 installation to control the boot process. How can I achieve that?
JohnParr
 
Posts: 9
Joined: Fri May 18, 2012 1:33 pm

Postby ajgreeny » Sun Jul 08, 2012 7:37 pm

Boot to the system you want to use as the grub "supplier" Ubuntu 12.04, and run
Code: Select all
sudo grub-install /dev/sda
assuming sda is the boot device, which it will be if there is only one hard disk.

Your update-grub command just did that; it updated the grub menu in the OS where you ran it; it did not install grub from that OS to the MBR.
Xubuntu 12.04 user, and loving it!
ajgreeny
LXF regular
 
Posts: 459
Joined: Wed May 10, 2006 8:18 pm
Location: Oxfordshire.

Postby JohnParr » Sun Jul 08, 2012 8:15 pm

That's fixed it, thanks. (and I've learnt something too, thanks again)
JohnParr
 
Posts: 9
Joined: Fri May 18, 2012 1:33 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 3 guests