Slashdot Mirror


The Boot Loader Showdown

An anonymous reader writes "What utility do practically all Linux users use, regardless of their job or expertise? A boot loader. In this article from IBM, see how a boot loader works, meet two popular loaders -- LILO (LInux LOader) and GNU GRUB (GRand Unified Boot loader) -- and review the pros and cons of each." From the article: "Most simply, a boot loader loads the operating system. When your machine loads its operating system, the BIOS reads the first 512 bytes of your bootable media (which is known as the master boot record, or MBR). You can store the boot record of only one operating system in a single MBR, so a problem becomes apparent when you require multiple operating systems. Hence the need for more flexible boot loaders.""

281 comments

  1. GRUB! by Anonymous Coward · · Score: 0

    GRUB all the way baby. It would be useful if the GRUB shell had some basic scripting E.g. user input, if-then, simple variables. The fact that you don't need to remember to re-install your boot loader every time you change the slightest thing is a major bonus though.

    Oh and you know what? All the XOSL fanboys are going to start whining that it wasn't included. Go on, just watch.

    1. Re:GRUB! by Lumpy · · Score: 2, Informative

      GRUB SUCKS!

      Until they support USB keyboards that is. Maybe the bleeding edge versions do now but everything shipped with a distro lately does not. in LILO I can use a usb keyboard, GRUB for some reason decided to do things differently and ignores USB keyboard input.. which sucks big time on a new machine that has nothing but USB.

      --
      Do not look at laser with remaining good eye.
    2. Re:GRUB! by Lussarn · · Score: 5, Informative

      Try enable "USB Legacy support" or similiar in BIOS. Has helped me every time.

    3. Re:GRUB! by Jarth · · Score: 0, Troll

      do short replies mean more experienced people are at work ?

      --
      free dom(inion) - free energy - free your mind - whee!
    4. Re:GRUB! by Eideewt · · Score: 1

      Even when your BIOS supports USB keyboards? I've not tried it, mind you, so I'm just expressing my surprise, not saying you're wrong.

    5. Re:GRUB! by ajs318 · · Score: 3, Informative

      I'm a diehard LILO user, it works for chuff's sake so don't muck with it, but the issue you are seeing is not the fault of the bootstrap loader.

      Any bootstrap loader, be it GRUB, LILO or NTLDR.EXE, must necessarily use the BIOS to interact with the hardware, because no drivers are loaded yet.

      Your BIOS setup should have an option something like "legacy USB keyboard" which takes the keystrokes from the USB keyboard and makes them appear to have come from the "old style" keyboard instead. Enable this and GRUB should work.

      --
      Je fume. Tu fumes. Nous fûmes!
    6. Re:GRUB! by Lumpy · · Score: 1

      Yup. Use the keyboard to config the bios (there are no ps2 ports on the computer) ubuntu 5.10 can not be installed as it sit's there waiting for you to hit enter, so after installing on a PC that HAS ps2 ports, I reinstall the hard drive and can not get into grub at the bootloader.. YAY!

      yet Slackware with lilo on the SAME machine works fine.

      I found it very wierd, So settled on installing CentOS for that machine and had no problems.

      A buddy of mine has the same issue with his new DELL XPS laptop.. The laptop's keyboard and pointing device are USB! (really stupid idea dell!)

      Fun! it's 2006 and the hottest bootloader does not deal with current tech very well.

      --
      Do not look at laser with remaining good eye.
    7. Re:GRUB! by Lumpy · · Score: 1, Interesting

      So explain why lilo from slackware 10.2 does work fine but grub from ubunto 5.10 does not?

      I would agree with your statement if I saw the same behaivoir in both bootloaders, unfortunately I do not.

      --
      Do not look at laser with remaining good eye.
    8. Re:GRUB! by Anonymous Coward · · Score: 0

      The GRUB that came with Ubuntu 5.10 works fine with a USB keyboard, not tried a USB keyboard with 4.10 and 5.04 though.

    9. Re:GRUB! by Anonymous Coward · · Score: 3, Funny

      Yes.

    10. Re:GRUB! by ajs318 · · Score: 1

      Um. Because LILO doesn't need keyboard input at all if you only want to boot the default Linux kernel?

      That was a complete guess. If LILO is accepting keystrokes and GRUB isn't, then that would point to some weirdness going on somewhere {maybe lilo has a built-in keyboard driver a.o.t. GRUB's built in ext2 filesystem support}. I'm surprised by something in Ubuntu not working though -- that's usually a pretty good distro choice for modern hardware.

      Why, though, would you want to install a different distribution if you're already happy with Slackware? I guess that's another question.

      --
      Je fume. Tu fumes. Nous fûmes!
    11. Re:GRUB! by m50d · · Score: 1

      That's backwards from how it normally works. Grub makes some attempt to support usb itself. Lilo just relies on the bios supporting it. Try *disabling* bios support for "usb device emulation" or similar.

      --
      I am trolling
    12. Re:GRUB! by Anonymous Coward · · Score: 0

      Actually ubuntu 5.10 has lots of problems. Sound not working in most of the games and games you install for one.

      second anyone foolish enough to use ubuntu nvidia drivers will get a hosed install, you need to carefully install the binaries from nvidia only.

      and dont get me started about how ubuntu wireless is really sub par.

      go to the forums for a nice list of what is wrong.

    13. Re:GRUB! by Perseid · · Score: 1

      Perhaps this is true for some people, but in my case GRUB works fine with legacy support turned on.

    14. Re:GRUB! by airjrdn · · Score: 2, Insightful
      The laptop's keyboard and pointing device are USB! (really stupid idea dell!)
      Fun! it's 2006 and the hottest bootloader does not deal with current tech very well.
      So who are you blaming?
    15. Re:GRUB! by Hatta · · Score: 2, Interesting

      Why Grub? Why complicate the simple task of loading an OS with a fucking shell language? LILO is simple and just works. I've hosed systems trying to get Grub to work, never with LILO.

      The fact that you don't need to remember to re-install your boot loader every time you change the slightest thing is a major bonus though.

      It's not that hard to remember. And if you forget, it's trivial to fix. Switching to Grub for that incredibly tiny minor microscopic inconvenience is just curing the disease by killing the patient.

      --
      Give me Classic Slashdot or give me death!
    16. Re:GRUB! by Anonymous Coward · · Score: 0

      ive used grub w/ a usb keyboard ever since red hat 7 and now w/ fedora core 4. as far as i know, grub supports usb keyboards and mice.

    17. Re:GRUB! by cortana · · Score: 1
      "second anyone foolish enough to use ubuntu nvidia drivers will get a hosed install, you need to carefully install the binaries from nvidia only."
      Nonsense. Give me sanely created Debian packages over Nvidia's shell script of doom that shits all over my filesystem any day.
    18. Re:GRUB! by level_headed_midwest · · Score: 1

      I have always used GRUB and my USB keyboard works fine. I'd either check in the BIOS to make sure that legacy USB devices are enabled or get a cheap little USB -> PS/2 adapter to use.

      --
      Just "gittin-r-done," day after day.
    19. Re:GRUB! by Anonymous Coward · · Score: 0

      Oh O.K. How about the fact that GRUB is multiboot compliant and capable of loading far more OSes than just Linux? How about the fact that it can netboot and do other nifty things like directly boot an ISO9660 CD without the need to fuck about with El Torito boot disk images?

      If all you want is "Der! Put der Linux kernel in memory!" then yeah, I guess LILO is great. If you need something useful, then not so much.

    20. Re:GRUB! by superpulpsicle · · Score: 1

      A number of the enterprise distros have discontinued LILO unfortunately. There is something good about being able to run "lilo" after making .conf changes and knowing your box will come back after a reboot.

    21. Re:GRUB! by SanityInAnarchy · · Score: 1

      I'll agree with that.

      But then, there is something good about being able to enter arbitrary commands at a grub prompt in case you hosed your config. And no, "lilo" doesn't catch all config hosing.

      Also something nice about being able to boot a rescue cd (RIP), have the menu come up, and immediately be able to reinstall GRUB, without having to boot a whole OS.

      XOSL is nice, but way overkill, and I'd have to install and maintain another bootloader (like grub or lilo) to boot my Linux, making it actually more difficult to configure, despite having a GUI.

      I'd actually rather have Linux as a bootloader, but I can't really find a good package for that.

      --
      Don't thank God, thank a doctor!
    22. Re:GRUB! by Anonymous Coward · · Score: 0

      Yes, but the point is that GRUB should have this support built in if anyone is to take it seriously.

    23. Re:GRUB! by ajs318 · · Score: 1

      I'll stick with the open-source "nv" drivers from X.org, thank you very much indeed.

      --
      Je fume. Tu fumes. Nous fûmes!
    24. Re:GRUB! by cortana · · Score: 1

      Of course, that's even easier. I wouldn't exactly call 'nv' open source though. It sounds like they are pretty much unmaintainable by people who don't work for Nvidia... see the thread starting at http://lists.debian.org/debian-legal/2005/02/msg00 309.html and continuing to the next month (URL:http://lists.debian.org/debian-legal/2005/03/ threads.html)

    25. Re:GRUB! by ajs318 · · Score: 1

      Has the CEO of nVidia a daughter? Perhaps if a lock of her hair were to arrive in the post, two days after she failed to arrive home from school, he might be persuaded to release the source code.

      --
      Je fume. Tu fumes. Nous fûmes!
    26. Re:GRUB! by Anonymous Coward · · Score: 0

      EVERYBODY , GODDAMMIT!!!!

  2. more like dupeloader by Anonymous Coward · · Score: 5, Funny

    so, which dupeloader is the best?
    I use CmdrTaco, works best with my old version of the beowulf cluster....

    1. Re:more like dupeloader by Anonymous Coward · · Score: 0, Offtopic

      In Korea, only old people use boot loaders.

    2. Re:more like dupeloader by parasonic · · Score: 1

      A recursive one!

      default 0 # Default listing to boot
      timeout 0 # Timeout before going to the default

      title=DupeLoader
      root (hd0,0)
      kernel=/boot/dupeloader root=/dev/sda0

    3. Re:more like dupeloader by Zentac · · Score: 0

      wanna bet you are the one who actualy made the copy and submitted it? :) karma whoring for the anonymous coward collective...

  3. ahh by nomadic · · Score: 4, Funny

    Whoa, tone down the technical mumbo-jumbo a bit, I'm having trouble following. So now what you're saying is that Linux thing is now on computers?

    1. Re:ahh by rco3 · · Score: 5, Funny

      So now what you're saying is that Linux thing is now on computers?

      That's right. It's not just for toasters any more.

      --

      Ce n'est pas un vrai mouvement de robot!
    2. Re:ahh by Anonymous Coward · · Score: 1, Funny
      That's right. It's not just for toasters any more.
      I'm a Cylon, you insensitive clod!
    3. Re:ahh by MattWhitworth · · Score: 1

      Yup, it's more than a washing powder now :)

    4. Re:ahh by Anonymous Coward · · Score: 0, Troll

      Hey, what about the Windows Bootloader? If you have a Windows partition you should try it first. It even boots OpenBSD without big headache (see http://www.openbsd.org/faq/faq4.html#Multibooting) . One of its advantages is that it saves time when resuming Windows from suspend-to-disk. If you have Linux, you still need LILO or grub at least for your Linux partition...

    5. Re:ahh by gnuguru · · Score: 1

      omfg i knew the cylons ran linux.....

    6. Re:ahh by khellendros1984 · · Score: 1

      Bleh...Linux is ONLY useful on devices upon which it was never meant to run. Everyone knows that!

      --
      It is pitch black. You are likely to be eaten by a grue.
    7. Re:ahh by Tumbleweed · · Score: 1

      That's right. It's not just for toasters any more.

      "I mean, what's the point of buying a toaster with artificial intelligence if you don't like toast?"

  4. Ric Romero by User+956 · · Score: 1

    What utility do practically all Linux users use, regardless of their job or expertise? A boot loader. In this article from IBM, see how a boot loader works, meet two popular loaders -- LILO (LInux LOader) and GNU GRUB (GRand Unified Boot loader)

    Cool. I didn't know Ric Romero was writing for Slashdot now.

    --
    The theory of relativity doesn't work right in Arkansas.
    1. Re:Ric Romero by Anonymous Coward · · Score: 0

      Good jorb! More things from fark.com need to be brought over to slashdot. There's so much funny stuff, and everyone here is missing out on it!

      /And slashies are so useful!
      //slashies for teh win!

    2. Re:Ric Romero by Anonymous Coward · · Score: 0

      There's so much funny stuff, and everyone here is missing out on it!

      O RLY?

  5. Grand Unified Boot Loaders by Doomedsnowball · · Score: 1

    I for one, welcome our new... (this is so old I can't even finish the joke, please make it stop) Yeah, next Slashdot will be displaying articles about how the BIOS is old and unnecessary. Yeah, boot loaders weren't initially designed for Multiple OS'es. Big whoop. Where's the story? Or are /. readers so stupid that they need this article to inform them?

    --
    7h3$3 4r3n'7 7h3 Ðr01Ð$ ¥0 4r3 £00|{1n9 f0r. M0v3 4£0n9. --OB1
    1. Re:Grand Unified Boot Loaders by Anonymous Coward · · Score: 0
      Or are /. readers so stupid that they need this article to inform them?

      Yes. Yes they are.

    2. Re:Grand Unified Boot Loaders by heinousjay · · Score: 0, Flamebait

      You're conflating ignorance with stupidity. Probably because you're ignorant. Or stupid. I can't decide.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
    3. Re:Grand Unified Boot Loaders by kalbzayn · · Score: 1

      Which of the boot loaders will help my kids figure out which shoe goes on which foot?

      Oh, not that kind of boot loader. Maybe I should go RTFA.

  6. Both! by crow · · Score: 4, Interesting

    On my dual-boot laptop, the virus protection in Windows doesn't recognize Grub, so it will wipe the boot sector if it's the primary boot loader. But I realy like not having to do anything after installing a new kernel, so I want to use Grub.

    The solution? Install Grub on the Linux partition, and use Lilo to load it. It is rather funny watching the boot messages go through Lilo to get to Grub.

    1. Re:Both! by Hal_Porter · · Score: 4, Informative

      You can specify a boot sector in boot.ini. It needs this so it can boot Win98, Dos and so on. You can use it to load pretty much any OS though.

      http://www.highlandsun.com/hyc/linuxboot.html

      Or you could turn off boot sector checks in the virus protection.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    2. Re:Both! by GWSuperfan · · Score: 1

      Better than the last dual-boot option that I used. (Although honetly, with virtualization, who needs to dual-boot anymore?)

      The last system I had that was a dual-boot, if you booted off the hard drive you got windows. If you wanted linux, you booted off the linux boot floppy.

      Is someone keeping track of the kludge factor here? :-)

      --
      Fight psychopharmacological mccarthyism. http://www.norml.org/
    3. Re:Both! by alexhs · · Score: 4, Informative

      > Install Grub on the Linux partition, and use Lilo to load it.

      Why use LILO at all, then ? You can use mbr (http://packages.debian.org/stable/base/mbr), or even the dos / windows one (fdisk /mbr), which will silently boot the active partition, that you will set to the one containing the secondary boot loader you're using.

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    4. Re:Both! by Hendronicus · · Score: 1

      Reagan didn't write your sig quote, Will Rodgers did. He never met a man he didn't like, and never met a politician that he did.

    5. Re:Both! by JustOK · · Score: 1

      Of course, he never met you, so... ;)

      --
      rewriting history since 2109
    6. Re:Both! by Eli+Gottlieb · · Score: 4, Funny

      Apparently the virus protection doesn't recognize Windows for what it is, either.

    7. Re:Both! by ryanov · · Score: 1

      Floppies are obnoxious and prone to failure, unfortunately. Especially Linux boot floppies, as they tend to use the whole disk.

    8. Re:Both! by hamsterspeed · · Score: 1

      Why use LILO at all, then ? You can use mbr (http://packages.debian.org/stable/base/mbr), or even the dos / windows one (fdisk /mbr), which will silently boot the active partition, that you will set to the one containing the secondary boot loader you're using.

      right, but, this way is funny.

      --
      pants
    9. Re:Both! by alienw · · Score: 1

      Windows doesn't have virus protection, and commercial antivirus programs don't have this issue. It's most likely your BIOS. Turn it off, it's pretty much useless anyway.

    10. Re:Both! by Eil · · Score: 1


      Right, but for those unwise in the art of booting operating systems, let me clarify. You're not going to load the Linux kernel from Windows boot.ini. You can only point it to a Linux boot sector containing a loader like LILO or GRUB so you still need those, just not in the MBR. This is similar to what happens when you use the 'chainloader' command with GRUB. If you use boot.ini to choose your OS on a multi-boot machine, you're only substituting the Windows OS selection screen for LILO's or GRUB's which gains you little.

      There's a lot of confusion surrounding the difference between a boot loader and a boot manager because those that we're familiar with typically do both. Boot loaders do the job of loading a kernel into memory and are typically tied to a particular OS while boot managers essentially just pass control to a boot loader of the user's choosing. GRUB and LILO are the main boot loaders for x86 Linux, but there are many OS-independent boot managers out there.

    11. Re:Both! by warp_factor_9 · · Score: 1

      I know the feeling. I use Airboot to be able to doubleboot OS/2 and Ubuntu. When I select "Linux" off the menu it hands off to Grub then in Grub I have a couple of choices either straight boot to Ubuntu desktop or recovery console....yes amusing!

    12. Re:Both! by cowbutt · · Score: 1

      Even better, make your /boot or / partition the only active (aka bootable) partition, and put GRUB or LILO on the bootsector of that partition, leaving Windows' MBR code in the MBR. The boot sequence will then be BIOS->Windows MBR->Bootsector of Active Partition (GRUB/LILO)->kernel or bootsector of C:->/sbin/init or NTLOADR.

  7. Which is EXACTLY Why... by eno2001 · · Score: 4, Insightful

    ...GRUB is the ultimate choice. It understands multiple OSes (including Windows XP), is very flexible and easy to use and uses a highly ethical license. Oh... and it doesn't require you to reinstall it after you make a change to it's config file like LILO does. No need to read any further. I have spoken.

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    1. Re:Which is EXACTLY Why... by MostlyHarmless · · Score: 1

      Easy to use? You've got to be joking. GRUB is certainly much more featureful than LILO, but I've never quite been able to figure out how to configure it manually if it goes bonkers. LILO's configuration syntax is far more straightforward.

      I've helped many people in the rooms around me (in the dorm) set up Ubuntu, and I think that GRUB was one of the largest sources of trouble (after the ATI graphics cards). It probably didn't help that some of them had weird physical setups (both IDE and SATA on the same computer, for example), but at least with LILO i knew how to reinstall it from a bootdisk/liveCD.

      --
      Friends don't let friends misuse the subjunctive.
    2. Re:Which is EXACTLY Why... by Chanc_Gorkon · · Score: 1

      I like GRUB too, however I have had several machines where GRUB would refuse to work properly. I switched to LILO on those and it works much better. Also, when you upgrade your kernel the Debian way, it runs LILO for you so you don't have to. The point is that there's room for many bootloaders. Alot of people forget about yaboot for the PPC people. Bootloaders are special enough and they must work reliable enough that there's more then enough room for many different bootloaders. All distros should, at a minimum, ship LILO and GRUB. Sometimes, GRUB just won't work and it's nice to have LILO there to depend on.

      --

      Gorkman

    3. Re:Which is EXACTLY Why... by eno2001 · · Score: 3, Informative

      It's all about what you're familiar with. I used to be a LILO affectionado and moaned when Redhat moved to GRUB. But once I learned GRUB, I found it to be much more powerful and easier to use than LILO. That's just me though. I'm the same guy who tells everyone I know, "If there's a hard way to do something, I'm there before anyone else". ;P

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    4. Re:Which is EXACTLY Why... by swillden · · Score: 1

      Also, when you upgrade your kernel the Debian way, it runs LILO for you so you don't have to.

      It will also run update-grub if you're using GRUB.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:Which is EXACTLY Why... by Hatta · · Score: 1

      GRUB is the ultimate choice.

      Really?

      It understands multiple OSes (including Windows XP)

      Yawn, so does lilo.

      is very flexible

      Meaning what exactly? Particularly, in what ways is it more "flexible" than lilo?

      uses a highly ethical license

      LILO is BSD licensed, that's good enough for me.

      Oh... and it doesn't require you to reinstall it after you make a change to it's config file like LILO does.

      So that one tiny microscopic essentially negligible inconvenience is enough to justify changing bootloaders? I don't know about you, but the total inconvenience I project due to that "problem" over my lifetime isn't even a thousandth of the inconvenience I've already experienced in trying to use the grub. In TCO terms, the cost of switching is much much greater than the cost of living with lilo.

      --
      Give me Classic Slashdot or give me death!
    6. Re:Which is EXACTLY Why... by mixmasta · · Score: 1

      Grub has been the best bootloader, but unfortunately, it is fugly and has stagnated.

      Apparently it has been undergoing an ill-advised complete rewrite for the last several years. Why couldn't they just have refactored?

      Wouldn't it be nice to have a grub with nice graphics, a real menu system, and all the bug fixes from the last several years in one release? Might even be as cool as XOSL was 10 years ago. But instead we get nothin' but vapor. It's sad.

      --
      #6495ED - cornflower blue
    7. Re:Which is EXACTLY Why... by rasjani · · Score: 1

      There are certain cases where Grub wont work. I've managed some HP DL 320 machines and with certain hardware setups, grub just doesnt boot the machine, hangs up even before putting up a prompt and lilo just works.

      --
      yush
    8. Re:Which is EXACTLY Why... by eno2001 · · Score: 1

      1. I prefer GNU GPL m'self
      2. You wouldn't believe how much of a pain in the ass it is to reboot your box only to have it default to the wrong kernel or OS and boot up in it. (I hate timeouts so I alwasy set them to 0) I prefer my boot loader to just automatically re-read it's config file without me having to tell it to update. So until LILO fixes that, puts in a much nicer menu system a la GRUB and generally becomes a lot more developed, I'm sticking with GRUB. GRUB really isn't that hard. It's kind of like making the jump from Linux to VMS. Your personal problems with GRUB don't invalidate it. I just think LILO is a steaming pile in comparison. That's all.

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    9. Re:Which is EXACTLY Why... by owlstead · · Score: 1

      Well, I am not into bootloaders. LILO was something I got used to pretty fast. I absolutely *HATE* grub for it's usability. I haven't got a clue how the menu works (well, a few clues, but too little). And I have programmed computers since the MSX (8 bit Zilog Z80). Grub either has to get a better interface, or it should be thrown aside for LILO again. For most users, bootloaders are a necessary evil. I simply don't find them worth my time, so I don't want to learn about them. They should therefore have a near zero learning curve. Oh, and documentation was seriously lacking the last time I looked.

      So I fully agree on your last sentence...good for you though.

    10. Re:Which is EXACTLY Why... by evilviper · · Score: 1
      It understands multiple OSes (including Windows XP)

      Does it understand women? That feature might be helpful.

      Although it might not "understand" Windows, Lilo has no problem booting them.

      is very flexible and easy to use and uses a highly ethical license.

      Lilo is much easier to use IMO. And yes, it has that "torture" clause in it's license, so, it's license, not being GPL, is unethical.

      Oh... and it doesn't require you to reinstall it after you make a change to it's config file like LILO does.

      Yes, I know, that takes hours out of your day, and changing the config file is something people do CONSTANTLY. Seriously, if you can't remember to do something that simple, put "/sbin/lilo" it in your rc.shutdown script and never think about it again.

      Personally, I prefer Lilo just because it is 1000Xs faster to boot up into single-user mode (no need to switch into line-editing mode, decide which of the 20 lines of the boot config you want to write "single" into, etc.) or add any other simple options to the boot-up command-line I might wish to try.

      No need to read any further. I have spoken.

      If you've spoken, I wouldn't be reading this, and you wouldn't need to tell me not to read any further. Or do you speak while typing? And in that case, do you ever actually laugh, or do you just say l-o-l?
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    11. Re:Which is EXACTLY Why... by eno2001 · · Score: 1

      I am MANIMAL!!!! Respect that!

      With that out of the way. The only thing I have to say is "to-mae-to"/"to-mah-to". Personally I think LILO sucks. It's too simple. It doesn't do enough. And I think it's STUPID to execute a command at shutdown to reload your boot loader. You SHOULD have to do that. It should just know when you've made a change and do it. Finally, going into single user mode is EASIER with GRUB than LILO. Just do this:

      e
      down arrow to the kernel line
      right arrow to the end and type '1'
      enter
      b

      Simple as pie. None of that idiotic mucking about booting with a boot floppy to edit the /etc/lilo.conf file and rebooting as it says to do in the man pages. I shouldn't have to boot to change my boot configuration! It should be done IN the boot loader itself!!

      And Tuesday is about one hour and thirteen minutes from ending where I am so I'll likely have a different point of view tomorrow. But, I truly like GRUB and despise LILO. Not to mention GRUB is prettier than LILO since it can actually do framebuffer graphics rather than the lame ass VGA. Remember, the thing that sells people on OSes is "ooh shiny" and not technical excellence. ;p Get my point?

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    12. Re:Which is EXACTLY Why... by evilviper · · Score: 1
      e
      down arrow to the kernel line
      right arrow to the end and type '1'
      enter
      b

      I just can't imagine how anyone can consider that easier than Lilo:

      Select kernel (With Arrow Keys)

      Type "1" or "single" or whatever you like

      Hit Enter

      Call me crazy, but that's a shitload fewer steps, far, far, far less typing, and no special knowledge required (which config line for grub again?).

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  8. Is it really that important? by CastrTroy · · Score: 2, Insightful

    Is it really all the important? You see it for about 3 seconds, each time you boot your computer. If you are booting your computer more than 3 times a day, you should look into VMware so you don't have to reboot so often to access all those different OSes you have. Either that, or switch to a more stable OS. As long as it can boot the OSes you want, is there any real reason to have one over the other? I think this is kind of pointless. I just go with whatever my distro (mandriva) offers by default (lilo). It's such a minimal part of my computer, that I couldn't be bothered to even think of changing it.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    1. Re:Is it really that important? by hal2814 · · Score: 1

      As others here have pointed out, if you monkey a lot with multiple *NIX kernels, GRUB is a bit easier to use. For those of us who don't do that sort of thing, there really isn't much of a difference.

    2. Re:Is it really that important? by CastrTroy · · Score: 1

      I've compiled a few different kernels in my day, and had 4 or 5 of them on Lilo. What shortcomings are you refering to? Because I haven't noticed any.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    3. Re:Is it really that important? by hal2814 · · Score: 4, Interesting

      Nothing serious. GRUB doesn't have to be reloaded each time you add or take away a kernel. It's only a 5 second procedure in LILO (or 2-3 minutes if you have to manually monkey with the lilo.conf file). Personally, I prefer LILO for working with kernels because I touch the lilo.conf file each time a kernel is compiled. It makes it easier for me to weed out possible boot-loading problems when I'm making changes to kernel code.

    4. Re:Is it really that important? by kfg · · Score: 1

      Is it really all the important?

      Yes.

      Why?

      999999999999999999999999999999999999999999999999. . .

      It's such a minimal part of my computer, that I couldn't be bothered to even think of changing it.

      Ah, well, you see, there's the difference. Some of us not only think about changing our computers, but do.

      KFG

    5. Re:Is it really that important? by BrokenHalo · · Score: 1
      Is it really all the important? You see it for about 3 seconds, each time you boot your computer.M/i>

      Exactly. And if you're a reasonably "serious" Linux user, you're not going to reboot very often anyway. The box I'm posting this from was only restarted the other day because I upgraded the kernel...

    6. Re:Is it really that important? by Fred_A · · Score: 1

      And I think it's easier to dynamically edit the grub configuration while you booot (say if you screwed up the kernel parameters).
      I haven't used Lilo for a while (haven't rebooted any of the Mandr[ake,iva] machines I use in person for ages), but I seem to remember it wasn't as easy as it is in Grub. If you screwed up your config file, you pretty much had to use a rescue disk.

      Regarding the joys of booting systems, I recently had lots of fun getting my usual workstation to boot after adding a third SATA disk. The BIOS (and grub) would see the disk order as abc while Linux would see bca... Linux now works fine but the little XP partition is still dead in the water (it ended up on the third [as seen by the BIOS] disk where it kind of starts and then just reboots the machine). I suppose I ought to edit the booot.ini file to fix that (just very recently found out about that file).

      --

      May contain traces of nut.
      Made from the freshest electrons.
    7. Re:Is it really that important? by Esion+Modnar · · Score: 1
      Is it really all the important? You see it for about 3 seconds

      OK, I'll bite. Is the starter in your car important? You only use it briefly (2-3 seconds), then you're motoring on down the road.

      Just try doing without one, you'll see how important it is.

      (I agree, though, VMware rocks.)

      --

      They say the first thing to go is your penis. Well, it's either that or your brain. I forget which...
    8. Re:Is it really that important? by 26242 · · Score: 0

      Good example. Ya, you need a starter for sure. But, its such a basic component (like a bootloader), would you ever walk into your NAPA dealer and say "Say, I need to think about upgrading my STARTER!"... nope. Didn't think so :p . MY distro (PCLinuxOS) has options for both, but it has Lilo by defualt. It has a nice graphical installer and it works very well. I don't see what the big deal is and yes, I'm a /. diehard. Long live the penguin. ps: not really relevant, but i love the ability in pclinuxos that you can hold down the restart button in kde and it'll dropdown allowing you to pick either windows or linux (or whatever else you have!) and then it reboots to it Automagically! :)

    9. Re:Is it really that important? by swb · · Score: 1

      This is kind of the question I was asking myself. Maybe a few years ago, multi-booting was worthwhile, but there are so many other options that make this largely unncessary. VMWare is the first one I thought of -- why bother multi-booting your primary HDD when you could run multiple OS at once?

      A lot of modern motherboards will willingly boot off of any drive in the system and you can also look at removeable drive trays as well. And the most obvious one is multiple PCs -- it's hard not to have accumulated a collection of PII/PIIIs that are semi-obsolete for Windows XP but perfectly viable for hobbyist pursuits.

    10. Re:Is it really that important? by bdcrazy · · Score: 1

      You may have run up against a windows XP "anti-piracy" feature. If you install it on a certain hardware location (abc etc), then move it to a new location (or in your case something causes it to move) it could think it was being put in a new computer and refuse to start complaining about an invalid hal and blue screens. If windows xp is set to auto reboot on blue screen, you may not see it.

      --
      Tonights forecast: Dark. Continued dark throughout most of the evening, with some widely-scattered light towards morning
    11. Re:Is it really that important? by WWWWolf · · Score: 1

      Well, the greatest utility of these things comes only handy if you're not getting the "flashes there for three seconds" boot. Simpler boot loaders probably need more tweaking in the cases when things don't just work like they used to.

      For example, yesterday I installed a new hard drive and copied my shit over from the old disk. When I was done, I spammed the bootloader back to the MBR and rebooting I went. Turns out I had forgotten to update the actual bootloader menu file to correspond to my new partition map (my root partition changed from /dev/hda3 to /dev/hda1). Kernel panic, can't find init. Duh!

      Had I been using LILO with any kind of configuration error at all, it would have been another drop to BIOS to set the CD-ROM as the boot device again, booting to Gnoppix again, editing the file, reinstalling LILO, another BIOS trip to set the boot device, and another reboot.

      But over last few years I've been using GRUB instead - and the thing comes with a full command line interpreter, boot menu system and a boot sequence editor. I just edit the boot command to point to the correct boot device and root partition. And then just hit b. Bam! It boots! So here I am.

    12. Re:Is it really that important? by Fred_A · · Score: 1

      Ah, yes, I suppose it could be that as well... :(

      I can't remember what the system settings were. If I spotted the crash settings, I probably set it up to display the blue screen... But then it might be some sort of switch in the registry. It's not as if I know how to use Windows any more. :-/

      --

      May contain traces of nut.
      Made from the freshest electrons.
    13. Re:Is it really that important? by hal2814 · · Score: 1

      I'd wager that anyone who hacks on the kernel frequently needs to reboot often. I'd definately consider kernel hackers to be "serious" Linux users.

    14. Re:Is it really that important? by Anonymous Coward · · Score: 0

      Just pop the clutch... no started needed, or is that only available in slackware?

    15. Re:Is it really that important? by ArsenneLupin · · Score: 0, Redundant
      If you are booting your computer more than 3 times a day...

      ... you won't need any of those funky boot loaders anyway. MS Windows (tm) is quite capable of booting on its own, without needing help from neither grub, nor lilo, nor syslinux.

      Either that, or switch to a more stable OS.

      Oh, that was indeed what you meant ;-) Guess my joke is redundant then, sorry...

    16. Re:Is it really that important? by Bert64 · · Score: 1

      Which is why we have things like UserMode Linux, Qemu and Vmware... Very usefull for quick testing to weed out major problems, before more thoroughly testing on real hardware...

      Also i tend to test new kernels on sparc, by using boot net.. It retrieves the kernel from a TFTP server so i just need to copy the new test kernel to the appropriate filename on the TFTP and the sparc will try to boot it.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    17. Re:Is it really that important? by Kadin2048 · · Score: 1

      I agree. While I've never played with VMWare, you can be sure that if I was going to play with some new OS tomorrow, be it Windows or BSD or something exotic, I wouldn't do it by dual-booting my system. Old sub-800MHz Celeron systems are being given away if you look around/ask (esp. on Freecycle and Craigslist), although IMO any self-respecting geek probably has his or her door propped open with one.

      I can see certain people who need to dual-boot, however. Mainly people with notebooks who want to run Linux but still need Windows for business reasons. Perhaps the virtualization software will make even this unnecessary in time, but if there's any processing overhead then it might be a no-go: a notebook running on batteries with clock speed scaled down might not have the cycles to support it.

      But certainly for hobbyist purposes, I'd question the unnecessary risk of dual-booting a 'production' PC (one that you're using for your email/web/photos/etc.) because of the risk of screwing it up, plus just the added complexity you're adding to the system that you're trying to test. It doesn't make a lot of sense to me, although I'm sure there are exceptional scenarios.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    18. Re:Is it really that important? by Hatta · · Score: 1

      As others here have pointed out, if you monkey a lot with multiple *NIX kernels, GRUB is a bit easier to use.

      Well, grub automatically configures itself for a new kernel. That doesn't necessarily mean it's easier to use. Actually, when grub fails to Do The Right Thing(tm), it's a lot harder to use. When lilo fails, it's at least simple to fix.

      --
      Give me Classic Slashdot or give me death!
    19. Re:Is it really that important? by Anonymous Coward · · Score: 0
      Guess my joke is redundant then, sorry...

      And the moderators were very insightful.

    20. Re:Is it really that important? by mixmasta · · Score: 1

      If you run linux, but run games in windows, this isn't a viable choice.

      --
      #6495ED - cornflower blue
    21. Re:Is it really that important? by mixmasta · · Score: 1

      Most modern cars defeat this capability on purpose. Bastards.

      --
      #6495ED - cornflower blue
    22. Re:Is it really that important? by owlstead · · Score: 1

      VMWare instead of a bootloader? No. I mainly use Windows for media capabilities (movies, music & sometimes games). Note that DirectX or 3D accellerated hardware is not supported by VMWare (yet). For hardware intensive tasks, an OS inside VMWare will never be as responsive as the real thing. So I have Windows and Linux running next to each other*.

      I think this is a pretty common setup. Actually, if they are on seperate harddisks, it would be an option to use the BIOS instead, and GRUB or LILO for linux.

      * Well, I used too. Linux is now running on it's private VIA EPIA board as server OS, with Cygwin and X installed on my Windows host.

    23. Re:Is it really that important? by mrchaotica · · Score: 1

      Dual-booting, however, can be simpler than using a remote desktop program (especially if the reason for booting into Windows is to run games) and is cheaper than getting a KVM.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    24. Re:Is it really that important? by Anonymous Coward · · Score: 0

      I think there is a way (using the map functionality) in GRUB to trick a chainloaded OS. In other words make Windows think the drive order is bca when booting. I can't recall the specifics, however.

    25. Re:Is it really that important? by Anonymous Coward · · Score: 0

      Yeah - it's pretty easy. I use this when booting multiple versions of windows and linux on the same setup with about 6 drives in it. Check the documentation.

  9. Need LILO for VMWare by div_2n · · Score: 3, Informative

    For anyone getting ready to load a Linux instance on a VMWare virtual machine, save yourself some time and use LILO. GRUB does not work as best I can tell. Boots to a fun error message after initial install. LILO works like a charm.

    1. Re:Need LILO for VMWare by un1xl0ser · · Score: 2, Informative

      Uhhhmmmmm.... I don't ever remember having to do that at all. Are you quite sure? I have only done a few installations, but our kickstart sets up GRUB by default, and all of them have booted. This is VMware 3-5.5 with RedHat/RHEL/Fedora.

      Please post Host/Guest OS Details as well as the version of VMWare. Just kind of curious.

      --
      v4sw6PU$hw6ln6pr4F$ck 4/6$ma3+6u7LNS$w2m4l7U$i2e4+7en6a2X h
    2. Re:Need LILO for VMWare by bunyip · · Score: 3, Informative

      Boots to a fun error message?

      Would this be error 18? How large is your partition?

      The quick fix for this is repartitioning so that /boot is small and the first partition on the disk, then it will work fine. I use Grub to boot SuSE 10 with VMware on my system at work (where Windows is the corporate standard). If this is not the fix, try Google - it's your friend.

      Alan.

    3. Re:Need LILO for VMWare by keithmo · · Score: 2, Informative

      I agree with un1x10ser. I've used various versions of VMware Workstation starting with 3.2 up to the current (5.5.1) with many different Linux distributions (Redhat 8 through Fedora Core 5 beta, SuSe 8 - 10, plus various other distributions). I've never had a problem with Grub in a VM.

    4. Re:Need LILO for VMWare by N1ghtFalcon · · Score: 1

      Are you using a SCSI disk by any chance? Ran into the same problem a few days ago with Ubuntu (I think it was...). Change to IDE and that'll solve the booting problem.

    5. Re:Need LILO for VMWare by crow · · Score: 1

      I had a similar problem with Grub and VMWare. I had a dual boot system, and I wanted to be able to also boot the Windows side in VMWare when I was running Linux. (Note, that's not a recommended way of doing it.)

      Anyway, the problem was that I tried to deny access to my Linux partitions in VMWare, but most of grub actually lived there, so it wasn't able to load it.

      There are also a number of other possible issues, as other posters have mentioned.

      One thing I never did figure out was how to get grub to detect if it's a virtual machine and boot Windows by default instead of Linux. There should be a way to do that based on partition access permissions or existence of certain hardware. It's not relevant now, as I've wiped my Windows partition and now just use a giant file system image file with VMWare.

    6. Re:Need LILO for VMWare by div_2n · · Score: 1

      Yeah, I saw something about that on Google with the side bar that LILO works with no changes, so I just went ahead and used LILO. Since it is a VM, what do I care what boot loader is used since there will only be one OS on that VM instance?

    7. Re:Need LILO for VMWare by Anonymous Coward · · Score: 0

      We need a new moderation for those used to bug-busting. Score: -1 (WFM)

  10. I was going to post by pklong · · Score: 5, Funny

    I was going to post but computer says LIL-

    --

    Philip

    Signatures are broken

    1. Re:I was going to post by bhsurfer · · Score: 1

      You beat me to the punch - I was "fondly" recalling the first time, many years ago, when I got my first "LI" boot screen. Man, I'm starting to sweat again just thinking about it...Suuurre I have backups of everything, duh...All worked out ok, of course, but it was a long half-hour.

      --
      Those are my principles, and if you don't like them... well, I have others.
      Groucho Marx
  11. Re:DUPE by hackstraw · · Score: 4, Funny

    Yeah, you have posted this before!

    Yeah, but there is a big:

    diff -u post1 post2
    --- post1 Tue Jan 3 09:35:05 2006
    +++ post2 Tue Jan 3 09:34:20 2006
    @@ -1,4 +1,6 @@
    -Francesca
    +An
    +anonymous
    +reader
      writes
      "What
      utility
    @@ -125,4 +127,4 @@
      more
      flexible
      boot
    -loaders."
    +loaders.""


    If the authors would have been the same and the second one didn't have an extra '"' at the end of it, it would have been the perfect dupe.

  12. raid-extra-boot by camt · · Score: 2, Interesting

    Until GRUB implements the equivalent of LILO's raid-extra-boot, I'll keep using LILO thankyouverymuch.

    I don't understand how GRUB can have gone so long without that feature. I know there are ways to do it (we'll call them work-arounds), but I don't want to have to work around the lack of a feature!

    1. Re:raid-extra-boot by Anonymous Coward · · Score: 0

      They wanted to be all things to all people, hence the "Grand...". But somewhere along the way they lost interest. Now it's just another app that gives people fits. Sorta like CUPS.

    2. Re:raid-extra-boot by emag · · Score: 2, Informative

      You beat me to it. I was using LILO on my last system, and installing my most recent one, GRUB was the default boot loader. Only problem being that / and /boot are both software RAID1, which once I found the magical incantation worked flawlessly under LILO. Apparently GRUB and my BIOS disagree as to what disk is actually the first though, so after a bit of frantic googling from a system that worked, I discovered I needed to tell the BIOS to boot disk 3. Joy. I also can't believe that GRUB's made it this far without native support for booting from any raid disk in the array...

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
    3. Re:raid-extra-boot by m50d · · Score: 3, Informative

      What do you use that to do? Grub booted my raid1 flawlessly, just map (hd0) and (hd0,0) to the /dev nodes and install normally.

      --
      I am trolling
    4. Re:raid-extra-boot by Fred_A · · Score: 1

      Just install Grub on the disk your machine booots from. Whether Grub thinks it's the first disk or not is irrelevant.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    5. Re:raid-extra-boot by emag · · Score: 1

      Which completely misses the point of booting from raid. Not to mention that the machine won't boot unless you know which disk grub thinks is the first.

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
    6. Re:raid-extra-boot by Fred_A · · Score: 1

      Grub is irrelevant, what matters is what disk the BIOS thinks is the first. If it comes to that, you can always install Grub on all the MBRs.

      The raid aspect should ideally be handled by the BIOS, if not then I suppose you're screwed.

      I just had to re-setup Grub on my workstation where a new disk was added on the Raid controller (used as a standard SATA controller) resulting in Grub (and the Bios) believing in one disk order and Linux in another.

      Normally, Grub polls the Bios to figure out the list of available disks. So there might be a difference between between Grub and the system, but there shouldn't be one betweeb Grub and the Bios.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    7. Re:raid-extra-boot by emag · · Score: 2, Informative

      BIOS by default booted disk 1,2,3,4. Grub wouldn't boot unless 3 was first. Which has some interesting implications for reliably booting a sw raid setup with grub, unless you go through a wholly manual process of telling grub to explicitly put the MBR on each disk, and then either edit the boot config in grub when needed, or have duplicate entries for each disk changing the root line each time.

      And why in the world would BIOS *ever* handle a linux software raid setup itself?

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
  13. If you multiboot by DrSkwid · · Score: 1
    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:If you multiboot by Anonymous Coward · · Score: 0

      Entirely agree - it's brilliant, and OS neutral. But it's genenerally called "Smart Boot Manager"

  14. Exact Dupe!! by ltwally · · Score: 3, Funny
    Oh, and not only is it a dupe, but it's an exact duplicate. Word-for-word. Someone copy & pasted the entire article description of the one from august, and Taco still let it get through!

    Notice that it's an AC that did it, too. It's actually pretty funny, in a sorry sort of way.

    --



    /dev/random
  15. Unwelcome guest by rinkjustice · · Score: 0

    Grub and Lilo need to supply an remove feature at the initial bootload prompt or os selection splash screen so to easily remove the bootloader from the mbr when it's no longer needed, because unless you have a windows rescue disk (which I don't have, I don't even have a working floppy drive), and type "fdisk /mbr", you're permantly stuck with Linux.

    This happened when I removed Ubuntu from my daughters computer and tried to install a Windows clone called ReactOS. To rid Grub from the mbr, I've tried reinstalling Linux and moving the bootloader to the front of the partition, I've tried using Partition magic and deleting the partitions and formating the drive, I've tried using Redhat's fdisk and I've tried standing on my head spitting wooden nickles, and nothing worked at removing grub. Frustrating thing is other operating systems won't remove it when they're installed on the drive either. I'm about ready to bust out a big magnet and really erase the drive.

    Linux needs to makes it as easy to remove these bootloaders as it is to install them.

    1. Re:Unwelcome guest by SpaceLifeForm · · Score: 2, Informative
      That's because you don't remove/un-install the MBR.

      If you don't want grub, you need to *REPLACE* the MBR with something else, like LILO or plain old DOS FDISK /MBR.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:Unwelcome guest by JPyun · · Score: 1

      You can't... really... remove the boot loader. You have to, you know, replace it.

    3. Re:Unwelcome guest by operagost · · Score: 1

      The Windows 2000/XP equivalent is FIXMBR, accessed from the recovery console. I have no idea what ReactOS uses, but it must use something or else you would not be able to install it on an empty disk.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    4. Re:Unwelcome guest by Anonymous Coward · · Score: 0
      Use this:

      dd if=/dev/zero of=/dev/YOURDISK bs=446 count=1

      You could do that just before removing Linux or as part of the install process of some other OS.

    5. Re:Unwelcome guest by FellowConspirator · · Score: 1

      You'll note that GRUB and LILO both have this feature. From the LILO documentation, for example:

      /sbin/lilo {-u|-U} - uninstall LILO boot loader
      ... grub is quite similar. At the GRUB prompt, type:
      grub> uninstall

      ... of course, if you are installing a new OS from scratch, this would do it too:

      dd if=/dev/zero of=/dev/hda bs=512 count=1

      Of course, you could have figured that out from searching the documentation or *HORROR* using Google to look for it, so I assume you knew all that to begin with and are just troll baiting...

    6. Re:Unwelcome guest by Stephen+Williams · · Score: 1

      "Removing" a bootloader from the MBR isn't quite the same as removing a file. It's more a case of overwriting an old MBR with a new one. So if you want a bootloader to have this feature, the bootloader would have to have some concept of what to replace itself with.

      Debian provides an "mbr" package that can be used as a generic MBR for almost any OS. The idea is that you install LILO/GRUB/whatever into the boot sector of the bootable partition rather than into the MBR itself; the generic MBR then just loads that rather than being a full bootloader in its own right. This may also be what the MBR written by "fdisk /mbr" does, but I'm not a Windows expert, so I don't know.

      -Stephen

    7. Re:Unwelcome guest by Shakrai · · Score: 1

      The Windows 2000/XP equivalent is FIXMBR, accessed from the recovery console. I have no idea what ReactOS uses, but it must use something or else you would not be able to install it on an empty disk.

      Just pray you haven't forgotten the password that you just know that you set on the hidden "administrator" account (in XP anyway). I went through this nonsense awhile ago when I removed my second hard drive and hosed LILO. I couldn't access the Windows Recovery Console because for some really stupid reason it insisted on having the admin password.

      Sure, it's a "security" measure. I call it an annoyance because you can bypass that security with any number of boot CDs (most based on Linux) that let you remove the password from the SAM files. Of course I didn't have any of those CDs on me at the time -- nor did I have a knoppix CD or anything else useful (I had just moved). I eventually wound up driving to a friends house to make a password bypass cd.

      --
      I want peace on earth and goodwill toward man.
      We are the United States Government! We don't do that sort of thing.
    8. Re:Unwelcome guest by ajs318 · · Score: 1

      You could replace it with a bunch of NOP instructions, though {like you get out of /dev/zero}. That would be a lot like removing it.

      The real problem is that Microsoft's implementation of fdisk is totally christian. It won't even let you delete, let alone create, non-native partitions {the 95/98/ME one won't even delete 2000/XP partitions}.

      I would recommend you use DBAN {if it's not in your toolkit, why not?} in "quick" mode just to zero out the whole drive before installing a Microsoft OS. Or there is a way to zero out the MBR using dd ..... probably
      # dd if=/dev/zero of=/dev/hda bs=512 count=1
      but as usual, check manpages and Google first before trusting anything I said.

      --
      Je fume. Tu fumes. Nous fûmes!
    9. Re:Unwelcome guest by Fred_A · · Score: 4, Insightful
      I've tried standing on my head spitting wooden nickles, and nothing worked at removing grub.

      Did you wave the dead chicken ?
      You forgot to wave the dead chicken didn't you ?
      Bah, newbie...
      --

      May contain traces of nut.
      Made from the freshest electrons.
    10. Re:Unwelcome guest by MarcQuadra · · Score: 1

      Did you try 'dd if=/dev/zero of=/dev/hda count=2' while booted from linux (liveCD or your install if you're done with it)

      That's the command in Linux to wipe the first two sectors of the disk, which should adequately destroy the bootloader. Leave off the 'count=2' to wipe the whole disk for good luck.

      I've never had trouble using a Windows XP install CD, deleted all partitions, and installed to the 'empty space', it seems to remove the boot loader for me.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    11. Re:Unwelcome guest by rinkjustice · · Score: 1

      I definetely feel like a noob. I was hardcore into Linux about 5 years ago, but after my divorce, I never again got into computers in any serious way.

      Still read /. everyday tho!

    12. Re:Unwelcome guest by Fred_A · · Score: 1

      Don't feel bad about it, there are more important things in life than computers.
      You didn't hear it from me though!

      --

      May contain traces of nut.
      Made from the freshest electrons.
    13. Re:Unwelcome guest by bean123456789 · · Score: 1

      you could always try a zero fill on your hard disk if you are really hard up

  16. Heh by Godai · · Score: 1

    Only Slashdot & linux users (myself included) could argue the merits of a boot loader :)

    Now, having said, I'm sure someone will post a reply explaining in excruciating detail how my choice of boot loader could make or break my system. Hell, maybe you'll convince me. It'll be a hard sell though; I've used both in the last few years and, frankly, barely noticed a difference.

    --
    Wood Shavings!
    - Godai
    1. Re:Heh by Anne+Thwacks · · Score: 1
      We can be certain you have never used OS/2.

      OS/2 users argue more about boot loaders than Linux users, and they are proud of it!

      --
      Sent from my ASR33 using ASCII
  17. So Now.... by KidHash · · Score: 1

    I can run linux on my lilo?

    1. Re:So Now.... by Mixel · · Score: 1

      In Soviet Russia, Linux runs your LILO.

  18. LILO v GRUB by Randall311 · · Score: 1

    I was under the impression that the LILO boot loader was antiquated, and that GRUB had more features, doesn't need reconfiguring after recompiling the Kernel, and can boot a wider variety of OSes. Does anyone know if LILO still ships with the newer Linux distros? Ubuntu, Fedora Core, etc.

    1. Re:LILO v GRUB by FellowConspirator · · Score: 3, Informative

      LILO is still actively developed and handles things like RAID disks and special hardware much better than GRUB (which is why it still ships with all the various distributions).

    2. Re:LILO v GRUB by frosgate · · Score: 2, Informative

      Slackware continues to ship with LILO as the default boot loader. The other option is loadlin. Grub is not even included. Slackware's motto is Keep It Simple [Stupid], and while Grub does have features that LILO lacks, it is more complicated, and so is not shipped with Slackware.
      peace

  19. Re:dupe dupe dupe... by thaerin · · Score: 1

    Shouldn't that be: dupe dupe dupe dupe of URL dupe dupe duple of URL

    --
    If big boobed women work at Hooters do one legged women work at IHOP?
  20. "News"(?!) for nerds. Stuff that matters. by Jonn+Carnnack · · Score: 0, Redundant

    So how does an article posted on the IBM website in August 2005 constitute "news" in January 2006?

    --
    Windows is shit.
    1. Re:"News"(?!) for nerds. Stuff that matters. by heson · · Score: 1
  21. Re:dupe dupe dupe... by Anonymous Coward · · Score: 0

    Mod parent down for being off-topic and give poster Bad-Karma.

  22. Reboot by goombah99 · · Score: 2, Insightful

    It's a carbon copy Reboot of this slashdot article.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  23. Showdown??? by LABob · · Score: 3, Informative

    No 'showdown' is needed. Aren't there enough flamewars around the Web as it is? Technically, both bootloaders are good. Use the one that works best for you.

    Politically, if you must use only GPL software, then go with GRUB. LILO has a _very_ open license, but it does not meet RMS's strict and unyeilding requirements.

    1. Re:Showdown??? by Anonymous Coward · · Score: 0

      "LILO has a _very_ open license, but it does not meet RMS's strict and unyeilding requirements."

      Huh? Please back that up with a source. As far as I can tell, LILO is distributed under the 3-clause BSD license which is listed under http://www.gnu.org/licenses/license-list.html#GPLC ompatibleLicenses as perfectly acceptable license.
      I don't know where the myth came up that onloy GPL software is acceptable for either Stallman or the FSF. If that was true, they couldn't use X11, Apache and a lot of other stuff.

    2. Re:Showdown??? by marcosdumay · · Score: 1

      Why would someone not use a BSD lincesed software? I can understand why someone wouldn't not write software on this license, but not use.

      Anyway, if you are not confortable with it, you can always make a GPLed package that is composed of LILO :)

  24. Auto-dupe check by JLavezzo · · Score: 3, Funny

    That's it!
    I'm going to download the slashcode and hack in an auto-dupe-check using diff... If you are too similar the article get's an automatic first post of "DUPE!"

    1. Re:Auto-dupe check by paradizelost · · Score: 1

      Or could you please just have it block the article?
      only downside would be there would be 1/4 the articles here as there are.

      --
      "In a world without walls and fences, who needs Windows and Gates?"
    2. Re:Auto-dupe check by Anonymous Coward · · Score: 0

      downside? ;-)

  25. Slashdot sweeps week comming? by Anonymous Coward · · Score: 0

    Well since this is a rerun of another story a few months ago(not to mencon based on a long standing debate for years) does this mean there are no new episodes of my favorite slashdot till next season?

  26. What I would like GRUB to have by omeg · · Score: 1

    What I would like GRUB to have is support for special boot-up commands that load when you press certain keys. Really, I don't need to see all those different kernels, plus "safe mode" and "memory test" in my boot loader whenever I start my computer. I'd like to ban those options to specific buttons, like the F8 button for Windows.

    1. Re:What I would like GRUB to have by ajlitt · · Score: 1
      First off, stop letting your OS manage your menu.lst. Then, put your kernel in the base of the boot partition along with the previous kernel you installed as /vmlinuz.old (make install on the kernel handles this for you) and a memtest86+ image. Finally, set up your menu.lst (or grub.conf) like the following (ymmv). You get automatic boot to the default kernel, optional 'safe mode' single user or the previous kernel installed, and memory test. Nicer than the RTFMs you'll probably get in addition to this, eh?

      timeout 5
      default 0

      title Linux
      root (hd0,0)
      kernel /vmlinuz root=/dev/hda3

      title Linux (single user)
      root (hd0,0)
      kernel /vmlinuz root=/dev/hda3 single

      title Linux (previous kernel)
      root (hd0,0)
      kernel /vmlinuz.old root=/dev/hda3

      title memtest86
      root (hd0,0)
      kernel /memtest86+.bin
    2. Re:What I would like GRUB to have by Ignominious · · Score: 1
      Couple of easy things then:
      1. If you have a recent grub, hide the menu:
      default=0
      timeout=8
      hiddenmenu
      before any of the title lines in grub.conf or menu.lst (in /boot/grub/ probably). Press a key to bring up the menu.

      2. Remove the old kernel packages - good distros will remove the old options from grub.
  27. Other lesser known boot loaders... by ylikone · · Score: 5, Informative
    --
    Meh.
    1. Re:Other lesser known boot loaders... by saintlupus · · Score: 1

      ... along with yaboot, QUIK, and BootX for the PPC Linux users among us. And SILO for Sparc, if I recall properly, and something else entirely for Alphas.

      --saint

    2. Re:Other lesser known boot loaders... by izomiac · · Score: 1

      If it isn't Windows-centric it seems like it's Linux-centric. I'm sure a lot more people use NTLDR than Lilo and Grub put together. Then there's the dozens of other boot managers with nifty features that it seems like nobody knows about. Here's a list of a thirty. Ranish's boot manager & BootIT NG both allow more than 4 primary partitions for example (they rewrite the partition table before booting) and XosL & BootIT NG both have partition managers built-in. Lots of boot managers have features like changing the default OS based on time, or requiring a password to boot a certain OS.

    3. Re:Other lesser known boot loaders... by Scooter's_dad · · Score: 1

      Here's a list of a thirty.

      And BootitNG is so good, they listed it twice (#5 and #29). (I'd list it twice too; I use it and love it.)

      --
      The road to hell is paved with Cat 5 cable.
    4. Re:Other lesser known boot loaders... by Anonymous Coward · · Score: 0

      They did the same with Ranish (only one link works though), but I didn't feel like actually counting the number of unique items in the list.

  28. What utliity do practically all Linux users use? by Caspian · · Score: 5, Funny
    What utility do practically all Linux users use, regardless of their job or expertise?
    Windows.

    I keed, I keed! ;)
    --
    With spending like this, exactly what are "conservatives" conserving?
  29. Neither! Luna works best... by justinchudgar · · Score: 5, Funny

    My kitten Luna loads my boots with shredded paper and cat toys every night. She is the best boot loader ever!

    --
    WARNING: Smoking this sig may cause lowered IQ, insanity or short term memory loss. It is also really bad for your monit
    1. Re:Neither! Luna works best... by Anonymous Coward · · Score: 0

      You are lucky.

      My cat only leaves her load in my boots. I've started pouring kitty litter into them each evening.

    2. Re:Neither! Luna works best... by vga_init · · Score: 1
      I have to say, that's absolutely adorable...

      On an unrelated noted, my hostname used to be "luna" on my desktop machine.

  30. My biggest problem for not using GRUB by MikeDawg · · Score: 5, Insightful

    My biggest problem, and why I stick with LILO as opposed to using GRUB, is because of the current state of the GRUB development. I'm not exactly sure what's going on with the GRUB project, I have seen their website, and read their information, but I don't understand where they are at in their development, especially with GRUB 2. GRUB has been labelled their legacy product, which does mean it has been released, and relatively stable. However, they have completely stopped work on their legacy GRUB product and began working on GRUB 2. GRUB 2 doesn't have a stable release yet (they have builds released via CVS or whatever build versioning system they use). What should we expect from GRUB 2, that GRUB or LILO doesn't offer? I don't like the setup and install process for GRUB, I find it more convoluted than the setup, install, and configuration (lilo.conf) of LILO.

    --

    YOU'RE WINNER !
    Another lame blog

    1. Re:My biggest problem for not using GRUB by slashdotnickname · · Score: 2, Funny

      My biggest problem, and why I stick with LILO as opposed to using GRUB, is because of the current state of the GRUB development. I'm not exactly sure what's going on with the GRUB project, I have seen their website, and read their information, but I don't understand where they are at in their development, especially with GRUB 2.

      I would of tested and compared them in the context of boot environments... but you're right, a confusing web site/documentation definetly translates into "subpar product"... in fact, i'm removing any executable whose man pages I can't comprehend! brb

    2. Re:My biggest problem for not using GRUB by Fred_A · · Score: 2, Insightful

      So ? If Grub works and Grub 2 isn't stable yet, just use Grub.
      Or Lilo, or whatever else.

      But I don't get the logic of "X works fine, however they're working on Y (labeled as X 2) which isn't done, so they aren't working on X anymore, so I'd rather use Z..."

      Just say you like Lilo better than Grub, it's not like anybody cares anyway...

      --

      May contain traces of nut.
      Made from the freshest electrons.
    3. Re:My biggest problem for not using GRUB by ArsenneLupin · · Score: 1
      X works fine, however they're working on Y (labeled as X 2) which isn't done, so they aren't working on X anymore, so I'd rather use Z...

      It's more like "They consider X to be old and crappy code, and are working on Y (labeled as X 2) which isn't done, so they basically have abandoned X while X2 is not yet ready, so I'd rather use Z..."

      It's poor form to drop support for your current product while its successor is not yet ready for prime-time. The professional way is to support both for one or two releases, until you are reasonably confident that the new fork can really replace the old one. Yes, it's more work, but it gives your users confidence that they won't end up sitting between two chairs.

    4. Re:My biggest problem for not using GRUB by alienw · · Score: 1

      Free software in general does not come with support. If it breaks, you get to keep both pieces. If you want professional support, buy a commercial Linux distribution from a vendor. It's the vendor's job to fix problems and support the product.

    5. Re:My biggest problem for not using GRUB by Fred_A · · Score: 3, Insightful

      Old and crappy it may be but it works and it has been chosen over numerous alternatives in a number of cases. So basically it works, there isn't much to add to it as it is, so unless a major bug is discovered, there's no reason to actively maintain it.
      The main thing Grub has against it is that it's relatively ugly. The fact that the 1.x branch isn't actively developped is quite irrelevant. Because it works. Should it suddenly stop working, well, there are lots of other similar programs available.

      Maybe I'm dense but I really don't get your concern. Are you worried you won't be able to get spare parts when your program will get worn out from booting everyday or something ?

      --

      May contain traces of nut.
      Made from the freshest electrons.
    6. Re:My biggest problem for not using GRUB by ArsenneLupin · · Score: 2, Informative
      So basically it works,

      True enough... unless some new kinds of boot devices (such as SATA) come out, which might necessitate additional development...

      there isn't much to add to it as it is,

      There's one feature that's been sorely missing: the equivalent of lilo's -R option (boot another OS once).

      With their proclaimed feature-freeze, there's not much point waiting for this...

      The main thing Grub has against it is that it's relatively ugly.

      And ugly it is... I especially hate the "nice" curses interface of the grub installer which does a very good job of hiding critical error messages and making sure that no missing rescue-CD goes unpunished ;-) Even export TERM=dumb is not enough to take care of the issue. Do I really have to use a hex-editor to see the error-output of a program?

      The fact that the 1.x branch isn't actively developed is quite irrelevant.

      Well, except that it isn't even 1.x yet, it's still 0.9x. So, basically, it has been declared obsolete before it even reached maturity. Way to go!

      Should it suddenly stop working, well, there are lots of other similar programs available.

      Such as Lilo ;-)

    7. Re:My biggest problem for not using GRUB by swillden · · Score: 1

      I don't like the setup and install process for GRUB, I find it more convoluted than the setup, install, and configuration (lilo.conf) of LILO.

      I agree that setting GRUB up is a bit weird (although the Debian packages do a pretty good job of hiding it), but IMO it's well worth it. Not having to remember to run 'lilo' when I change the configuration is a minor convenience, but being able to make arbitrary edits to the boot configuration, search partitions for kernels, etc. all from the boot prompt has saved my butt any number of times, particularly on my home file server which has no floppy and no CD-ROM, so booting off of other media to fix a problem is painful.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    8. Re:My biggest problem for not using GRUB by rl117 · · Score: 2, Informative

      A few weeks back, I checked out GRUB2 from CVS and built it on a PowerPC system. It installed and ran just fine, but the kernel hung during booting. It doesn't yet have all the features of GRUB1, but it's certainly showing a lot of promise. As soon as it boots a kernel, I'll be dumping yaboot for it.

      GRUB1 works just fine on i386, so just go with that for the time being, and you can upgrade to GRUB2 when it becomes stable.

    9. Re:My biggest problem for not using GRUB by Gord · · Score: 3, Informative

      >There's one feature that's been sorely missing: the equivalent of lilo's -R option (boot another OS once).

      You can probably do what you need using Grub's 'savedefault' command, eg

      grub> help savedefault
      savedefault: savedefault [--stage2=STAGE2_FILE] [--default=DEFAULT] [--once]
              Save DEFAULT as the default boot entry in STAGE2_FILE. If
              '--once' is specified, the default is reset after the next reboot.
      grub> savedefault --default=1 --once

      iirc some distro's come with a 'grub-default' (or similar) command for performing this direct from a shell prompt.

    10. Re:My biggest problem for not using GRUB by MikeDawg · · Score: 1

      *cough* Pushing a straw man into a slippery slope *cough*

      Impressive, two fallacies in one swoop.

      With a piece of software that is responsible for booting up and loading my OS, I deem that quite important. I do find GRUB's documentation lacking, and I feel that it is important for me to understand what I'm doing and how I'm building something as important as a boot loader.

      Do you want me to compare the two in context of boot environments? Ok, GRUB offers the following advantages: A) A prettier screen to boot up with B) Offers me the ability to not have to run 'lilo' after building a new kernel.
      I can hardly call this an advantage to GRUB. I'll stick with an actively developed project, whose documentation makes sense, and is quite a bit easier to install and configure.

      --

      YOU'RE WINNER !
      Another lame blog

  31. That's a weird problem.. by brunes69 · · Score: 3, Informative

    .. because, an OS has one of two choices. Either it uses it's own boot loader, or it requires a third party one.

    I don't know anything about ReactOS, but Windows ships with it's own, and always has since 95. If you installed "real" Windows on this computer, it would overwrite the MBR and get rid of Grub. But if installing RactOS does *not* do this, then it likely does not ship with it's own boot loader, so you would *have* to use Grub or some other tool to load it.

    Unless it uses the old DOS boot loader but does not ship with it, which would be very weird.

    In any case, you can download DOS boot disk images from bootdisk.com and fdisk /mbr, no problem. (if you don't have a flyppy drive, just use the image to make a bootable CD.)

    1. Re:That's a weird problem.. by megabeck42 · · Score: 1

      Actually, you can boot DOS boot disk images from GRUB using memdisk!

      memdisk is a part of the syslinux package. You can write a rule for it in the grub config, or bootstrap it from the command line. Just use

      root [insert drive,partition here]
      kernel /path/to/memdisk
      initrd /path/to/bootdisk.image
      boot

      and voila! now he can fdisk /mbr and get rid of that pesky grub MBR.

      Another option, is boot up into linux and execute:
      dd if=/dev/zero of=/dev/[insert harddrive here] bs=512 count=1

      it should do a fine job of nuking your MBR and partition table.

      --
      fnord.
    2. Re:That's a weird problem.. by Kirth+Gersen · · Score: 1

      re fdisk /mbr: I think this might be a little exciting. You may want to Google for the new "volume bytes" field, which is needed for W2K and XP and which fdisk /mbr trashes.

  32. Ric Romero is an idiot by John+Nowak · · Score: 1

    Then he, showed me how to put a face to my new blog, taking out his digital camera.

    Wow.

  33. Call me a minimalist, but... by drakaan · · Score: 1

    syslinux is the bootloader for me, at least on all of my routers and firewalls. Sometimes, you need small, and that's not LILO or GRUB.

    --
    "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
  34. Yaboot by so1omon · · Score: 2, Funny

    I use Yaboot you insensitive clod!

    --
    i'm the jedidiahmarkfoster your parents warned you about
  35. Not just Linux users by Mostly+a+lurker · · Score: 1
    What utility do practically all Linux users use

    While it is true that Windows 98/ME users do not use a boot loader, all Windows NT/2000/XP/2003 users also have one. Further, even when using Linux as part of a multiboot setup, the Windows boot loader is sometimes the best to go for. That is especially true when there are multiple Windows systems. In a machine with both 64-bit and regular Windows versions alongside various Linux distributions, the cleanest approach is the Windows boot loader in conjunction with bootpart.

    1. Re:Not just Linux users by Anonymous Coward · · Score: 0

      Are you trying to define a boot loader by size? The boot sector of MS-DOS loads a file called IO.SYS, not at all unlike the way lilo works. There's even a command to install it called "sys", and the same function is present in "format". It's just not terribly flexible, and the same goes for their MBR; it loads the boot sector of the first active partition it finds. Meanwhile there's at least one open source MBR out there (in Debian, for instance) that can be configured to present the user with several choices for boot - and the MBR is less than 500 bytes. Many consider MS-DOS itself to be a boot loader; Novell Netware used to use it as such, with even the option to unload DOS after Netware started up.

  36. grub is best by mseidl · · Score: 1

    I like the fact that I can change boot arguements in grub, unlike lilo where you have to change the config file, and reinstall it. Im an intermediate linux user and from time to time I will make a mistake. :( Which means grubs flexibility is better for me.

    Im getting tired of the GRUB vs LILO debate. Grub is simply the best.

    1. Re:grub is best by Anonymous Coward · · Score: 0

      "Grub is simply the best."

      Yet it will not allow me to boot off of multiple disks in a RAID 1, or install an MBR on multiple disks in a RAID 1 array. Grub development seems to be following the timeframe of HURD development: meausred in eons. It's more like "Grub is simply not a viable option in a production environment."

      I do really like Grub. I wish it did the things I needed it to do. Until then it gets relegated to "useless-ware" status.

      Hint to Grub developers: if you want it to be used, I would really love it if it were possible for the boot loader to track down a kernel on an LVM 2 volume during boot so I could switch all my disk space over to LVM 2 pools...

  37. Huh? by Mr.+Underbridge · · Score: 1
    because unless you have a windows rescue disk (which I don't have, I don't even have a working floppy drive), and type "fdisk /mbr"

    Or a windows CD? If you can't find a single soul who will loan you a windows CD...I mean, come on.

    Linux needs to makes it as easy to remove these bootloaders as it is to install them.

    So you want linux...to reinstall the Microsoft bootloader for you? Riiiiiight.

    1. Re:Huh? by rinkjustice · · Score: 1

      Keep in mind my daughters computer is a PII 350. I have a copy of XP Pro but it won't even initialize (might be the disc or the computer).

      Maybe it's time I get her a new computer.

    2. Re:Huh? by Mr.+Underbridge · · Score: 1
      Keep in mind my daughters computer is a PII 350. I have a copy of XP Pro but it won't even initialize (might be the disc or the computer). Maybe it's time I get her a new computer.

      I'd say that's a rather old computer indeed, but probably not the problem. It could be the disc, because the disc when used properly boots initially into a DOS mode that virtually any PC can boot. In general, using a functioning Windows disc to redo the MBR is quite easy, I've done it after screwing up a Linux install on occasion.

  38. Correction... by pieterh · · Score: 1

    Any geek news site could argue the merits of a boot loader, but only on Slashdot could we go through the whole argument twice just to make sure the first time was not a coincidence.

    'cuse me while I go cut/paste some of the insightful comments from the first time this story was posted...

  39. Bootloaders are ugly! by Jarth · · Score: 1

    and static, well, unless you use windows, or apple/mac that's all i have to say 'bout them for now ... a bit dissapointed that bootloaders are still part of the 'we need some work here' part in the oss application sea.

    But i use grub, as it's prettyfiable though a slight bit of a mess to configure, liked lilo because it's simpler and just boots.

    --
    free dom(inion) - free energy - free your mind - whee!
  40. How to program a bootstrap loader by uriah923 · · Score: 5, Informative

    This article explains how to write your own boot sector. The tutorial includes assembly language code to demonstrate loading and executing a binary image from a FAT filesystem. It's also an interesting read if you want to understand the fundamentals of the X86 boot process.

    --
    -Brandon "How much you wanna make a bet I can throw a football over them mountains?"
  41. Except for one feature by dan+g · · Score: 2, Insightful

    GRUB still lacks LILO's incredibly useful feature of changing the default image to boot for only the next boot process. This functionality is not wholly replaced by the 'fallback' directive either. I use GRUB now but when I used to often dual boot I would use LILO for the ability to be able to say from the command line "boot windows" and then have linux be the default boot image again after I shutdown windows.

    1. Re:Except for one feature by wtarreau · · Score: 1

      GRUB still lacks LILO's incredibly useful feature of changing the default image to boot for only the next boot process.

      I have written a patch which does exactly that and I use it in production on a lot of small appliances. I wish I had the time to package it and to send it, it's fairly minimalist (about 15 kB patch). It was against 0.96.

      Willy

    2. Re:Except for one feature by mengel · · Score: 1

      Please do submit it! Even don't package it much...

      --
      - "History shows again and again how nature points out the folly of men" -- Blue Oyster Cult, 'Godzilla'
    3. Re:Except for one feature by fimbulvetr · · Score: 1

      Send it bad form then, just let them know it's not perfect and you haven't spent any time on it lately.

      A lot of time, patches show there is some commited interest in a feature and developers are a lot more likely to implement a feature if a patch (Even if it's old/incomplete/imperfect) is sent as opposed to some half-hearted request.

    4. Re:Except for one feature by jdoff · · Score: 3, Informative

      How about this?

      grub> savedefault --default=1 --once

      Use it in a script, type it by hand, put it in grub.conf, etc. Works for me.

    5. Re:Except for one feature by matthewn · · Score: 2, Informative

      Actually, this is possible. More cumbersome than with LILO, but it is possible. I've written about the method here. (Scroll down for the GRUB goods.)

  42. LILO is not in default installers anymore by stmr · · Score: 1

    when I try newer Linux distros every 6 months to see if they're good enough to fit my needs, I used to install using LILO so that I could add them to the XP Flex Boot manager.

    Last distros I tried all enforced GRUB. :(

    We need simple, people.

  43. Boot Loader Eye Candy? by DocLandolt · · Score: 1

    This may sound rediculous -- but is there any way to gussy up my boat loader a bit? I'm running GRUB right now with a dualboot for XP on my VAIO laptop (I know...Sony...but give me a break -- it's old). When I first boot, it plays the VAIO sound and drops a quick animation with the graphic. If it can do something like that during BIOS, how come my boat loader has to look like garbage?

    Any body know of any interesting hacks to make 'er a little more palatable?

    1. Re:Boot Loader Eye Candy? by jaymzter · · Score: 2, Informative

      Oh, I see. Claim Linux can't do something, then wait for everyone to fall over themselves to prove Linux is teh r0x0rs!!! This almost seems a troll since SuSe, Mandriva, and Fedora have been doing exactly what you're asking about for quite some time.
      Anyway, check out Bootsplash, it does what you're looking for.

      --
      If thou see a fair woman pay court to her, for thus thou wilt obtain love
    2. Re:Boot Loader Eye Candy? by DocLandolt · · Score: 1

      Yes, I'm a fscking noob...and no, I will never type that again -- your childish little language is foreign and queer to me -- one of the main reasons I've never bothered with Linux before -- people like you...

      That said, I'm sufficiently angry with Microsoft and bored with Windows and, for the most part, am in LOVE with what Linux and the community (apart from goobers like yourself) has to offer -- but there are clearly some shortcomings. I'm not much of a programmer, but in the coming months and years, I would love to do my part to help close a few of those gaps...

      One thing that I immediately notice every time I turn on my comp is the boot loader (GRUB in my case) -- and how unattractive it is. I was writing to ask if there was anything -- perhaps a layer that sits on top of GRUB or LILO -- that could spruce it up. I don't believe what you linked to was that -- after all, I'm running Ubuntu, and they have their own version of that -- the splash is not the boot loader...

      One really nice feature for any distrubution would be to default to a themed bootloader -- for instance, for Ubuntu, have that goofy little circle flash up on the screen with the timeout as defined in GRUB or LILO...and an 'escape for more options' or something...

      Then, graphically depict the different multi-boots available...it doesn't *seem* like it would be difficult to pull off, and would be a huge improvement over the Windows experience itself.

      Linux seems to get the little things right in a lot of places -- but in others, they could really win with the wow factor by *improving* on the Windows experience, rather than just trying to match it. This would be a nice touch -- and I would be perfectly happy to lay out the graphics and program it myself, if someone would just point me to some resources about what this may entail (how the graphics would need to be set up...what kind of language I would have to use that would run natively for all x86...how to completely parse the GRUB and/or LILO settings).

      Seems like a pretty easy project with a little bit of elbow grease. Does anyone know of a similar project in progress?

    3. Re:Boot Loader Eye Candy? by Ignominious · · Score: 1
      OK, well here's a snip of my Fedora Core 3 /boot/grub/grub.conf (on other systems may be called menu.lst):
      default=0
      timeout=8
      splashimage=(hd2,0)/boot/gru b/splash.xpm.gz
      hiddenmenu
      On my machine this makes the splash.xpm image show until timeout or a key is pressed. YMMV. The xpm image is compressed with gzip, hence .xpm.gz (man gzip in a term). [BTW slashdot may put extra spaces in above code.]
      Basically, you need to read all the relevant manuals and documentation for your distro and tools.
      GRUB:
      http://www.gnu.org/software/grub/

      If you want to add functionality like animation to a boot loader, good luck. You'd probably need to do a lot of research and read a lot of source code, either C or assembly.
  44. Not a showdown. by mkswap-notwar · · Score: 1

    Not really a showdown, more as just a description of the two most common bootloaders used by Linux.

    --
    "I reject your reality, and substitute my own!"
  45. The reason I use LILO by Scott+Wunsch · · Score: 4, Interesting

    There's one key LILO feature missing from GRUB, as far as I know: lilo -R

    This allows me to install a new kernel on a box I'm not in front of, and tell LILO to boot it by default for the next boot only. If the new kernel doesn't work, I only have to ask somebody near the machine to reboot it for me, and it'll come back up in my old, working kernel. With GRUB, I'd have to try to talk somebody through hooking up a monitor and picking the right kernel... when it's a headless colocated server located somewhere far away, that's not always an appealing idea.

    --
    \\'
    1. Re:The reason I use LILO by jaymzter · · Score: 2, Informative

      Amen to that! The current workaround is a script known as grub-reboot. Unfortunately it doesn't seem to come by default in Fedora, but you can download it off the net if you google it. Here's the man page

      --
      If thou see a fair woman pay court to her, for thus thou wilt obtain love
    2. Re:The reason I use LILO by spinfire · · Score: 3, Informative

      Grub can do it too.

      Check this out: http://gentoo-wiki.com/HOWTO_Remote_Kernel_Upgrade

    3. Re:The reason I use LILO by hackstraw · · Score: 1

      This allows me to install a new kernel on a box I'm not in front of, and tell LILO to boot it by default for the next boot only.

      Its been years since I've used LILO, but from what I remember, you had to either edit the lilo.conf file and then run the lilo command on each box, or just overwrite the kernel with the new one and then type lilo.

      The only difference that I know of is that grub does not need to be "run" to reparse the config file and change the MBR. grub is able to read its config file natively.

      I'm fine with both bootloaders, but grub has more features and is more flexible. Bootloaders don't do much, so long as they work, they are fine. I've found grub to be more handy in a bind. You can browse filesystems, look at files, pick a kernel, edit boot parameters, the works. Of course those latter features need to be done on the console of some type, but remotely I don't see too much of a difference between grub and lilo.

    4. Re:The reason I use LILO by TheOrquithVagrant · · Score: 2, Informative

      You missed the point of the original post.

      >for the next boot only.

      Note the "only". If the new kernel hangs at boot, or spontano-reboots, the next reboot after that will be with the old and safe kernel. Great for remote or headless/keyboardless machines. Grub has no equivalent to this, and its a reason I sometimes still use lilo.

    5. Re:The reason I use LILO by hackstraw · · Score: 1

      Grub has no equivalent to this, and its a reason I sometimes still use lilo.

      True, the only equivalent is that grub will boot a failover entry if the first kernel does not boot, it does not have the feature of booting once from one kernel, and then to another subsequent kernel after that.

      I can see the use for that when trying out untested drivers or new kernels on production systems.

    6. Re:The reason I use LILO by Anonymous Coward · · Score: 0

      FYI, you can do it also with GRUB. The -r syntax seems convenient; with GRUB it's not so simple. However, it appears to be very flexible; you can specify a whole chain of kernel images to try...

      But anyway it's right there in the documentation:

      http://www.gnu.org/software/grub/manual/grub.html# Making-your-system-robust

  46. Hmm by Elshar · · Score: 1

    I haven't read it yet, but I wonder if it mentions anything like the linux BIOS project one awhile back where it states that "The computer isn't yet ready for C code..." :)

  47. boot loaders are evil by Xonstein · · Score: 3, Interesting

    If there were two pieces of software which I would say actively ward off more people from installing Linux, it is the boot loader and X video driver config. Both of them can be installed without issue using any standard installer with a user accepting defaults, and the system can fail to boot properly which are very, very poorly documented to debug and repair, especially in a dual-boot scenario. Recently I did a Suse 10 install, and it installed a video driver which even prevented Sax from working. Also, although I installed it on a secondary partition on my primary boot drive, for some reason it decided to install the boot loader on some other drive. Both were a pain to fix, but I wouldnt know how a first-time Linux user would even know where to start.

    1. Re:boot loaders are evil by Arandir · · Score: 1

      If there were two pieces of software which I would say actively ward off more people from installing Linux, it is the boot loader...

      This isn't the fault of Linux, or of the boot loader. The fault lies instead with the concept of dual booting. Running multiple operating systems on the same computer is complicated, regardless of whether any of the operating systems starts with 'l' or not.

      The problem will be there even if you're dual booting between two different Windows installs. Really!

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  48. Grub works fine by btarval · · Score: 1
    This is pure nonsense; GRUB works fine. I have a number of VMWare installations which use GRUB. In fact, I avoid LILO like the plague, as GRUB has a lot more capability and is IMHO easier to maintain.

    Now, you might well be having some problems; I won't dispute that. But it seems like it's more specific to your own configuration.

    VMWare has an excellent support message board; I suggest you raise this issue over at vmware.com, and be sure to include the specifics of your configuration.

    Or just install any of the more recent RedHat distros. I've done that from Fedora Core to RH 6, and haven't seen any problems.

    --
    The best way to predict the future is to create it. - Peter Drucker.
    1. Re:Grub works fine by Gonzoman · · Score: 1

      I always find it interesting to see the number of "It didn't work for me therefore it is fucked" posts. I have been running linux as my primary OS for close to 10 years and have used both GRUB and LILO. Sometimes you actually have to RTFM or use Google to set things up in a non-default way. I am by no means an expert, but I have usually managed to get things working properly.

  49. Why I use LILO by Anonymous Coward · · Score: 1, Interesting

    I like to feel that my computer's components are carrying out their intended functions. Thus, the hard drive stores data, the processor calculates, and the Master Boot Record is in charge of saying what to boot.

    GRUB, on the other hand, wants data on my hard drive to be in charge of saying what to boot, and my MBR to point to a certain partition. This to me stinks of hack. I might accept such a thing booting Linux on say, an Xbox (note: xbox linux is actually way more hacky than this), but on a clean computer, there is no real need.

    This is all probably just my Slackware approach showing through though, and I certainly do accept all of GRUB's many many advantages, and commend their efforts.

    1. Re:Why I use LILO by Just+Some+Guy · · Score: 1
      Thus, the hard drive stores data, the processor calculates, and the Master Boot Record is in charge of saying what to boot.

      Um, no. The MBR is in charge of figuring out where the second stage of the loader is on the hard drive, loading it, and passing control to it. The main difference between GRUB and LILO in that respect is that LILO looks for a particular sector, while GRUB looks for a certain filename.

      --
      Dewey, what part of this looks like authorities should be involved?
  50. Doesn't work by rinkjustice · · Score: 1

    Error 27: Unrecognised command. That's what I get when I tried the uninstall command at the grub> prompt.

  51. LILO forever! by tie_guy_matt · · Score: 3, Insightful

    One of the things I love about linux is that you don't have to re-learn how to use everything with each version of the OS. So you know how to set all of the network setting under NT (that is to say you know where all the happy icons to do it are.) Well with 2000 and then again with XP you have to look like an idiot looking through all of the happy icons trying to find the right one to reset your network configuration (or whatever.) How often have you felt like saying "it was here under NT or 98 or 3.11 or whatever, so why isn't it here now?" Well it is not there anymore under XP! And you are going to have re-learn everything (and maybe re-train your staff) because someone says that this new way is better. If this new way is so much better why didn't they have it set up this way from the very beginning?

    I have used lilo from the beginning of my linux adventure. I know how to configure it and I know how it works. It does everything I need it to do (which is mostly just to load linux and maybe keep track of several kernels/ distros that I am playing with.)

    So why should I even spend 2 seconds trying to figure out how to use grub? Gentoo tells you to use grub by default. I say no I will always install and use lilo until grub does something that I want/need that lilo doesn't do. True if I were just starting out I would learn grub -- but that ship has sailed. Once I know how to do something I don't want to relearn it just because someone says I should.

  52. Showdown?! by tannhaus · · Score: 0

    Is it just me or is the tech community running out of things to compare? I mean, when we get to a showdown between BOOT LOADERS, we've sunk pretty low. LILO works for you? Use it. It doesn't? Use GRUB. Who really cares? Is anyone out there really getting excited about boot loaders that basically haven't changed in years?

    Tune in next for the ULTIMATE showdown: my jock itch verses my ingrown toenail! It's a matchup you DON'T want to miss!!!

  53. These IBM documents by skynare · · Score: 1

    I don't like these IBM's online documents. They are just rewrite of already known techniques, technologies..etc. I'm sure IBM's documenting these to use them in the court in case of a lawsuit..Maybe not. I don't work for IBM. And corporations suck because they don't benefit humankinds.

  54. Judge for yourself by Fujisawa+Sensei · · Score: 1

    Judge for yourself which is cleaner.

    Personaly I think the article is one of the worst articles I've seen from IBM. Omitting features from LILO, and failing to elaborate how complicated GRUB's command line interface can actually be.

    boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=100 compact default=Linux image=/boot/vmlinuz-2.4.18-14 label=Linux root=/dev/hdb3 read-only password=linux other=/dev/hda label=WindowsXP default=0 timeout=10 splashimage=(hd1,2)/grub/splash.xpm.gz password --md5 $1$opeVt0$Y.br.18LyAasRsGdSKLYlp1 title Red Hat Linux password --md5 $1$0peVt0$Y.br.18LyAasRsGdSKLYlp1 root (hd1,2) kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ initrd /initrd-2.4.18-14.img title Windows XP password --md5 $1$0peVt0$Y.br.18LyAasRsGdSKLYlp1 rootnoverify (hd0,0) chainloader +1
    --
    If someone is passing you on the right, you are an asshole for driving in the wrong lane.
  55. Have you tried by jd · · Score: 1

    ...any of these bootloaders? True, they're not so modern, but there's a good chance the Windows virus checkers will have been updated between then and now. Well, one would hope, anyway!

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Have you tried by crow · · Score: 1

      No, I didn't try anything else once I realized that Lilo could boot Grub. Sure, people have suggested a number of alternatives in posts, but I'm happy with my solution. (Yes, using something different might save a second or two in the boot time, but I don't really care.)

  56. Re:DUPE by ladybugfi · · Score: 2, Interesting

    Interesting, the original article by Francesca didn't make it to the front page, but a dupe from the prestigious "anonymous reader" did. This wouldn't have anything to do with the obviously female name, would it? Naah, sure girls can write interesting stuff, but dupes by anonymous submitters are just soooo much more convincing.

  57. Times when neither LILO nor GRUB is enough by gmkrishn · · Score: 2, Interesting

    There are situations where neither LILO nor GRUB seem to do the job. Here Syslinux can come in very handy. The cool feature of syslinux is that it allows you the ability to run your own custom code to decide which OS should be loaded. Here is an example taken from the syslinux mailing list:

    You maintain a bunch of multiboot machines, which should only boot into Windows during some part of the day, only into linux during some part of the day and give you a choice during the rest of the day.

    Issue 1: The OSes themselves are on the local machines, but definition of "part of the day" should be centrally administered

    Issue 2: People can bring in their laptop's and plug in to the network. But a malicious user should not be able to defeat this network administered definition of "part of day".

  58. Who cares? - You should never know its there. by PhYrE2k2 · · Score: 2, Insightful

    I'm really not trying to be a troll here, but a boot loader is such a small part of the OS. Nothing is saying you can't use LILO, GRUB, or any of the other smaller boot loaders out there (or bigger ones from former companies such as PowerQuest that also supported Linux). Each has their plusses and their minuses and they're all nicely documented in countless comparisons. Each distro has its own preference, but often gives you the option.

    So the answer is to use what you're comfortable with. It's not like we're comparing Zeus/Apache, Linux/Windows, Vim/Joe- this is a boot loader. It runs for fractions of a second and then you never see it again. If it does its job, you should never even know that its there.

    -M

    --

    when you see the word 'Linux', drink!
    1. Re:Who cares? - You should never know its there. by Anonymous Coward · · Score: 0

      I'm really not trying to be a troll here, but a boot loader is such a small part of the OS.

      In fact it isn't even part of the OS. It just loads the kernel.

      As to why you should care. If you often make mistakes by not updating lilo when you upgrade your kernel or need the ability to make changes to your boot options as you are booting then you will be best off with GRUB, otherwise it doesn't really matter.

    2. Re:Who cares? - You should never know its there. by hackstraw · · Score: 1


      Then there was EFI. Open standard, some open source, compatible with the BIOS, scriptable, able to be updated without a DOS floppy disk.

      This is the 21st century.

    3. Re:Who cares? - You should never know its there. by Anonymous Coward · · Score: 0
      If it does its job, you should never even know that its there.
      That's a mighty big "if" you got there mister.
  59. MOD PARENT UP! by rinkjustice · · Score: 1

    Suffice to say it worked like a beaut. ReactOS is now installed on my system!

    Thank you!

  60. Conclusion? The PC bios is a relic. by master_p · · Score: 4, Informative

    Why isn't the PC bios responsible for loading O/Ses? because the PC bios is a relic, a leftover from the days of 8086. Why aren't bioses 32-bit? why PCs still have to boot in real mode?

    Bootloaders are very clever pieces of coding, but their presence makes it difficult for PC bioses to be replaced.

  61. Check out this alternative... by Zondar · · Score: 1

    Written in ML (none of that sissy C++), supports just about any OS you can think of... The author wrote it because he needed a bootloader that would fit in the boot sector of a floppy, so it had to be tiny.

    http://www.docsware.com/docsboot/info.html

  62. Hell yea man by Anonymous Coward · · Score: 0

    /. at its finest!

  63. Another approach - how QNX does it by Animats · · Score: 4, Informative
    QNX has a rather different approach, because it runs on non-PC hardware and can't assume there's a BIOS to get things started. QNX uses a program called "mkifs" to build an "OS file system", which is a bootable image. This contains not only the operating system kernel, but any other programs and files you want available during the boot process. Even user programs and shared objects. You can build your own bootable image, with whatever programs you want in it.

    With this approach, there's no need to put drivers needed at boot time in the kernel. (Drivers are user programs under QNX.) The kernel doesn't need to know about disks. If you want a GUI during boot, you can have it. For embedded systems, the entire "OS file system" can be put in ROM, eliminating any need for a disk. For desktop x86 systems, there's a standard bootable "OS file system" which has all the usual disk and display drivers, the bus enumerators and plug-and-play handler, and the rest of the stuff needed to start an x86 PC. But all that startup stuff isn't in the kernel.

    This is especially useful when your target is something that doesn't have a keyboard and screen. That's why QNX does this. Doing it this way cleans much startup-only junk out of the kernel.

    The Minix 3 people, unfortunately, didn't get this, so their "microkernel" has more stuff in it than it really needs.

    1. Re:Another approach - how QNX does it by Anonymous Coward · · Score: 0

      I think you just effectivly described the initrd (mkinitrd)

  64. grub4dos/grldr -- avoid changing mbr entirely by Anonymous Coward · · Score: 0
    See my previous post on this. I had to do this on Windows 98 and a Windows XP box.

    This method avoids touching special sectors on any partition, and it doesn't mess with the existing windows boot at all. Drop two files into c:\, edit one of them, add a line to boot.ini, and that's it.

  65. SILO by Anonymous Coward · · Score: 0

    I prefer SILO.

  66. Win98 Steps On Any Loader... by Anonymous Coward · · Score: 0

    eventually. Despite your best efforts, Microsoft's OS will eventually "reach out and touch" anything other than it's own boot loader. They seem to use a probabilistic algorithm for this: it won't do it the first two reboots, but after that it _will_ get you!

  67. Too bad XOSL is abandoned by boa13 · · Score: 1

    I use XOSL on all my machines, it has the best GUI of all the bootloaders I've seen (GAG is a joke in comparison), and most of the features I need.

    Unfortunately, its author tried to start the development of a new version on SourceForge, apparently failed, and disappeared without releasing the source code. That was five years ago, nothing has moved since then. Thankfully, the PC architecture has not evolved much, so XOSL still works well. I could use a good support for USB drives, though. :-/

    1. Re:Too bad XOSL is abandoned by Anonymous Coward · · Score: 0

      Actually, the source code can be found at http://www.ranish.com/part/xosl.htm.

  68. Re:Conclusion? The PC bios is a relic? not. by Anonymous Coward · · Score: 1, Informative

    "Why isn't the PC bios responsible for loading O/Ses?"

    1. a BIOS cannot know all possible file systems (FAT-16? FAT-32? NTFS v 1,2,3..? Ext 2? 3? RiserFS 1,2,3,4... xfs?
    what if it is on a RAID (ie, multiple devices)?

    2. a BIOS cannot know how to handle parameters to all
          possible OS versions

    "Why aren't bioses 32-bit?"

    Some are. It depends entirely on the type of CPU and the memory handling capabilities of that CPU.

    "Why PCs still have to boot in real mode?"

    1. Because that is the only way to have access to the complete hardware.
    2. You have to have physical addresses to know how to map the virtual addresses to physical addresses. And SOMETHING has to setup that virtual to physical mapping.

    "Bootloaders are very clever pieces of coding, but their presence makes it difficult for PC bioses to be replaced."

    Nonsence. The bootloader is nessesary only because the BIOS doesn't know how to load an OS. If the BIOS could load a single OS, then there would only be one OS, and only one filesystem, which could never be updated.

    The PC BIOS is responsible to initialize the entire hardware to a known state (as in, memory works, the PCI bus is functional, the hardware plugged into the PCI is also in a known state). This alone is sufficiently complicated. Then it boots a loader...

    Now why can't the BIOS read that loader from ANY device attached?
    1. It can only load from devices it is programmed to load from. Such as a single IDE disk, or CDROM. Some can actually configure the USB and load from that. This is three different types of device. Four if you still include the floppy disk.

    2. It must know how to tell each device how (and where) to transfer the data into memory. Each device is different, and has a different handling.

    Some fancy controllers will include an extension to the BIOS that allows the BIOS to use these controllers for disk access. This has added one or two MORE configuration items to the "BIOS". (Think SCSI). Now what if there are TWO SCSI controllers... which disk? there could be up to 30 different drives across those two controllers. What about tape boots (as in catastrophic recovery)? SCSI CD boots?

    And the OS still isn't loaded. Only the information on where to load 512 bytes from.

  69. Linux calls this an "initrd" by Anonymous Coward · · Score: 0

    Either an initrd image, or a romfs image.

    1. Re:Linux calls this an "initrd" by Animats · · Score: 1
      They're similar. But for QNX, it's the basic startup mechanism. For Linux, it was an afterthought. So Linux has redundant machinery in the kernel to do what "initrd" and "linuxrc" can also do.


      Both appeared around 1996-1997, although the "initrd" approach didn't really become standard until 2000 or so.

  70. Skip to here: Thread Summary by carn1fex · · Score: 2, Insightful
    user 1 states that X is great because it does A, B and C

    user 2 replies X is totally lame because it doesnt do D and E, but Y does it awez0mex0rz

    user 1 replies that Y is fine but if you want to do A youre up shit creak.

    user 3 then makes the brilliant observation identical to the end of every other goddamn technical showdown that.. say it with me.. IT DEPENDS!!! OMFG +5 INSIGHTFUL! huzzah. Now move along, youre coffee is getting cold.

    --

    ---------

    No matter how thin you slice it, its still baloney.

  71. Lilo by Bruha · · Score: 1

    Who still uses lilo anymore? I have not seen it used anywhere in a few years.. yes I know it's a option on Gentoo but really who uses it?

    1. Re:Lilo by Slashcrap · · Score: 1

      Who still uses lilo anymore?

      People who can't be bothered to spend hours reading and re-reading the shitty GRUB documentation trying to work out how exactly they are supposed to refer to the second partition of their third SATA drive in fucking hex.

      In general, people who dislike unecessary complexity and don't want it getting in the way of anything important e.g. the booting of their workstations/servers.

      Somewhere I have an old Toshiba 486 laptop running a pre 2.0 kernel. It had no NIC and the floppy drive wasn't properly supported. I installed Linux on it using a custom boot disk with PLIP (IP over parallel port) support which I used to pull down the rest of the packages. And yet I cannot get my head round Grub. Perhaps I lack the required experience and initiative?

  72. Purist by Anonymous Coward · · Score: 0

    or idiot? Isn't the MBR just an abstraction on your hard drive? A contract between the BIOS and the OS? Which happens to be stored as *data* on that same hard drive?

    Just asking.

  73. The Dupe loader showdown by SebNukem · · Score: 1

    from the i-luv-dupe dept.

  74. Lilo. by caluml · · Score: 1

    I spent 2 days pertty much solidly, trying to get Grub installed on a DL360 (or was it a 380?) with a ReiserFS root, and an EXT2 boot. After much gnashing of teeth, and hair pulling, I gave up. I'm sure it can be done. I am. It can be done. I believe you. But what a lot of hassle, loading reiser 1.5 stages, and stuff. Sod that. Lilo, point at kernel, lilo -v after a kernel upgrade, and init 6.
    It's as retarded as the Debian boot disks not supporting the DL360 raid controllers. That was the last time I bothered trying Debian.

    1. Re:Lilo. by demon · · Score: 1

      I can only imagine that you were not using Debian sarge when doing this? I've installed Debian on a variety of HP's rackmount systems - including both the DL360 and the 380. Yes, including GRUB. This was not a challenge - I installed Debian on Compaq systems with SMART RAID controllers a good 5+ years ago (on a Compaq ProLiant 3000).

      However, I don't install with ReiserFS - ever. I won't touch it with a 10-foot pole, mostly because Hans Reiser is certifiable. (That's another thread, however.)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  75. grub is overall better... unless you're on 2TB+ by QuesarVII · · Score: 1

    Grub's biggest shortcoming right now is a lack of support for gpt partitions. To be able to use a raid larger than 2TB without carving it, you need to use a gpt partition table instead of a traditional dos style. lilo doesn't care about partition tables - it maps a specific location for the kernel, that's why it needs to be run every time. This hard mapping works with gpt, so for the large raids I've worked on, I've been forced to use lilo instead of the generally far superior grub.

    My love for grub is for the same reasons everyone else has given - primarily it's ability to be fixed where a similar problem in lilo requires a boot cd - this is INVALUABLE doing tech support with inexperienced customers that have screwed up their systems and can't find their boot cds.

  76. One Boot Loader, Coming Up by Schol-R-LEA · · Score: 1
    Verbum 0.01 and it's target

    Ok, so it's a piece of crap that only loads a tiny little snippet of code, which just prints a line of text and returns to the loader... but it's a boot loader, damn it. It's only meant to demonstrate how it's done, really. If anyone was wondering, it's written for Netwide Assembler, which handles some things differently from MASM. I would have posted it in my message, but apparently the lameness filter is itself too lame to tell the difference between code and spam.

  77. Re:Both! - weird by karearea · · Score: 1

    This is weird. There must be something funny about your virus protection then.

    I use McAfee VirusScan Enterprise and my dual boot PC has no issues. It boots Windows 2000 and linux from Grub with no issues, in fact there is also a DOS boot option - it all works beautifully.

  78. My favorite bootloader by mnmn · · Score: 1

    dd if=/root/kernel of=/dev/hda && reboot

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
  79. Milo for Alphas by sir+lox+elroy · · Score: 1

    Milo is the Alpha version of LILO it uses a small dos partition to boot off of.

    --
    Kosh: "Understanding is a 3 edged sword, your side, their side, the Truth."
  80. Debian and Grub by NotFamous · · Score: 1

    I've had a problem with debian or debian-based ditros on older machine. The problem has to do with the bios report drive size incorrectly larger hard drives. I have to set the drive to _not use_ LBA, install the OS, and then AFTER grub has been installed, I change the bios back to LBA. This includes debian, mepis, Linspire, etc. I assume it has something to do with how debian-based distros install grub and the fact that the bios may not be reporting the disk size correctly (when I switch to Large in the bios instead of LBA, the disk size is reported correctly by the bios). I've has no problem with non-debian based distros, and with any distro that uses Lilo. I've had no trouble with the BSD's. Just FYI.

    --
    Some settling may occur during posting.
  81. Re:Conclusion? The PC bios is a relic? not. by njh · · Score: 1

    How does OpenFirmware, which can do all of thing things you suggest it can't, fit in your world-view?

    A bios these days could easily include a programmable shell, some autodetection code for hardware available at manufacturing time, space for a few kernels and device drivers, and cost no more than existing flash bioses.

    To be honest I found you diatribe amusing considering that everything you claim impossible was available on higher end systems 20 years ago.

  82. Something is configured wrong. by msobkow · · Score: 1

    Partition drive. Install WinXP to C:. Use boot disk to install Linux on another partition/drive, and let it install GRUB.

    No problems in 5+ years with McAfee, Norton, F-Secure, or any other virus protections I've used.

    The one catch is you need to disable BIOS MBR protection during your installs and updates, but as I've never heard of anyone stopping a virus via BIOS "anti-virus" support, I just leave the "protection" disabled.

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:Something is configured wrong. by crow · · Score: 1

      Yup, something is configured wrong, but it only munges the MBR if I boot Windows; it can repeatedly boot Linux just fine, so it's something that happens after the BIOS passes control to the OS. The Windows installation is a corporate standard image, which is probably significantly tweaked in weird ways.

      So there's probably something I could have fixed, but I used the tools that I knew, and now it works just fine.

  83. Re:Conclusion? The PC bios is a relic? not. by ChunderDownunder · · Score: 1
    And x86 PCs generally don't use OpenFirmware; Macs do on PPC.

    Speculation surrounds Apple's rumoured x86 release (some rumours claim this month) whether they will adopt Intel's EFI, an OpenFirmware substitute.

    Intel has been working on EFI for 7 years. Traditional PCs typically ship with BIOSes because of legacy operating system and hardware support. Apple would have no such problems due to building a new platform. Plus, particularly in the notebook space, designs will be heavily influenced by Intel.

    My point in mentioning Apple? That other manufacturers may follow suit once any quirks are worked out and Vista ships.

    There's already a linux bootloader, elilo for EFI, developed originally for Itanium.

  84. EFI is somewhat problematic by Anonymous Coward · · Score: 0

    EFI is somewhat problematic; I looked at EFI because of the IA64 work in FreeBSD; there are now two versions of it (three, if you count IA64), and it is effectively running the driver in a virtual machine environment (DXE - the Driver eXecution Environment). Think what it would mean to your poor Linux box to have all your drivers running in something like Perl or Java.

    Another problem is that you effectively need a physical partition per boot path you want to be able to support (there are hacks around that, but that's what they are: hacks - the specification is very clear on this point). By default, the reference implementation only supports VFAT32, although there's work on a couple other FS's "in progress".

    The EFI drivers are useful to get bootstrapped, but not for running the machine; for that, you replace them with real drivers. The one advantage EFI has is that the DXE makes the drivers relatively architecture independent, at least until you get to the point you are trying to replace them with real drivers.

    It remains to be seen if machine manufacturers will keep EFI running after the system is started (the EFI people want them to, if you read the web site), or whether it politely goes away so you can have your memory back and execute things in bounded time without the DXE eating cycles out from under you (like the BIOS in a Windows box or Open Firmware in a Macintosh).

    FWIW, I've dealt with hacking boot loaders for various machines since 1979, and the thing I always want most from them is for them to go away when they're done with their job.

    --AC

  85. Re:Conclusion? The PC bios is a relic? not. by mixmasta · · Score: 1

    Don't forget EFI, either.

    --
    #6495ED - cornflower blue
  86. Not quite true by eclectechie · · Score: 1

    From the article:

    You can store the boot record of only one operating system in a single MBR, so a problem becomes apparent when you require multiple operating systems.

    Not quite true, because the program in the MBR is not necessarily a part of any specific operating system.

    Remember those four primary partitions? EACH one of those can contain a different operating system, and the MBR will boot whichever one of those four is marked as active.

    DOS FDISK can be used to mark a partition active, allowing you to boot a different operating system on the next boot. From that other operating system you would need to be able to do a similar manipulation to boot into DOS again.

    Of course, this is a PITA compared to making a selection at boot time...

    --
    "The empty vessel makes the greatest sound." -- William Shakespeare; Henry V, 4. 4
  87. flame!! by darth_linux · · Score: 1

    Long live LILO. all other suck!

    --
    Power to the Penguin!
  88. Mod parent up "Informative". by theTerribleRobbo · · Score: 1

    I ran out of mod-points a couple of days ago. :(

  89. Boot loaders are tiresomely complex by Anonymous Coward · · Score: 0

    Instead of boot loaders or operating system utils, the BIOS should be able to partition the hard drive into as many partitions as needed. OS installers and boot loaders should play nice and use only those partitions that have been assigned to them by the BIOS.

    Once BIOS controls hard disk partitions, one can install a large number of OSes (say 20) on a single machine.

  90. Solution: BootIt Next Generation aka BING by macraig · · Score: 1

    BING is tricky: it stores multiple customized MBRs, and then loads whichever one is appropriate for the boot configuration which you choose. It also has an option to support MORE than four primary partitions; when that's enabled, not only does that let you have as many environments as you please, usually with no worries about OS conflicts with partition sizes and locations, you can quite literally dictate exactly which volumes are visible to which environments. It doesn't just merely mark those volumes as hidden, it removes them from the MBR/partition table which that OS uses to boot.

    The only downside, and I'd think it's a small one for most people, is that (using the extra primaries option) you can no longer use other partition management software, because it no longer knows the physical layout of the volumes and would corrupt the ones it can't "see". BING has decent built-in partition management, however, even supports imaging to USB opticals. It might also be a bit less technical and dumbed-down for yer ma and pa, but it's fine for geeks.

    Made by Terabyte Unlimited: http://terabyteunlimited.com/

    Mark

  91. Bootloaders have it all wrong by Mystic0 · · Score: 1

    Why do we have lilo and grub pointing to the kernel image? The bootloader is doing more than it should. It's better to simply handoff control to a partition on the disk and let the operating system load itself. For example, I use the NetBSD bootloader, which simply prints two lines of text: Plan 9 and NetBSD. I simply hit 1 for Plan 9 and 2 for NetBSD, and it hands control off to the OS. GRUB and LILO make things overly-complex.

  92. Pat just hates the letter "G" by trigggl · · Score: 1
    I just think Pat hates the letter 'g'. He removed Gnome. He doesn't use Grub. Next he'll find a way to remove gcc. CC anyone?

    I'm surprised Slackware still has 'G'ames.

    --
    Ops, I shuld have usd the prevuwe but in.
  93. Re:Conclusion? The PC bios is a relic? not. by master_p · · Score: 1

    a BIOS cannot know all possible file systems

    A bios shouldn't have to know all the possible filesystems. All the bios needs to know is the sector adress of the kernel image on the disk.

    a BIOS cannot know how to handle parameters to all possible OS versions

    It shouldn't have to. All that is needed is for the bios to place parameters in a standard place in memory, so as that when the kernel loads, the kernel knows where to find the parameters.

    Some are. It depends entirely on the type of CPU and the memory handling capabilities of that CPU.

    Some are...1 in a 100,000 perhaps? personally I have never seen a 32-bit bios. That can not be considered 'some are'.

    Because that is the only way to have access to the complete hardware.

    No, it is not. PCI device autodetection works in protected mode too. PCs should boot in 32-bit flat ring 0 mode.

    You have to have physical addresses to know how to map the virtual addresses to physical addresses. And SOMETHING has to setup that virtual to physical mapping.

    You are wrong again. Being in 32-bit mode does not mean that you have to have a virtual address space.

    The PC BIOS is responsible to initialize the entire hardware to a known state (as in, memory works, the PCI bus is functional, the hardware plugged into the PCI is also in a known state). This alone is sufficiently complicated. Then it boots a loader...

    I do not understand why people put up with it though. There is a better way: the bios boots in 32 bits, sets up the hardware, then reads the O/S list from the hard disk (the first few sectors, a pre-arranged setup that can hold more than 4 entries, let's say 16 entries), then loads the default one or presents a menu to the user for which O/S to load. Then the bios loads the disk image from the kernel in a specific memory position, then jumps to the kernel. It's dead easy, and writing O/Ses becomes much easier, without having to write a complicated program called 'a boot loader' which goes through 1st stage, then 2nd stage, then jumps between real and protected mode until the whole O/S is loaded.

    Now why can't the BIOS read that loader from ANY device attached? 1. It can only load from devices it is programmed to load from. Such as a single IDE disk, or CDROM. Some can actually configure the USB and load from that. This is three different types of device. Four if you still include the floppy disk.

    I fail to see how your quote is of any relevance to the topic under discussion.

    It must know how to tell each device how (and where) to transfer the data into memory. Each device is different, and has a different handling.

    Yeah, so? that's what protocols are for.

    Some fancy controllers will include an extension to the BIOS that allows the BIOS to use these controllers for disk access. This has added one or two MORE configuration items to the "BIOS". (Think SCSI). Now what if there are TWO SCSI controllers... which disk? there could be up to 30 different drives across those two controllers. What about tape boots (as in catastrophic recovery)? SCSI CD boots? And the OS still isn't loaded. Only the information on where to load 512 bytes from.

    Again, irrelevant.

  94. Re:What utliity do practically all Linux users use by peterfa · · Score: 1

    Hahaha, that's painfully true.