Slashdot Mirror


Why Do Most Linux Distributions Use LiLo?

sPaKr asks: "Why do we still use LiLo? I have recently installed FreeBSD, and and the boot loader that comes with latest release seems very powerful: it allows me to navigate the disk, preload kernels and modules at boot time and if I make kernel changes but forget to make changes to the loader configuration file I can still boot into a stable system (even though this can be fixed by having a handy boot disk aka tomsrtbt). I have conducted a quick search and find that there are several replacement loaders for Linux, (ie. grub, uniload). Why is it that most distributions ship with LiLo when we can find stable and more feature-rich replacments?"

13 of 32 comments (clear)

  1. XOSL by Anonymous Coward · · Score: 2

    Personally, I love XOSL. It's a graphical bootloader with resolutions up to 1600x1200 - and can boot most file systems (it can't do reiser - Or it couldn't when I last tried it but has no problems on Ext2 etc...). You can put passwords on partitions, and I like that one can boot off floppy.

    1. Re:XOSL by CritterNYC · · Score: 3

      I've used XOSL for about a year now and had very good results. I'm currently using it for a quad boot. You can install it to its own partition, or have it stuff its information on a FAT or FAT32 volume.

      The site says that XOSL supports BeOS, MS-DOS, FreeDOS, Linux (with Lilo), Solaris, VxWorks 5.x, Windows 95/98 and Windows NT/2000. So far, I've used it with Win95, Win98SE, WinNT, Win2K, BeOS and Red Hat Linux with no problems.

      And don't forget, it is GPLed. Take a look at it when you get a chance. At least check out the screen shots.

  2. my experiences with grub by jcurbo · · Score: 5

    I mastered lilo early in my linux-using days. However, recently I looked at grub on my debian-unstable box and found it to be highly superior to lilo.

    1) grub can look inside filesystems (much like the freebsd loader you talked about, of which I have no experience with)

    2) grub gives you a command line: almost a shell, with tab-completion of filenames and devices, and a featureful list of operations you can perform, many of which I have not learned yet

    3) grub has a built in menu system to boot from: it is quite easy to set up a boot menu with grub, even with colors (ooh)

    4) grub, as of the last time I checked (recently), could see inside fat, ext2, and ffs. I'm sure support for more is on the way.

    5) grub is an official part of the GNU Project.. now we know it can't get better than that! ;)

    One of my favorite things to do with grub is make a boot disk with it (directions in the documentation) Thus you can pop a disk in and boot any OS on the computer, boot sector or no..

    I wish that Debian would change to grub as the default bootloader. I haven't touched lilo since I started using grub. Mandrake installs grub by default (as of 7.0 I believe.. I only watched a friend installing it). I'm not aware of any other distro using grub.

    booting linux using grub:
    (at the grub command line, assuming your kernel is on /dev/hda1 in /boot/vmlinuz)

    # kernel (hd0,0)/boot/vmlinuz
    # boot

    grub is the way to world peace. All other bootloaders are only mild attempts to be like grub! grub IS THE STANDARD BOOT LOADER! THE STANDARD! (ref. 'ed is the standard text editor')

    1. Re:my experiences with grub by netllama · · Score: 2

      Caldera eDesktop 2.4 comes standard with GRUB, although LILO is still an available option for old skoolers.

  3. GRUB is still alpha software ... by Lupulack · · Score: 3

    According to gnu.org, grub is still alpha quality software, not recommended for production systems.


    Wasn't RedHat recently raked over the coals for including alpha-quality software in it's distribution? To my mind at least, this isn't much different.


    As for the others, I'm gonna check out XOSL ... not that lilo isn't working for me, but I've just gotta play with stuff until it breaks ...

    --
    The fact that no one understands you doesn't mean you're an artist.
  4. from one grub user to another... by fsck! · · Score: 2

    the only thing lilo handles better than grub is software raid partitions. as it stands, grub can't boot those. when that feature is in place, we should see more distros (at least debian from what i hear) using grub by default.

    --

  5. LiLo does suck. by Sarcasmo · · Score: 2

    I understand what you mean. I have to use a boot disk for LiLo (sharing drive with Win2000) and it's slooooowww. If I were able to pick and choose kernel modules at startup via floppy...then I think I'd be ok.
    --

  6. simplicity and hands on by EEE · · Score: 2

    Lilo is the ultimate in simplicity. Ideally you do not want a graphical boot loader that may or may not tell what is wrong in the event of a problem with your mbr. I edit /etc/lilo.conf point it off to as many kernel and root volumes as I desire and also without the worry of what to do if I want to boot another distro or os. Also if something goes wrong its easy to pop in a boot disk edit lilo.conf, update the boot loader and restart. It isn't nearly that easy in sun's x86 bootloader, freebsd or windows. Just because it isn't as visually stimulating doesn't mean it isn't as robust. Bells and whistles don't count for squat.

  7. Re:MILO by Xenophon+Fenderson, · · Score: 2

    MILO is Alpha-specific firmware that supports only Linux, and only on certain models of the Alpha. The least inaccurate analogy would be to compare MILO to the PC ROM BIOS. While MILO's shell would be a convenience, most of its guts (e.g. the PALcode and the boot-loader proper) would have to be written from scratch to make it work on PCs. With that much effort, it's probably a better idea to work on improving GRUB or the Flux OSKit, etc.


    Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
    --
    I'm proud of my Northern Tibetian Heritage
  8. Who Reboots Often Enough to Care? by InitZero · · Score: 4

    I'm serious.

    LiLo executes once every 50 to 180 days for me. It ain't pretty but who cares? It's there, it works and I never have to touch it. It has been in production on some of my systems for nearly three years.

    If I was installing a new system and I knew someone who had orgasimed over something other than LiLo, I might look at it. But probably not. LiLo works.

    Something that works beats something that is cool nine times out of ten.

    InitZero

    1. Re:Who Reboots Often Enough to Care? by Stephen · · Score: 2

      People with laptops.
      People with >= 2 operating systems.

      --
      11.00100100001111110110101010001000100001011010001 1000010001101001100010011
  9. Re:Why is Grub better? by gregor_b_dramkin · · Score: 2

    LILO hasn't had the 1024 cyl limit for the better part of a year now.

    --
    You can never equivocate too much.
  10. I can drive a car with my feet. by sPaKr · · Score: 2

    To quote Chris Rock " You can drive a car with your feet, it doesnt mean its to be done". Sure Lilo Works, but my biggest drawback is that you must have the choosen before you boot. Lets say You have only one machine ( yes some people are poor ) and its older, so the floopy drive is terriably unreilable (most are). So you download the latest and greatest kernel, compile it and copy it to /boot, well then you do something stupid and remove your old kernel option, and Replace it with the new kernel. And lets say You having a very bad day and you compile the kernel lets say without ATA/IDE support. Now You reboot, try and load the new kenrel, oops no root disk. Your screwed. Well whipout your boot floopy, wait this floppy hasnt been used in 18months, blowing the dust of it, hoping for the best, Ooopy is dead. So now I have this boot loader, and if I coud ONLY point it to a kernel at boot instead of before boot, then everything would be cool, Becouse my old kernel is sitting on the HD, ready to bring the system back to life but There isnt a lilo option for it. In freebsd, I never have to worry about needing a boot disk, the loader will load any kernel on the file system. This is a bigger problem your using a machine that doesnt other devices to boot from then a HD, Such as some laptops or smaller devices.