Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: GRUB or LILO: which do you prefer
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
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.... )
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.
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.
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.
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.
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.
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.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.