LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I boot up In Grub2 If It is using grub legacy now ? (http://www.linuxquestions.org/questions/linux-software-2/how-do-i-boot-up-in-grub2-if-it-is-using-grub-legacy-now-762973/)

obnascar 10-19-2009 12:08 PM

How do I boot up In Grub2 If It is using grub legacy now ?
 
I have Sidux installed on sda1 (hd0,1) and Parsix 3.0 on sdb1 (hd1,1).

Sidux uses grub legacy and Parsix Grub2. I had sidux installed but just recently added Parsix 3.0 and put grub2 on the root partition. Sidux grub is also installed on the root partition.

After I got done installing Parsix my computer still boots up using grub legacy from the sidux partition.

Is there a way to to get it to use grub2 from the Parsix partition ? I used to do this with the Grub Super Disk but I guess it does not recognize grub2. I have searched and read many-many doc's and articles on grub2 but have not found anything yet on what I am trying to accomplish.

Larry Webb 10-19-2009 12:25 PM

The only way I have read is by chainloading. By chainloading it should work either way.

obnascar 10-22-2009 01:08 PM

I was able to use a Grub2 boot loader menu on my computer instead of the grub legacy menu that I was booting up, it was easier than I thought.

First I booted into the partition that had Grub2 installed, then in a terminal:

Code:

# grub-install /dev/sd?

sd? would be the drive where I have grub2 installed. Then the next time I booted up l was seeing the Grub2 boot loader menu instead of the menu from my other Linux distro that was using grub legacy. This is what I was trying to accomplish.

To make all of my other Linux distros show up in my Grub2 boot loader menu, again I booted into the partition where my Grub2 was installed and then entered:

Code:

# os-prober
# update-grub2

When "update-grub2" is executed, Grub 2 will read /etc/default/grub and the files in contained in the /etc/grub.d folder. This combination will set the visual parameters of the grub menu (/etc/default/grub) and search for linux kernels, other operating systems, and items designated in user-created scripts in /etc/grub.d.

I rebooted and my new Grub2 boot loader menu showed all of my other Linux distros on this computer.


All times are GMT -5. The time now is 08:54 AM.