PDA

View Full Version : [other] [SOLVED] mythbuntu hijacked grub, how do i switch it back?



ahumin
November 21st, 2008, 10:45 AM
i know there are a lot of similar issues out there but i've searched and cannot find the relevant info. the cause was me trying out different linux OSes to find a decent open source alternative to dell's windows-xp-based mediadirect 3.5.

i am trying out mythbuntu but it has hijacked grub (even though i told the installer not to install a boot loader). grub is now using the /boot/grub/menu.lst on sda3 but i want it to keep using the one on sda1 because i will eventually set the second OS to boot using the mediadirect button on the laptop.

how do i make grub use the menu.lst on sda1?

caljohnsmith
November 21st, 2008, 03:34 PM
Fortunately, what you want to do should be easy, just do the following in a terminal:

sudo grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
And then Grub in the MBR will use the sda1 partition for its boot files, including menu.lst. Let me know how it goes. :)

ahumin
November 22nd, 2008, 03:52 PM
perfect, that fixed it. i never would have guessed that from the grub man page and clearly i was not googling for the right words.