Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 08-29-2003, 03:20 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Question 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.
Grub is installed on the system.
This has me very confused.

Thanks for any help.

Old 08-29-2003, 03:53 PM   #2
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To install GRUB in the MBR on the primary master, type:
grub-install /dev/hda
You may need to make modifications to the GRUB configuration file (grub.conf).

Last edited by Mathieu; 08-29-2003 at 03:54 PM.
Old 09-10-2003, 06:09 AM   #3
LQ Newbie
Registered: Sep 2003
Location: Sweden
Distribution: MDK 9.1
Posts: 1

Rep: Reputation: 0
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.

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....

* 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?

Jan Bengtsson


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 10:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
switching grub from one hd to another... audibel Debian 6 03-26-2005 08:28 AM
Switching to LILO from Grub t-peters1975 Slackware 6 08-23-2004 02:05 PM
Switching to GRUB from LILO tjtoed Linux - Software 4 11-02-2003 12:57 AM

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration