LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Switching from LILO to GRUB (http://www.linuxquestions.org/questions/mandriva-30/switching-from-lilo-to-grub-87052/)

magnusprime 08-29-2003 02:20 PM

Switching from LILO to GRUB
 
I am using Mandrake 9.1, and I installed using LILO as the bootloader instead of grub.
I had used grub on RH9, and I liked it, and I would like to go back to it.
In the Mandrake Control Center, it allows you to change your bootloader, but everytime I go in there and change it to GRUB, it still says that I am using LILO.
HOW DO I MAKE THE SWITCH PERMANANT!
Grub is installed on the system.
This has me very confused.

Thanks for any help.

-magnus

Mathieu 08-29-2003 02:53 PM

To install GRUB in the MBR on the primary master, type:
Code:

grub-install /dev/hda
You may need to make modifications to the GRUB configuration file (grub.conf).

jabe05 09-10-2003 05:09 AM

Same problem....
 
Mandrake Linux 9.1 - Changing bootloader from lilo to grub;

This is a remark from an almost complete newbie to Linux. I have tried to find information related to this issue on different forums, but haven't found anything yet that explains the problem.

Background:
I installed MDK 9.1 on my Intel PIII computer two months ago, the installation process went very smoothly and everything has been working nicely since then.

I have two hard discs, the booting device (hda) containing Windows XP on one partition and Linux on another partition. The other disc (hdb) contains Windows 98.
With the default bootloader - being lilo - I had the options to boot either of Linux, WinXP or Win98, with WinXP as default. No problems with that whatsoever.

Now to the issue; I decided to replace lilo with grub by running drakboot from within the Mandrake Control Center. After changing from lilo to grub in the list and pressing "OK" I was asked to put the Mandrake Install CD no.1 in the CD-ROM drive, and after that something was installed from the CD, guess it was the grub bootloader....

But,
* When entering drakboot again, lilo was still marked as the default boot loader
* Repeating the change from lilo to grub as described above, this time I was not asked for the install CD, but nothing seemed to happen, no confirmation whatsoever that grub was now the default bootloader
* So, I quit the control center and rebooted my machine. What happens now is that lilo is still the bootloader but it does not any longer give me the option to decide what os to load, it immediately starts to load WinXP (the default option). As a consequence, Linux is no longer available.

The solution was to reboot the system with the Install CD and choosing the upgrade option, this time picking grub as default bootloader during the upgrade process.

After reboot, now lilo was replaced by grub as bootloader and everything works nicely again.

I'm just curious to know what happened, why didn't the change in drakboot have any effect? Is it a known bug in MDK 9.1 or was it just some newbie mistake by me?

Cheers!
Jan Bengtsson
Sweden


All times are GMT -5. The time now is 03:06 PM.