LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-02-2006, 04:30 PM   #1
arpanetguru
Member
 
Registered: Nov 2005
Location: USA
Distribution: Slackware
Posts: 80

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 linuxpackages.net, 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, 04:50 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

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

Code:
/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):

Code:
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, 05:49 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,229

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

Rep: Reputation: 0
Normally you would just run:
Code:
grub
and then from within grub:
Code:
root (hd0,0)
setup (hd0)
quit
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.
 
  


Reply


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 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
GRUB/LILO not installing... uranologist Red Hat 7 12-17-2003 08:16 AM


All times are GMT -5. The time now is 11:20 AM.

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