LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2003, 02:48 AM   #1
domeili
LQ Newbie
 
Registered: Oct 2003
Location: china
Distribution: Red Hat Linux 9
Posts: 22

Rep: Reputation: 15
Question what does "boot.b" do?


What does "boot.b" in 'lilo.conf' do ?
When I learn linux,I encouter many technique terms which I don't know at all.More and more terms come to me ,confused me.Sometimes I think that I can't go on any more.Linux is a great operate system written by many people,and like you, I want to join it also.How can I go on step by step?
Thanks all!
 
Old 12-09-2003, 03:06 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Tells LILO what to use as the new boot sector. This file contains the "bootstrap" code that starts your operating system. Don't mess with it.
 
Old 12-09-2003, 03:07 AM   #3
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
courtesy
http://www.control-escape.com/linux/lilo-cfg.html
 
Old 12-09-2003, 03:17 AM   #4
domeili
LQ Newbie
 
Registered: Oct 2003
Location: china
Distribution: Red Hat Linux 9
Posts: 22

Original Poster
Rep: Reputation: 15
jayakrishnan thank you 'boot.b' is a file ,After I cat boot.b ,it shows me a mess.why?
 
Old 12-09-2003, 03:18 AM   #5
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
type this

file boot.b

and see what kind of file its says
 
Old 12-09-2003, 03:21 AM   #6
domeili
LQ Newbie
 
Registered: Oct 2003
Location: china
Distribution: Red Hat Linux 9
Posts: 22

Original Poster
Rep: Reputation: 15
boot.b: data
 
Old 12-09-2003, 03:40 AM   #7
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
contents of a file of type data will always display like that, its almost like a .exe file
 
Old 12-09-2003, 03:55 AM   #8
domeili
LQ Newbie
 
Registered: Oct 2003
Location: china
Distribution: Red Hat Linux 9
Posts: 22

Original Poster
Rep: Reputation: 15
how can read it and understand it then?
 
Old 12-09-2003, 04:01 AM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try the lilo source code
 
Old 12-09-2003, 04:43 AM   #10
domeili
LQ Newbie
 
Registered: Oct 2003
Location: china
Distribution: Red Hat Linux 9
Posts: 22

Original Poster
Rep: Reputation: 15
Demonbane
what do you mean?
 
Old 12-09-2003, 09:14 AM   #11
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
domeili,

Because I don't know how familiar you are with boot loaders, I'll tell the whole story:

- the linux kernel is the actual Operating System we call Linux. It's typically stored in the file /boot/vmlinuz.
- To load an OS kernel, you need some program to load it from the disk. However, when your computer starts it doesn't have any clue about partitions, file structures, or what so ever. The only thing it does, is looking for the startup code in the first sector of your floppy/hard drive.

This block is loaded in the memory, and your computer starts running it. ...eventually is is supposed to get your computer alive. ..and this is the task lilo does: loading a kernel from some hard drive sector and running it. lilo also offers a nice menu where you can choose a kernel or an alternative operating system. (ie chain-load another loader, like the NTLDR for windows xp)

Microsoft Windows XP for example, does something similar. XP uses a program called NTLDR to load it's kernel.. (NT loader) It's the way an operating system works.

After changing /etc/lilo.conf, you need to run "lilo" to update your boot loader.
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 04:36 PM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM


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