Find the answer to your Linux question:
Results 1 to 8 of 8
Hey all I'm interested in customizing a OS ( linux based ) that finish booting after only one second have any ideas where to start ?...
  1. #1
    RLg
    RLg is offline
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3

    One Second Linux

    Hey all I'm interested in customizing a OS ( linux based ) that finish booting after only one second have any ideas where to start ?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    I don't know that you will ever accomplish your goal, but Linux From Scratch might be a good place to start since it will teach you all about the inner workings of Linux and it should give you a good understanding of exactly what you can eliminate, or enhance to possibly achieve your objective.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,300
    That's ambitious!

    This is the fastest booting OS out there (on a standard desktop). When Linux Format reviewed it quite a while ago, it booted to a graphical desktop in about 3 seconds.

    It is pure assembler, so I doubt that a compiled C program will match it.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I run Debian Etch (2.6.21 kernel) on an ARM9 processor and it boots in under 1.5 seconds - 4 seconds if I also mount an external NFS volume and set the real-time clock with ntpd from an external internet time source, such as NIST.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    FWIW, that is booting off of an SD card.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    121
    Quote Originally Posted by Rubberman View Post
    I run Debian Etch (2.6.21 kernel) on an ARM9 processor and it boots in under 1.5 seconds - 4 seconds if I also mount an external NFS volume and set the real-time clock with ntpd from an external internet time source, such as NIST.


    How on earth is this possible? What do you have to do to Debian to get it booting in 1.5 seconds? I'd be very, very interested to know!

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    That's a minimal boot that doesn't start a lot of the services that would normally be running - remember that this is for an embedded system. Anyway, it's for boards I get from Technologic Systems PC/104 Single Board Computers and Peripherals. They provide a pretty complete set of tools. If you want, you can configure your system to boot the complete system, including X11, though that takes a few seconds longer. You can download the complete cross-compiling tool chain, kernel sources, etc. from their site. Naturally their kernel includes drivers for their hardware, but you can run the kernel configuration tools as you would normally and remove any unnecessary cruft for your situation.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,300
    Quote Originally Posted by Rubberman View Post
    FWIW, that is booting off of an SD card.
    Yikes! That's quick but I bet it doesn't fit on a floppy disk or look like ....

    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...