LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Switch Grub to use conf files on different partition (https://www.linuxquestions.org/questions/linux-general-1/switch-grub-to-use-conf-files-on-different-partition-636660/)

sadarax 04-20-2008 05:31 PM

(FIXED) Switch Grub to use conf files on different partition
 
I have two copies of Linux (MythBuntu) in a system.
One on /dev/sda1 and the other on /dev/sda2.
Grub is using the boot-files on /dev/sda2.
I want to switch Grub to use files on /dev/sda1.

I have tried using from the command line:
Quote:

grub
root (hd0,0)
setup (hd0,0)
quit
There were no errors, but nothing changed. I also tried:
Quote:

sudo grub-install /dev/sda1
But no change. I have read that Grub does not see the partitions.

Help please?

jay73 04-20-2008 05:34 PM

I think this

Quote:

setup (hd0,0)
needs to be

Quote:

setup (hd0)

sadarax 04-20-2008 05:42 PM

Quote:

Originally Posted by jay73 (Post 3127351)
I think this



needs to be

Thank you, that solved the problem.


All times are GMT -5. The time now is 01:02 AM.