LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2003, 07:16 AM   #1
radhapriya
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Rep: Reputation: 15
Invoking bootloader


Hello,
My embedded device includes a Linux
OS. I had to load my OS from hard disk into RAM. So i had to invoke the bootloader from my BIOS program. I am using LILObootloader. How shall
I invoke my bootloader from my BIOS program.
 
Old 03-27-2003, 07:45 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
radhapriya,

I'm not sure what problem you are having, could you elaborate more? Are you unable to use LILO.

I would highly recommend reading the LILO README file . It describes the disk layout used by PC's. Also read the <kernel src>/Documentation/i386/boot.txt for a description of how linux boots (the bzImage boots itself off a floppy). You might not need LILO at all. There are several books available about "arcane" PC knowledge, unfortunately my mind is blank on what the good ones are. There are many websites available that describe this processes. Try googling.

Basically, the standard PC BIOS loads the first sector off the boot device (floppy, hard drive, etc..), makes sure it is a valid boot sector (called the MBR on the hard drive.). If it is valid, the BIOS jumps to the code. LILO includes this code. If your BIOS implements int 13 ( I think, it's been a long time since I needed this), you should be able to install lilo on the hard drive, just like normal.

Hope that helps,
chris
 
  


Reply



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
Problems invoking DigiChat installer. akiru Linux - Software 2 07-28-2011 07:04 AM
Invoking the X Windows System in OpenBSD halfpower *BSD 4 07-31-2005 04:30 AM
Problem invoking user mago Linux - General 4 03-29-2005 04:25 PM
Invoking other processes velan Debian 2 06-04-2004 09:39 AM
Trouble Invoking JVM From C: Cannot Find libjava.so. eric.r.turner Programming 0 10-20-2003 10:36 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:12 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
Open Source Consulting | Domain Registration