LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2005, 11:37 AM   #1
BlueKnight
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Where are boot.s and chain.s??


I have been trying to make a floppy with lilo on it, but all places where I have been looking for information talks about chain.s and boot*. These are _not_ in my /boot. Nowhere can I find information about these and how you can make/get them. Now I'd like to get some expertice on this issue. Can anyone help me? Thanks!
 
Old 02-25-2005, 11:39 AM   #2
BlueKnight
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 15
Of course I meant .b (chain.b)
 
Old 02-25-2005, 04:45 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Hi,
from Lilo man page
When lilo writes a new boot sector, it preserves
the former contents of the sector in a file, named
by default /boot/boot.NNNN, where NNNN is the hex_
adecimal representation of the major and minor
device numbers of the drive/partition. This option
specifies the backup save file in one of three
ways: a save directory (default is '/boot') using
the default filename 'boot.NNNN' in the specified
directory; a pathname template to which '.NNNN' is
appended (default would be '/boot/boot'); or the
full pathname of the file, which must include the
correct '.NNNN' suffix. When used with the -u
option, the full file pathname must be specified.

chain.b is the part of lilo that boots "non Linux" operating systems (ie DOS. Windows, BSD). It is not usually specified in /etc/lilo.conf as it is automatically written to the boot sector, unless a "non standard" chain loader is required. In case it must be specified in /etc/lilo.conf.
The chain loader basic function is to read the partition table.
Hope this helps
Ciao

If you want to istall Lilo on a floppy, just edit /etc/lilo.conf at the occourence of
boot = /dev/hdx
change to
boot = /dev/fd0
and as root
lilo -v -t (just to make sure everithing is going fine), then
lilo
Insert a formatted floppy into the drive... of course
Ciao

Last edited by urka58; 02-25-2005 at 04:53 PM.
 
  


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
iptables chain modification gizza23 Linux - Networking 2 07-10-2005 05:45 AM
How can I chain boot GRUB (Fedora) from LILO (Slackware)? DaneM Linux - Distributions 6 07-06-2005 04:25 AM
what is tool chain? blackzone Linux - Hardware 1 09-23-2004 04:30 AM
Missing boot.b and chain.b files sonofdbn Linux - Newbie 3 03-12-2004 09:52 AM
no chain/target/match creznedmick Linux - Networking 1 03-08-2004 04:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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