LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2002, 06:21 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
Exclamation BIOS > Kernel - Mp3


How would one go about configuring a machine to boot from bios directly to the kernel? My goal is to speed up bootup process for a car mp3 player. Any Additional Ideas on increasing boot up speed?

Thanks.
Ben.
 
Old 03-02-2002, 06:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
unless you specify for the bios to boot or search other boot devices.. it should boot directly to the kernel, or at least start loading linux.. the only way to speed up the boot process is to limit what your loading into the kernel.. and services starting..

-trickykid
 
Old 03-02-2002, 06:59 PM   #4
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
Thanks! This is the first board i've registered on thats actaully active

As far as the first reply I received on this topic... How would bios know how to load vmlinuz? I've done SOME reading (and i plan on reading a LOT more after i finish this post) and i've heard some talk about how bios reads into the mbr of the bootup device selected and that if the kernel was in the mbr (o cylinder/ 0 sector(?)) it'll boot it up.. but how do you can the kernel to be placed at the very beginning of the drive?

Im sure the documents im about to read will help out but help from the community is more exciting

Im going to go get learned now.
Ben.
 
Old 03-05-2002, 05:32 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The speed difference you would win with placing your kernel in sector 0 instead of the bootloader is so minimal you wouldn't even notice the difference. If you have set the bootloader to no delay then it will instantly start loading the kernel. I'd say on a reasonable computer that would take maybe a few microseconds, if not nanoseconds.
You would win a lot more speed by doing what trickykid suggested. If it's a kernel just for playing mp3's I'm sure you could get the kernel smaller then 400k. You might also want to hack into all your bootscripts since a standard distribution will do a bunch of extra checks on bootup which you might not really need.
You might want to read the following howto
http://www.linuxdoc.org/HOWTO/From-P...mpt-HOWTO.html

It explains the whole bootprocess which might help you to find out which parts you could skip.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
The kernel and BIOS killerbob Slackware 1 06-12-2005 09:47 PM
Kernel Will No Longer Boot After BIOS Upgrade Sylant_Daemon Linux - Hardware 2 12-05-2004 11:07 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 12:07 PM
What's this edd bios stuff in the 2.6 kernel? MalcolmV8 Linux - Software 2 03-31-2004 10:52 AM
Is it possible? ..kernel flashed BIOS Lempour Linux - Hardware 3 01-18-2003 05:28 AM


All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration