LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-18-2006, 08:56 PM   #1
timmn
LQ Newbie
 
Registered: Jun 2006
Location: Near I-80 and I-57
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Question What's the difference between GRUB and LILO and why should I care?


When I decided I would like to learn Linux, I put together a computer from parts I had around the house. This computer will run Linux and only Linux until the day it quits working.

During the Slackware installation, one of the choices I was given was to boot with either GRUB or LILO. Taking into consideration everything above, what is the difference between GRUB and LILO, and why should I care?

Thanks,

Timm

P.S. If anyone is interested, the parts I had consisted of a Soyo SY-7VDA motherboard, a 1Gig Via C3 processor, 512 MB of memory, 80 Gig Maxtor harddrive, a Compaq nVidea RIVA TNT2 Model 64 video card, an old Compaq CD rom drive, 300W power supply, and an old Gateway tower case I found while dumpster-diving.
 
Old 06-18-2006, 09:10 PM   #2
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 370

Rep: Reputation: 72
From the IBM website: http://www-128.ibm.com/developerwork...-bootload.html

Quote:
all boot loaders work in a similar way to fulfill a common purpose. But LILO and GRUB do have a number of differences:

* LILO has no interactive command interface, whereas GRUB does.
* LILO does not support booting from a network, whereas GRUB does.
* LILO stores information regarding the location of the operating systems it can to load physically on the MBR. If you change your LILO config file, you have to rewrite the LILO stage one boot loader to the MBR. Compared with GRUB, this is a much more risky option since a misconfigured MBR could leave the system unbootable. With GRUB, if the configuration file is configured incorrectly, it will simply default to the GRUB command-line interface.
 
Old 06-18-2006, 09:13 PM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally Posted by timmn
During the Slackware installation, one of the choices I was given was to boot with either GRUB or LILO. Taking into consideration everything above, what is the difference between GRUB and LILO, and why should I care?
Not to be short with you, but this is something that you can easily find out for yourself with a simple web search. I or others could outline the differences but with something this simple why not just get the information firsthand? This way you will (1) know it is correct and unbiased, and (2) will probably find things that others might forget to mention.

As for the why you should care part, well that is beyond my intuition.
 
Old 06-18-2006, 09:14 PM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Well lilo has been around longer so I think people are more used to it. I personally still use lilo since it's simple and it works. I hear that one big plus to grub us that you don't have to install it (the boot image not the program) every time you install a new kernel. With lilo you have to type 'lilo' and update the boot loader.

regards,
...aaron

**edit**
you know you're a slow typer when two other people have allready responded before you hit submit

Last edited by drkstr; 06-18-2006 at 09:29 PM.
 
Old 06-18-2006, 09:22 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Mmm.. I've never seen Slackware asking me if I'd like to install GRUB (during install).
Anyway, they've they own pro and cons, just make some search and you will find them, basically, they do the same thing in different ways, but both works and you'll have people that like LILO and other that like GRUB.
I personally don't care, I just use LILO on my computer because it works for me, but I've installed GRUB on others.

Edit:
Quote:
you know you're a slow typer when two other people have allready responded before you hit submit
or you're slow thinking in a foreign language :P

Last edited by gbonvehi; 06-18-2006 at 09:23 PM.
 
Old 06-18-2006, 09:23 PM   #6
timmn
LQ Newbie
 
Registered: Jun 2006
Location: Near I-80 and I-57
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Maybe I just phrased the question wrong, if I am only going to boot Linux, does it make any difference which one I use? In my situation, is there any advantage using one over the other?
 
Old 06-18-2006, 09:29 PM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
It's just a matter of preference. They both acomplish the same thing.

...aaron
 
Old 06-18-2006, 09:29 PM   #8
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Quote:
Maybe I just phrased the question wrong, if I am only going to boot Linux, does it make any difference which one I use? In my situation, is there any advantage using one over the other?
To make it as simple as possible - its personal preference.

Each one will do what you want.
Read a little about each one, look at some screen shots, and make
a decision. you really shouldn't spend that much time at the boot
menu anyway.

good luck
-tw
 
Old 06-18-2006, 09:30 PM   #9
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 370

Rep: Reputation: 72
I prefer GRUB, but like to use the default bootloader that comes with any distro, so when I run Slackware, I use LILO.
 
Old 06-18-2006, 09:32 PM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Quote:
Originally Posted by timmn
Maybe I just phrased the question wrong, if I am only going to boot Linux, does it make any difference which one I use? In my situation, is there any advantage using one over the other?
No. Some people prefer lilo, others GRUB. At the end of the day, they both perform the same function, and considering Slack's stability, the number of times you'll actually need to reboot will be few and far between
 
Old 06-18-2006, 09:37 PM   #11
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
I use both. If I am on a single boot system that doesnt get updated(kernel) often (like slackware), I use lilo. Its easy to understand and setup.

If I need more complicated booting options or netboot, etc I use grub.

My two cents

Soule
 
Old 06-19-2006, 01:49 AM   #12
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,684

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
I'm only speaking for myself, but I find Lilo's configuration file to be MUCH simpler and easier to understand than Grub's.
 
Old 06-19-2006, 01:59 AM   #13
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
During the Slackware installation, one of the choices I was given was to boot with either GRUB or LILO.
i dont know whether slack is giving grub as a choise while installing. i hope no choise only lilo

since lilo is default and the only one in slak, i prefer lilo, but the problem i feel with lilo is, "every time i edit lilo, i have to run it, and if it is installed in mbr, mbr is over writen evry time"
 
Old 06-19-2006, 02:00 AM   #14
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
there is one difference that caused me trouble once:
I tried the XFS File System for the first time, and that
didn't work with GRUB. I did some research and discovered
that is a known problem. So I had to use LILO for the first time.
 
Old 06-19-2006, 03:19 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,755

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
About the XFS bug -it appears to have been resolved just after the release of grub-0.95 See here:
http://lists.alioth.debian.org/piper...ly/000380.html

Those who like to do 'interesting' things with GRUB should look around here:
http://distro.ibiblio.org/pub/linux/...ects/AFX-GRUB/
 
  


Reply

Tags
grub, lilo


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
difference between various linuxes at grub startup riseanranger Linux - Software 2 09-01-2004 05:31 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
Difference between LILO and Grub? sikandar Linux - Software 1 09-04-2003 11:02 AM


All times are GMT -5. The time now is 05:33 PM.

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