LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-02-2002, 08:45 AM   #16
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
not quite a guru...but...


heh, I'm no guru, but I can tell you what running lilo does.

Lilo installs itself in the bootsector which on a drive is 0,0,0

it's gotta be 512 bytes (I think it's bytes) long and end in 0x55, 0xAA

it's asm instructions of what to put in which registers, etc.

now that you know the REAL basics of it (I haven't delved into protected mode and the A20 gate) you should know what the bootsector does. it makes a jmp call to whatever sector (or if it knows how to look at the filesystem it calls the file) and pushes that onto the execution stack. running lilo doesn't do anything to your kernel, it just puts the location of the sectors your kernel sits on into the bootsector.
 
Old 07-02-2002, 01:48 PM   #17
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
and if you don't run it it will not work

 
Old 07-03-2002, 05:54 AM   #18
slack-penguin
LQ Newbie
 
Registered: Apr 2002
Location: Oz
Distribution: LFS 3.3 :)
Posts: 22

Rep: Reputation: 15
Yup

I found that out the hard way!!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Modules not loading in New kernel palanisaravanan Linux - General 1 11-22-2003 06:31 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM
kernel loading anoop_chandran Linux - Software 2 01-14-2002 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:14 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