Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2005, 12:37 PM   #1
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, 12:39 PM   #2
Registered: Jul 2004
Distribution: Slackware
Posts: 32

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

Rep: Reputation: 33
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

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
Insert a formatted floppy into the drive... of course

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


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

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration