LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-22-2004, 06:50 AM   #1
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Rep: Reputation: 15
Making a boot CD for slack


makebootdisk won't allow me to make a boot floppy as my floppy is external on /dev/sda not /dev/fd?.

Can I make a boot cd? I will have to do this manually I guess but I am not sure what stuff to write?

Cheers
 
Old 02-22-2004, 08:24 AM   #2
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
Just found some stuff about manually making a boot floppy:

# fdformat /dev/fd0H1440 # Lay tracks on new diskette
# mkfs -t minix /dev/fd0 1440 # Create minix file system on floppy
# mount /dev/fd0 /mnt/floppy # Mount floppy
# cp -p /boot/chain.b /mnt/floppy # Copy chain loader
# cp -p /boot/boot* /mnt/floppy
# lilo -v -C /etc/lilo.floppy # Install lilo and the map onto floppy
# umount /mnt/floppy

Ok it makes sense up to the point where it says to copy the chain loader to disk. My /boot is as follows:

System.map boot.0302 config-ide-2.4.22 vmlinuz-ide-2.4.22
System.map-ide-2.4.22 boot_message.txt map
boot.0300 config vmlinuz



There is no chain.b! How I have managed to boot so far though lilo w/o this crucial file I am not sure but the stuff in /boot is just the default from when I ran liloconfig so I don't know what is going on??????
 
Old 02-22-2004, 10:31 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Where did you install lilo? in the MBR?
chain.b is used when there is an entry for loading windows or other operationg system. boot.b is (I think) the backup of your MBR that lilo makes when you run it. the diredtions you found are for making a lilo bootdisk which is not what the makebootdisk script uses. it uses syslinux. If you have syslinux installed you can manually make a boot disk. instead of addressing /dev/fd0 8first floppy), you'd point it at /dev/sda.
The lilo.conf file is /etc/lilo.conf. Anytime you make changes to your lilo.conf file you have to run ilo again so that it writes the new info to where you installed lilo.
If you have installed lilo to the MBR and just want to make a general bootdisk try syslinux. If you have lilo on the MBR and want to make a lilo floppy also, you'lll have to manually edit your /etc/lilo.conf and change the line:
boot=/dev/hda
to.
boot=dev/sda
I think all this will only work, in your case, if you machine is able to boot from USB. If not you'll need a special boot floppy that loads the modules for USB. There is an excellent resource for this and also a great HOWTO for making a custom Slackware bootdisk at the site for RUNT Linux.
There are instructions for making a bootable installation CD in the /isolinux directory on the Slackware site or on the CD
 
Old 02-22-2004, 11:01 AM   #4
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Original Poster
Rep: Reputation: 15
Thanks for the advice.

It was dawning on me about chain.b. I had lilo set up as dual boot untill this problem when I re-ran liloconfig and when with the default linux only ability.

I think my laptop bios can handle the USB floppy because once I left a floppy inside during startup and it tried to boot from it (my bios was set to boot from 1st removable drive). However, I would not put my morgage on it so I will look into the ISOLINUX cd on the slack site which you recommend.

Prior to this I was considering putting lilo on the superblock of / (hda2), I was hoping that I would have to only put the lilo.config on my floppy.

I only need this as a one of because my windows XP needs reinstalling. XP repair is a joke and so is the fact that it purges the MBR when it reinstalls.
 
  


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
Making slack ISO zaicheke Slackware 6 11-21-2004 06:00 PM
Making iso of slack-current thethinker101 Slackware 4 02-24-2004 07:01 PM
making a boot disk for slack 9.0 on xp veritas Slackware 1 10-25-2003 08:11 PM
Making hyperthreading work in Slack 9 MadRabbit Slackware 1 09-30-2003 10:13 AM
Having trouble with making Slack packages lostboy Slackware 4 05-18-2003 10:15 PM

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

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