LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-25-2003, 11:25 PM   #1
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Rep: Reputation: 30
Question How do I make A Boot Floppy?


I want an emergency boot floppy from my hd installation. How do I make one? Mandrake has a tool for this-mkbootfloppy. Is there a debian equivalent? a CLI method perhaps?

Thanks1
 
Old 07-26-2003, 02:03 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Here's the system I have used which I got from one of the sites;

fdformat /dev/fd0 #lays tracks on floopy
mkfs -t minix /dev/fd0 #creates minix file system
cp -p /boot/chain.b /floppy #copy chain loader
cp -p /boot/boot* /floppy
lilo -v -C /etc/lilo.floppy #install lilo.floppy and the map onto floppy

Create lilo.floppy with an editor under /etc;
sample file; /etc/lilo.floppy

boot=/dev/fd0 #floppy drive location
map=/mnt/floppy/map #kernel location
prompt
linear
timeout=50
image=/boot/vmlinuz-2.4.18 #boot this kernel depends on your kernel
label=hd_linux
root=/dev/hda1 #depends on the drive location of your root
initrd=/boot/initrd.img-2.4.18 # specfic to system using initrd
 
Old 07-26-2003, 07:58 AM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
At the CLI as root type mkboot should do it.
 
Old 07-26-2003, 08:51 AM   #4
shishir
Member
 
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
mkbootdisk --device /dev/fd0 <kernel version>
 
Old 07-27-2003, 06:08 AM   #5
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally posted by shishir
mkbootdisk --device /dev/fd0 <kernel version>
I don't have mkbootdisk on my Slack.
 
Old 07-27-2003, 06:11 AM   #6
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally posted by BittaBrotha
At the CLI as root type mkboot should do it.
Tried this already and all I got on my floppy is vmlinuz file. And the floppy won't boot.
Any other steps to do after this? An additional file perhaps?
 
Old 07-29-2003, 08:59 PM   #7
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
It always work for me as a bootable floppy disk. I don't know why your's not working.

Try adding these parameters to it:

mkboot --device /dev/fd0 <kernel version>

Last edited by BittaBrotha; 07-29-2003 at 09:01 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
How to make boot floppy? Maxim16 Linux - Newbie 3 06-22-2004 10:51 PM
how to make a boot floppy? hasan Debian 3 01-13-2004 02:30 PM
Cannot Boot Linux - forgot to make boot floppy marsial Linux - Newbie 3 08-23-2003 12:39 PM
How to make the boot floppy? Gerardoj Linux - General 2 08-10-2003 06:51 PM
How to make a boot floppy? eForce Linux - Newbie 4 07-01-2002 06:53 AM

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

All times are GMT -5. The time now is 06:33 PM.

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