LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2011, 09:33 PM   #16
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928

Quote:
Originally Posted by sundialsvcs View Post
... grub vs lilo ... It (grub) doesn't have the problem of requiring you to execute a magic command before shutting-down the system in order to be assured of being able to start it up again.
Ummm ... I think you're confusing a feature w/ a requirement.

Lilo ALLOWS you to decide before a reboot which OS/kernel to boot next
time around, w/o making it the default. So all that does is to skip the
boot loader menu on the next boot, and e.g., come up with the "brand-
spanking new wizzbang whirlygig kernel" you just compiled. If that
panics, all you need to do is reset/power-off and on the next boot
you're back to the last known-good kernel....


I don't HAVE to run any commands before a shutdown/reboot.



Cheers,
Tink
 
1 members found this post helpful.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-19-2011, 11:54 PM   #17
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
There is one massive advantage in lilo in my opinion; it fits completely in the MBR. No need for files elsewhere on the system that might prevent your system from loading the bootloader completely in case of corruption.

I'm too lazy to figure out how to modify my systems, else all of them would have lilo. So I live with both.

Quite sure that people can also come up with advantages for grub though
 
1 members found this post helpful.
Old 05-21-2011, 05:58 AM   #18
kienlarsen
Member
 
Registered: Apr 2011
Posts: 76

Original Poster
Rep: Reputation: 0
It's interesting, I didn't know that Lilo fits into MBR. BTW, can't I install one bootloader over another?
 
Old 05-21-2011, 06:16 AM   #19
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by Wim Sturkenboom View Post
There is one massive advantage in lilo in my opinion; it fits completely in the MBR.
Rubbish.
 
1 members found this post helpful.
Old 05-21-2011, 08:26 AM   #20
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by syg00 View Post
Rubbish.
Doesn't it completely fit in the MBR? Or isn't it an advantage?
 
Old 05-21-2011, 08:37 AM   #21
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
It doesn't fit in the MBR - and never has that I'm aware of.
lilo maintains a block list to locate the config file - which is (used to be) in the sector(s) following the MBR. This is the reason you have to keep running the lilo command - and why it pissed me off so much.
grub2 has a similar requirement as it happens.
 
1 members found this post helpful.
Old 05-21-2011, 09:32 AM   #22
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
lilo certainly maintains a map file, which is why you have to run /sbin/lilo whenever you make a change that affects the kernel image but my understanding is that the map file is kept in /boot/map and when you run /sbin/lilo that file is updated to reflect the disks sectors that hold the kernel image and only the sector number holding the map file itself is stored in the mbr when you run /sbin/lilo. To the best of my knowledge lilo doesn't use any additional space in the first track of the disk outside of sector 0.
(this is to the best of my understanding, if anyone knows any different, then please say so).

I know grub2 makes use of the additional space in the first track and that there was recently an issue with it clashing with some HP Windows sysadmin/security tool that also decided to put it's data in the same location, causing a corruption. Putting vital data into unallocated space and hoping nothing else overwrites it seems to be a mind numbingly dumb thing to do IMO, which is why it'll be a cold day in hell before I ever go near grub2.

A lot of people prefer grub specifically because it resolves the kernel location at boot time, rather than requiring a pre-boot command to be issued, but personally I prefer the lilo way. It kind of feels like a "commit" to me.

Both grub and lilo approaches have advantages and disadvantages. Which you prefer is down to personal preference. Unlike grub2, I don't have any particular bone to pick with the original grub, I just prefer lilo.
 
1 members found this post helpful.
Old 05-21-2011, 12:46 PM   #23
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
As far as I know, you can delete your full linux install in a windows/linux dual boot scenario and lilo will still work and allow you to boot into Windows.
 
1 members found this post helpful.
Old 05-21-2011, 08:00 PM   #24
kienlarsen
Member
 
Registered: Apr 2011
Posts: 76

Original Poster
Rep: Reputation: 0
WOW, that's a lot! Thanks!
 
  


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
grub boot loader to lilo guruvayur LinuxQuestions.org Member Intro 1 09-24-2008 05:45 AM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM
Can't change boot loader from GRUB to LILO ikeTightPants Linux - Software 3 05-21-2004 09:30 AM
Lilo to Grub Boot loader Maurice Arthur Linux - Software 3 07-23-2001 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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