LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: GRUB or LILO: which do you prefer
Grub 60 60.00%
Lilo 32 32.00%
No Pref 8 8.00%
Voters: 100. You may not vote on this poll

Reply
  Search this Thread
Old 08-04-2006, 03:46 PM   #1
mattd7591
Member
 
Registered: Jun 2006
Distribution: Debian Etch
Posts: 92

Rep: Reputation: 15
Lilo vs GRUB


Hi. Pclinuxos .93 full version is to be out very soon. I have found out that the new version allows you to choose between LILO and GRUB, while the version I have now .92 is only LILO.
I will be formatting the partitions (proabably repartioning too)
Back on topic, what are the differences between GRUB and LILO, what PRO's and CON's, and in you ropinion why is it better.
Please note I have two HD's, the one it boots to has windows on it and is a SATA, the one with Linux is IDE. I will be installing the bootloader to the SATA if it makes any difference. Thank you
 
Old 08-04-2006, 03:54 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
here's an article from IBM about LILO and GRUB http://www-128.ibm.com/developerwork...-bootload.html, though it may be a little biased toward GRUB
 
Old 08-04-2006, 04:00 PM   #3
mattd7591
Member
 
Registered: Jun 2006
Distribution: Debian Etch
Posts: 92

Original Poster
Rep: Reputation: 15
OK. So from that article it apears Grub has some Command Line Interface.
Ill see what other people say.
 
Old 08-04-2006, 04:53 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
GRUB does everything I need. Every time I install another OS, I simply edit the GRUB config file and everything works. I would have no motivation to even try LILO.
The GRUB manual describes LILO as "the Linux bootloader that everyone uses, and noone likes". (I don't dislike it--I just don't use it.... )
 
Old 08-04-2006, 04:56 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
It's all personal choice. I don't really think one is better than the other, they just approach things slightly differently. With Grub you just edit the config file and you're done. With Lilo you edit the config file and then run the lilo command.

The thing I like about lilo is that when you run the command it'll let you know if something wrong (usually), where with Grub you won't know until you try to boot and it won't work.

Six of one, half a dozen of the other.
 
Old 08-04-2006, 05:11 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
When configuring any bootloader its good to first put in soft links to the kernel and the initrd file---eg:
ln -s vmlinuz-xyz-34.0.1-67cv23_suse_zzz vmlinuz

Then in the config file, all you have to do is type in "vmlinuz". Makes it easier to keep track of what you are doing.
 
Old 08-04-2006, 05:15 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
LiLO is the oldest; GrUB is another one that came along to try and
add a different flavor to something that works already.

As masonm said, when you install LiLO it tells you if everything's okay;
and if not, it tells you what is wrong. No need to experience a failure
to reboot and have to get out the boot CD.

Also, LiLO uses device names, so you know what your drive names
are and where they're located. With GrUB you need to know what
8,3 and such designate. With LiLO it's /dev/sda1 or whatever --
much more intuitive, and LiLO Just Works (TM). It's so simple
and efficient.
 
Old 08-04-2006, 06:37 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Choosing either bootloader is a matter of preference, but for multibooting multiple OSes, i think GRUB is a better option than LILO. The reason why GRUB uses different terminology for hard disks when compared to most Linux tools is because it supports other OSes e.g. Solaris, FreeBSD etc that do not use Linux terminology when referring to hard disks.
 
Old 08-05-2006, 03:51 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by reddazz
Choosing either bootloader is a matter of preference, but for multibooting multiple OSes, i think GRUB is a better option than LILO. The reason why GRUB uses different terminology for hard disks when compared to most Linux tools is because it supports other OSes e.g. Solaris, FreeBSD etc that do not use Linux terminology when referring to hard disks.
lilo does support other os's, just not their terminology.
You can boot just about anything w/lilo, or with grub.

It's all just a matter of personal taste.

Notice I don't say what I use.

But, if you look at the posters and the distro they use, have you noticed the more 'hardcore' cli type distro users (Slackware for example) seem to prefer lilo, and the 'handholding' GUI style distro users (Fedora for example, and no disrespect intended, nor is it a flame. Just a observation of 'styles' of distros. Fedora by default gives you a GUI, Slackware the cli.)) prefer grub? Purely an observation, but may come from comfort with digging into the guts of the os, and staying on the cli for systemwide configurations.

Just an observation...
 
Old 08-05-2006, 06:23 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
lilo does support other os's, just not their terminology
My semantics were wrong here. I meant to say you can install grub on non linux OSes. This requires grub not to use linux terminology when referring to hard disks.
 
Old 08-05-2006, 06:54 PM   #11
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Ah, ok. Makes a world of difference. Understandable now
 
Old 08-05-2006, 07:02 PM   #12
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Anyone you alow to use Grub on your computer can boot Linux into single user mode (root) and then that person can do anything he or she wants to with your computer. Grub is not used on the computers at school in the Computer Information Systems building. There is a good reason for it.
 
Old 08-05-2006, 07:12 PM   #13
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
What, and not w/lilo? At the lilo boot screen, highlight your os of choice, type a space then single or init 1
 
Old 08-05-2006, 07:13 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
But with LiLO you'll have to give password. Don't know about GrUB.

Last edited by Bruce Hill; 08-05-2006 at 08:00 PM.
 
Old 08-05-2006, 07:39 PM   #15
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Either will boot your system. Either will support multi-boot. I think grub is more flexible and it is what I use.
 
  


Reply



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 On
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
#lilo -u to remove lilo.....what for grub ??? b0nd Linux - General 1 05-27-2006 04:09 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
grub/lilo spidna Slackware 2 09-14-2004 11:48 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration