LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-30-2011, 10:56 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Lilo or Grub?


Hi guys, i finally got Slackware 13.37 last night and will be installing it on my laptop either tonight or tomorrow. I've been listening a lot to Chess Griffins two podcast about Slackware. I've barely used linux, just a little Ubuntu and OpenSuse, During this time, i did little editing to the Grub file which just involved me copying and pasting stuff from a step by step tutorial. I don't know the differences between the two boot loaders besides the name, i was wondering if their's any advantage to going with one over the other.

Thanks again guys
 
Old 05-30-2011, 11:08 PM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
The advantage with Lilo is... it is the default boot loader for Slackware. I would stick with Lilo for that reason alone.
 
Old 05-30-2011, 11:26 PM   #3
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by Knightron View Post
Hi guys, i finally got Slackware 13.37 last night and will be installing it on my laptop either tonight or tomorrow. I've been listening a lot to Chess Griffins two podcast about Slackware. I've barely used linux, just a little Ubuntu and OpenSuse, During this time, i did little editing to the Grub file which just involved me copying and pasting stuff from a step by step tutorial. I don't know the differences between the two boot loaders besides the name, i was wondering if their's any advantage to going with one over the other.

Thanks again guys
Advantages to LILO
  • Easy to add a boot screen
  • Slackware setup can install automatically

Disadvantages to LILO
  • Changes boot block on every configuration change
  • May not install on some fake RAID
  • Configuration update needed for kernel change

Advantages to GRUB 0.97 (legacy)
  • Can install using "native" BIOS only boot floppy or CD
  • Works with Fake RAID or other BIOS dependent installation
  • Boot block not altered on configuration changes
  • No configuration update needed for kernel change

Disadvantages to GRUB 0.97 (legacy)
  • Difficult to add a boot screen
  • Not automatically installed by Slackware setup

GRUB 2 (not the legacy version) is more complicated than GRUB legacy and also suffers from some of the limitations of LILO. However, GRUB 2 supports some additional features that may be needed on some hardware.

I use GRUB legacy for two reasons. First, I have a Fake RAID controller and have not been able to make LILO install properly. Second, I copied my Linux partition boot sector into a file to chain from Windows. With LILO I would have to update that file after every configuration change. With GRUB I only have to copy the file when I change my partitioning on the disk. I also like the fact that I don't have to change the GRUB menu or do anything after a kernel update. As long as "vmlinuz" is a soft link to the kernel, or I keep the file name the same it will boot. I have links like "vmlinuz-old" and "vmlinuz-known" for alternate kernel versions, and then I just change the soft links as needed. My boot menu has the previous (old) version and a known good version along with the normal kernel.

For Slackware I recommend using LILO unless there is some reason why you can't. If you want to have the Windows boot loader start first, then use GRUB to avoid updating the boot sector file frequently. Only use GRUB 2 if you need it to support something unusual.
 
Old 05-30-2011, 11:27 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
The advantage to grub is that you don't have to re-run lilo every time your kernel changes. You can edit the grub boot config files to fix anything that you screw up and successfully boot so that you can fix your grub boot config files. If your setup is such that you can't simply boot using the installation CD, then that's pretty important.
 
Old 05-31-2011, 06:14 AM   #5
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
I'll just add to the above that if you are using slackware64, do some research before thinking about grub. It doesn't play nice. I hear grub2 is a little better.

I've never found a need for grub... guess I've never needed / wanted a "fake raid"
 
Old 05-31-2011, 06:16 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
If lilo's good enough for Slackware, it's good enough for me.
 
Old 05-31-2011, 06:25 AM   #7
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
There is also syslinux (extlinux) which has none of lilo's or grub's disadvantages.
Its only disadvantages are that it supports only ext* and btrfs, and that you'll have to configure it yourself. Its the best of both worlds.
 
Old 05-31-2011, 06:31 AM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
For me it is a simple decision. The lilo boot loader has never failed me. PV likes lilo and I trust his judgement.
 
Old 05-31-2011, 06:58 AM   #9
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
If you are installing Slackware then the "setup" program will do the LILO configuration for you.
 
Old 05-31-2011, 07:14 AM   #10
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
Quote:
Originally Posted by sahko View Post
There is also syslinux (extlinux) which has none of lilo's or grub's disadvantages.
Its only disadvantages are that it supports only ext* and btrfs, and that you'll have to configure it yourself. Its the best of both worlds.
and it supports GPT!
 
Old 05-31-2011, 07:20 AM   #11
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
i use burg currently. its just like grub2 except you can make themes for it.
 
Old 05-31-2011, 11:49 AM   #12
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by WhiteWolf1776 View Post
I'll just add to the above that if you are using slackware64, do some research before thinking about grub. It doesn't play nice. I hear grub2 is a little better.

I've never found a need for grub... guess I've never needed / wanted a "fake raid"
I'm using GRUB (legacy) with Slackware 64-bit. The only "not playing nice" issue is that I have to install the multilib packages to run or compile the 32-bit GRUB package. Of course, one does not have to actually "run" GRUB in Linux to install it. That's one thing that I like about GRUB legacy.
 
Old 05-31-2011, 02:36 PM   #13
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
Erik, it's also possible to build grub (0.97) statically on Slackware64 using CFLAGS="-static". That way you don't need the multilib packages.

Edit: No, that's not right. You still have to build it on 32-bit Linux. But I'm using it in Slackware64 without multilib packages.

Last edited by Speek; 05-31-2011 at 02:50 PM.
 
Old 05-31-2011, 03:54 PM   #14
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
There is nothing "right" or "wrong" with either boot loader. The distinction is what each user wants or needs.

Long ago I started using GRUB 0.97 for three reasons.

1. Lilo has a 15 character limitation in titles. On a system with only one operating system that likely is not a problem. With multi-boot systems, or with multiple kernels for one system in testing, that limitation is mildly frustrating. Kind of like the old 8.3 naming convention.

2. I can add multiple kernel versions for testing and not worry about the original settings.

3. To me GRUB seems more palatable for multi-boot systems. Additional systems can be installed to alternate partitions without touching the original boot options. That is, after installing a new system the user can still boot into the original system without changing anything. I do all of my testing these days in a virtual machine, but when I started tinkering with distros many years ago that was not an option for me and GRUB made more sense for what I was doing.

I keep using GRUB nowadays out of habit.
 
Old 05-31-2011, 05:18 PM   #15
afreitascs
Member
 
Registered: Aug 2004
Distribution: Debian
Posts: 443

Rep: Reputation: 30
Building on the topic, the question remains of why Slackware, grub is not included as an option during installation, in addition to lilo?

I hope to understand from what I wrote :-)

Saying that lilo is default Slackware does not make sense

Last edited by afreitascs; 05-31-2011 at 05:20 PM.
 
  


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 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
[SOLVED] Before Install: Slackware over Ubuntu (Grub to LILO), Dual w/Vista: LILO question Ubunoob001 Slackware - Installation 3 03-01-2010 03:01 PM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
grub overwrote lilo multiboot, missing one boot in Grub rl23455 Linux - Newbie 1 12-09-2007 01:50 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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