Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-14-2005, 12:00 PM   #1
Registered: Apr 2004
Location: India
Posts: 42

Rep: Reputation: 15
how to creare floppy images

hi everybody,

i am new to linux and learning kernel development and it is required to create a bootable floppy again and again which is frustrating. is there any way to create bootable floppy images directly with out making one from a real floppy so that it can tested on bochs.
if i am not wrong it is possible making links of /dev/fd0 but i am not sure how to do it.
any help is appreciated.
thanks in advance for help.
Old 10-15-2005, 02:11 PM   #2
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,201

Rep: Reputation: 51
I'm just guessing, but try

cat /dev/fd0 > floppy.img


dd if=/dev/fd0 of=floppy.img
Old 10-16-2005, 05:16 AM   #3
Registered: Apr 2004
Location: India
Posts: 42

Original Poster
Rep: Reputation: 15
yeah you are right but i dont want this way.
what i want is that i create a floppy image of data on the hard disk itself, the same way as mkisofs is used to create a iso image on hard disk.
main purpose of doing is to be able to test the floppy images on bochs.

any help??
thanks in advance.
Old 12-27-2005, 12:42 PM   #4
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, sometime others
Posts: 119

Rep: Reputation: 16
better latter than never, that's how to do this with a single floppy drive:

1) copy your data to the floppy

cd /your_data_directory
mount -t ext2 /dev/fd0 /mnt/floppy (adapt /dev/fd0 to where your floppy is located on /dev)
cp -R * /mnt/floppy

I check the data went well on to hte floppy, then

2) Make an image of the floppy :

umount /mnt/floppy
cat /dev/fd0 > /where_you_wanna_put/floppy.img
dd if=/dev/fd0 of=/where_you_wanna_put/floppy.img
As dracolich said

3) Copy the floppy image to another floppy :
cat /where_is_your/floppy.img > /dev/fd0
dd if=/where_is_your/floppy.img of=/dev/fd0


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 an iso out of floppy images missinghelix Linux - General 0 07-07-2004 05:38 PM
Floppy Images PhuckFonix Mandriva 1 04-18-2004 05:57 AM
Where can I get updated floppy images? lectraplayer Linux - Newbie 0 05-23-2003 06:00 PM
partimage Boot Floppy Images? falcon56215 Linux - Software 2 05-19-2003 03:36 PM
Creating floppy images. nutshell Linux - Software 2 07-06-2002 08:14 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:27 AM.

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