Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-03-2003, 05:44 AM   #1
Registered: Feb 2001
Location: Badlapur, INDIA
Distribution: debian, Slackware & Small Distros
Posts: 83

Rep: Reputation: 15
Making Slackware bootable floppy

Dear All,
I have slack9 linux alongwith win98(only since some other family members too use this PC

I had made a slack bootable floppy and was booting Slack with floppy. Unfortunately the floppy is overwritten by something else.

My question is how do I make another bootable floppy for this Linux?

Thanks for your time and knowldge.
Old 11-03-2003, 06:37 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
If your system uses mkbootdisk, that would be much easier which is described below. The second method is abit more stuff to do but it works also.

Easy Way.
Create a linux boot floppy mkbootdisk - -device <device> < kernel version>
At the prompt, type: uname r ( to find the kernel version)
mkbootdisk - - device /dev/fd0 2.4.18-24.8.0

Harder Way. Not too bad though.
fdformat /dev/fd0 and mkfs.ext2 /dev/fd0

mount /mnt/floppy
cd /mnt/floppy
mkdir etc
mkdir boot
cp /boot/boot.b /mnt/floppy/boot
cp /boot/vmlinuz-2.4.18-24.8.0 /mnt/floppy/boot
cp /boot/initrd-2.4.18-24.8.0.img /mnt/floppy/boot

Start editing etc/lilo.conf (make sure you edit the one on the floppy).
In my example I am using the vi editor but you can use other methods to edit the /etc/lilo.conf if you want.

vi /mnt/floppy/etc/lilo.conf

Note: change the kernel version and root line to suit your system
Old 11-06-2003, 12:51 AM   #3
Registered: Feb 2001
Location: Badlapur, INDIA
Distribution: debian, Slackware & Small Distros
Posts: 83

Original Poster
Rep: Reputation: 15
But this all will work when my linux partition will boot.
I am not able to boot my linux partition. Also there is no fdformat command on my slackware Distribution CD.

Is there any way that I can recover my linux partition making it bootable without using anything else than my own computer, my slackware distribution cd and a blank floppy?

Please help.
Old 11-06-2003, 04:59 AM   #4
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
If your computer is capable of booting from CD (some older ones aren't), then you can use your install disc to boot. When it gets to the first prompt, type:

mount root=/dev/hda2 (assuming that your root partition is hda2, of course)

You can find more information about this in FAQ.TXT and BOOTING.TXT on the install disc.

Then you can use the makebootdisk command. In Slackware, you don't need to use any options, though. The command makebootdisk will launch a ncurses-based program that will guide you through the process of creating the floppy. But then again, unless you're planning to compile a custom kernel, you can skip making a boot floppy and always use your install disc to boot.

--- Cerbere

If you can't boot from a CD, then (in window$) read the file loadlin16c.txt in the /kernels directory of your install disc. It has instructions for booting from DOS to Linux.

Last edited by Cerbere; 11-06-2003 at 05:17 AM.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making bootable slackware install cd tesa Slackware - Installation 6 03-15-2005 02:31 AM
making floppy bootable with UniOS 1.1 goldeneagle Linux - Newbie 0 09-15-2004 02:08 PM
Installing Slackware with non-bootable CD or bootable floppy (but not both) TiddlyPom Slackware 2 03-22-2004 04:15 PM
Making a bootable floppy disk SMB3Master General 4 10-26-2003 06:25 AM
Making a slackware 9.1 bootable cd Gamer341 Linux - Software 3 10-07-2003 11:06 PM > Forums > Linux Forums > Linux - General

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