Slashdot Mirror


Anatomy of the Linux Boot Process

Donna writes "This article discusses detailed similarities and differences involved in booting Linux on an x86-based platform (typically a PC-compatible SBC) and a custom embedded platform based around PowerPC, ARM, and others. It discusses suggested hardware and software designs and highlights the tradeoffs of each. It also describes important design pitfalls and best practices."

9 of 170 comments (clear)

  1. The good thing about Linux by X43B · · Score: 5, Insightful

    What I like about Linux is never having to reboot except when it is time for a kernal upgrade. :)

    1. Re:The good thing about Linux by Claire-plus-plus · · Score: 4, Insightful

      What I like about Linux is never having to reboot except when it is time for a kernal upgrade. :)

      Or hardware installation :)

      --
      99 bottles of beer in 175 characte
    2. Re:The good thing about Linux by MikeCapone · · Score: 4, Insightful

      That is a good point, but it doesn't mean that the boot process can't be sped up quite a bit.

      It would especially be useful on laptops, or for people who like to save electricity by shutting down their computers when not in use.

  2. Proof reading? by FyRE666 · · Score: 4, Insightful

    They could have at least made sure the arrows on the diagrams were round the right way!

  3. Speaking of linux booting... by saskboy · · Score: 3, Insightful

    I've always found it disconcerting that a verbose boot is given by default. Before Linux goes main stream on the home desktop, the distros ought to slap a plain progress bar with a pretty picture [ie. Windows clouds or logos] and not show verbose details unless something is wrong with the boot, or unusual.

    --
    Saskboy's blog is good. 9 out of 10 dentists agree.
    1. Re:Speaking of linux booting... by supercowpowers · · Score: 3, Insightful
      After struggling with making my grandparents computer work with the Windows ME "recovery cd" that came with the computer (they didn't tell me I was going to be working on it, and didn't have the best of resources at hand...), I finally decided to just bite the bullet and install Debian and Gnome on it.

      I know, I know, Debian isn't exactly your "grandmother's distribution", but the distro in question is pretty irrelevant once I get to the point.

      Anyway, I set it up so they basically couldn't screw it up. They don't know the root password, GDM is set to automatically log in their user (yes, their, hilarity would ensue trying to get them to understand the concept of users) on boot, and the desktop has I think 5 icons, "user's home", "Computer", "Pogo Games" (they love this for some reason), "E-Mail" (evolution), "Internet" (loads google in firefox), and "Trash".

      They had to learn very few things to use this system, mainly what the icons do (which is easy because I made them visually huge and self explanatory), and how to shut down (Actions menu, not the Start menu)

      Some other measures I put into place, like making a backup of /home so I could log in remotely and fix it (I had to do this once, because one day the icon for pogo games magically disappeared, even though they "Didn't do anything, I swear!"), but this is really turning rambly really quick...just to give you an idea of how idiot-proof the thing is.

      They haven't had problems with it in about 2 months (since I installed it). Their usage is very basic, and this configuration serves them very well, since I can control the interface to be much less full of surprises than Windows.

      So the world is all well and rosy...well...not quite...

      I took no measures to clean up the default boot process, so it still outputs 'garbage' like
      APM Bios version 1.2 Flags 0x02 (Driver version 1.2)
      Entry f000:c64e cseg16f000 dseg f000 cseg len ffff, dseg len ffff
      Connection version 1.1
      AC off line, batter status high, battery life 82
      [and so on...]
      It fills the entire screen, and scrolls by so fast they couldn't comprehend it even if they knew what it all meant.

      So I've counted about 5 times so far where my grandmother asks something like, "Now, is all that writing going to come up for good now?" It really, deeply bothers them to see all that as opposed to a pretty Windows logo. Not that I blame them.

      So, that progress bar might be 'boring' to you, but it's blissful simplicity to somebody like my grandparents.

      (FWIW, I prefer to see it all on a 1024x768 framebuffer, because I want to know when something is configured wrongly but can still pass that stage failing silently)
      --
      Nyntändo-Schock!
    2. Re:Speaking of linux booting... by mickwd · · Score: 3, Insightful

      "It will zip up to a point, then spend 95% of the time stuck there, and then zip to the end."

      "On a somewhat unrelated note, I have also not figured out why Mandrake 10.1 takes far longer to boot up on a much more powerful computer than my Mandrake 10.0 system."

      Somewhat unrelated ???!!!

      Why don't you try pressing Escape just before the progress bar gets stuck, and find out which particular part of the boot process is causing all the delay. Mandrake may well be trying to set up some service or some piece of hardware that you don't actually use. If so, you can remove the item in question from you setup configuration. This probably explains why Mandrake 10.1 boots slower than 10.0 for you.

  4. Re:Arrows by teknomage1 · · Score: 5, Insightful

    Tradition! Seriously though, BIOS code is very old and designed to provide for the least common denominator.

    --
    Stop intellectual property from infringing on me
  5. Stop plagiarizing! by Osty · · Score: 4, Insightful

    From the Slashdot submission:

    This article discusses detailed similarities and differences involved in booting Linux on an x86-based platform (typically a PC-compatible SBC) and a custom embedded platform based around PowerPC, ARM, and others. It discusses suggested hardware and software designs and highlights the tradeoffs of each. It also describes important design pitfalls and best practices.
    And from the actual article:
    This installment of "Migrating from x86 to PowerPC" discusses detailed similarities and differences between booting Linux on an x86-based platform (typically a PC-compatible SBC) and a custom embedded platform based around PowerPC, ARM, and others. It discusses suggested hardware and software designs and highlights the tradeoffs of each. It also describes important design pitfalls and best practices.
    Replacing the string "This installment of "Migrating from x86 to PowerPC"" with "This article" and replacing the word "between" with the phrase "involved in" is not sufficient to serve as summarization in the submitter's own words. Somehow I have a hard time believing that the submitter "Donna" and the article author Lewin Edwards are one and the same person. If I'm wrong, then fine. You can't plagiarize yourself. If I'm correct, then Slashdot's done it again. The article summary isn't an original work by Donna, but a minor modification of the article author's own summary, and should be properly attributed as such.