LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-03-2007, 09:15 PM   #1
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
Why no Instant booting for PCs?


I have Linux on both my NDS and my iPod, one thing that stands out on both of them is that Linux boots basically instantly on them and I am trying to figure out why.

After POST and the bootloader, the standard Linux boot procedure seems to be 2 parts, one is the kernel boot and the other is the Distro's booting stuff, such as hardware detection, udev, starting other services and xorg etc. While this stage is probably mostly skipped on a device like the NDS the initial kernel boot isn't, and it takes a long time to boot on a powerful desktop computer but a few seconds on a NDS or other device.

These are not powerful devices, NDS has only 2mb ram and the iPods probably not much diffrent.

Is it possible to strip down a desktop kernel to be an embedded type kernel,
preconfigure the hardware as much as possible rather then rely on autodetection to get an instantly booting system (up until services load at least).

Both devices are solid state storage, but the Linux kernel is less than 2mb so it shouldn't take very long to load into ram. But I have heard of flash based booting systems such as IDE to SD/CF card. Why are these so much faster if it only needs 2mb of space for the kernel, it should be 3 seconds to read the kernel from disk and a few ms seektime?

The LinuxBIOS project for instance gets to a Prompt in less than 3 seconds, and the OLPC project boots in several ms.
 
Old 03-04-2007, 04:24 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196
Blog Entries: 4

Rep: Reputation: 190Reputation: 190
Oh sure - the boot depends on what is going on and the micro devices have very little to do.

If you want to see some zippy boot processes for a PC - try the micro distros.

Damn Small Linux would boot most machines in under six seconds for eg.

You gotta remember that linux on a pc has a lot more to do on boot. Cut all those things out and it can be pretty instant.

Sure: customize a distro to your exact hardware.
 
Old 03-04-2007, 08:48 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
Investigate The Linux BIOS Project.
 
  


Reply

Tags
boot, booting, flash, time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What are you looking for in an instant messenger? Cipher3D General 9 03-02-2006 03:06 PM
instant messaging paul62 Slackware 2 06-15-2005 04:47 AM
Instant Message satimis Linux - Software 4 03-29-2005 08:45 PM
instant off >minimalist< Linux - Distributions 3 04-22-2004 01:30 PM
instant messaging mmls Linux - Newbie 2 06-12-2002 02:39 PM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration