Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-02-2006, 05:30 PM   #1
Registered: Nov 2005
Location: USA
Distribution: Slackware Linux
Posts: 94

Rep: Reputation: 0
Installing Grub over LILO

Hey folks,

I installed Slackware 10.2 awhile back, but im getting tired of using lilo, I used to use Grub way back, it came as an option in the installation for gentoo during install. But slackware only allows lilo during installation, I downloaded the grub package from, but how do I go about installing grub I ran "installpkg grub-0.xx.tgz" it installed the package but lilo still starts at boot. Any help would be appreciated thanks.
Old 01-02-2006, 05:50 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,124

Rep: Reputation: 164Reputation: 164
I recommend that you don't uninstall lilo completely until you've got grub working. You can remove lilo from your boot record with:

/sbin/lilo -u
This will restore the old boot sector which means that Linux won't boot until you either re-run lilo or get grub working. However, at least you won't have to reinstall the package which you would if you removed lilo with (your version may be different):

removepkg lilo-22.5.9-i486-2
I can't help with grub - I ran it previously under Fedora C4 but never looked at what it was doing...
Old 01-02-2006, 06:49 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,630

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
I would think "grub-install /dev/hda" should work; maybe you'll need --root-directory, but probably not. See the doco on
Old 01-02-2006, 07:19 PM   #4
LQ Newbie
Registered: Nov 2004
Distribution: Arch Linux
Posts: 15

Rep: Reputation: 0
Normally you would just run:
and then from within grub:
root (hd0,0)
setup (hd0)
That is assuming that the partition you want to boot from is the grub equvalent to /dev/hda1. (aka /dev/hda1 = (hd0,0))

After that is done you will have to create a /boot/grub/menu.lst file.

Or you could have searched through this site and gotten THIS link which would help you.


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
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 12:09 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM
GRUB/LILO not installing... uranologist Red Hat 7 12-17-2003 09:16 AM

All times are GMT -5. The time now is 08:56 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