LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-22-2005, 09:55 AM   #1
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
Why does Slackware use LILO?


Hey there,

Just wondering if there was any special reason as to why Slackware still uses Lilo?

In any case, I found GRUB on the /extras, is there an option to install GRUB instead of lilo on the install?

Thanks for reading.
 
Old 12-22-2005, 10:01 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I would imagine it's because Pat likes LILO. You will need to remove LILO to install GRUB. Have a boot floppy ready!
 
Old 12-22-2005, 10:17 AM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I still use LILO by choice myself. I have no need for any of the features of GRUB and when I started with Linux, I used LILO, so I've just stuck with it. Likewise, many see Pat as old school, and that could explain his attraction to the simplicity of the time-tested LILO.
 
Old 12-22-2005, 12:23 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Lilo is just as feature rich as grub, so many people still like it. The only thing I dislike is having to run /sbin/lilo each time I change the config file or upgrade a kernel.
 
Old 12-22-2005, 02:03 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Lilo is just as feature rich as grub, so many people still like it.
GRUB is just as feature rich as lilo, so many people still like it.

Actually, IIRC, I migrated to GRUB rather quickly several years ago when I realized at that time (I don't know if this still applies to more recent versions) that LILO limits the length of the menu strings. With GRUB I could create longer non-cryptic human readable descriptions for my menu options. Additionally, I did not have to re-run LILO every time I modified my menu, which many people tend to forget.

Quote:
The only thing I dislike is having to run /sbin/lilo each time I change the config file or upgrade a kernel.
Thankfully, with GRUB none of this is necessary.

Quote:
I found GRUB on the /extras, is there an option to install GRUB instead of lilo on the install?
No, sadly, installing GRUB is another manual exercise. Fortunately, installing is a straightforward process.

1. cd /extras
2. installpkg grub*.tgz
3. grub-install /dev/hda
4. edit /boot/grub/menu.lst as necessary


This will install GRUB to the hard drive's MBR. If you are multi-booting with a Windows OS, then be sure to add a menu option so GRUB will pass (chainload) the boot sequence to the Windows boot loader.

Do not reboot until after editing menu.lst.

To create an emergency GRUB boot floppy (handy once every blue moon):

grub-install /dev/fd0

Notes: 1) grub-install is one "word" 2) the "lst" extension in menu.lst uses an alphabetic ell, not a numeric one.

Here is part of my menu.lst:

timeout 3
#color black/cyan yellow/cyan
color light-gray/blue black/light-gray
i18n (hd0,12)/grub/messages
keytable (hd0,12)/us.klt
altconfigfile (hd0,12)/grub/menu.once
#password SOME_PASSWORD
default 0

title NT4-Primary
root (hd0,1)
chainloader +1

title Slackware 10.1 - 2.4.28 - KDE 3.3.2
kernel (hd0,12)/vmlinuz-ide-2.4.28 root=/dev/hda23 ro hdc=ide-scsi vga=3 ide2=noprobe quiet

title Slackware 10.1 - 2.4.28 - Init 3
kernel (hd0,12)/vmlinuz-ide-2.4.28 root=/dev/hda23 ro init 3 hdc=ide-scsi vga=3 ide2=noprobe quiet

title Floppy
root (fd0)
chainloader +1


That last entry is kind of handy too because I can disable floppy booting in the BIOS and still boot from floppy using GRUB.

Lastly, bear in mind that GRUB counts everything starting with zero. Thus, (hd0,1) points to the first hard drive (/dev/hda) and the second partition; (hd0,12) points to /dev/hda, 13th partition.

I hope this helps.
 
Old 12-22-2005, 02:16 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Grub's insistence on using a different naming scheme is quite annoying, IMHO. Especially in a mixed PATA/SATA environment. Admittedly, the longer names for boot options would be a nice feature.
 
Old 12-22-2005, 04:19 PM   #7
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Cool, thanks for the replies everyone, especially Woodsman--that's great

Quote:
Lilo is just as feature rich as grub, so many people still like it. The only thing I dislike is having to run /sbin/lilo each time I change the config file or upgrade a kernel.
Therein lies the problem. My kernel got corrupted, and I could flip back to the backup kernel because I couldn't chroot /sbin/lilo.
 
Old 12-22-2005, 07:14 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Chroot /sbin/lilo? You should chroot /mnt/rootpartition and then just run /sbin/lilo. Or even 'chroot /mnt/rootpartition /sbin/lilo'. Obviously, /mnt/rootpartition should be where you have mounted your root partition.
 
Old 12-23-2005, 12:09 AM   #9
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
I like Lilo, although I also get annoyed with the naming limitations.
I have played around with making a bootsplash for it, which is not very complicated - I like that. It can become very nice to look at with very little hassle.
 
Old 12-23-2005, 02:03 PM   #10
Stang_Man
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10.2, RHEL4 AS
Posts: 29

Rep: Reputation: 15
I've found no problems with Lilo. Simple, and it works.
 
Old 12-23-2005, 04:02 PM   #11
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Wink Lilo

I like LILO. So far I don't have any reasons to stop using it. I'm happy with it.

I even made custom bootsplashs, one with a Toshiba logo and another one with my family's escudo de armas. It's great!

 
Old 12-23-2005, 06:36 PM   #12
Talavis
LQ Newbie
 
Registered: May 2005
Location: Stockholm, Sweden
Distribution: Slackware-current
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by Woodsman
1. cd /extras
2. installpkg grub*.tgz
3. grub-install /dev/hda
4. edit /boot/grub/menu.lst as necessary
Myself, I think it's much easier to simply remove the lilo package, install the grub one from /extras and then run grubconfig, which is just like the installer that was used for lilo during the install, but for grub instead. It found all my disks (Slack, FreeBSD, Ubuntu and Windoze).
 
  


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
Lilo and slackware 10.2 millz Slackware 10 10-12-2005 04:04 PM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
slackware lilo help Bilot Linux - Newbie 5 04-01-2005 06:22 AM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Slackware 8.1 and Lilo TheMad Slackware 12 03-10-2003 01:00 PM

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

All times are GMT -5. The time now is 05:24 AM.

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