LinuxQuestions.org
Review your favorite Linux distribution.
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 04-20-2004, 02:51 PM   #1
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Rep: Reputation: 15
floppy disk - image copy


this is probably a stupid newbie question, but i searched and couldn't find anything.

i have my boot floppy and want to make copies of it (an exact image).

tried this:


# cat /dev/fd0 > foo

it did make a 1.4M file called foo, then i inserted another disk

# cat foo > /dev/fd0


but when i tried to boot up on my new 'copy', it didn't work.

this is my config:

Intel motherboard
P4
NEC floppy drive on standard FDC controller
Slackware 9.1


i also have win2k, so any method for doing this either system would be appreciated. thanks.
 
Old 04-20-2004, 03:05 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

dd is better suited to this.
Create the image:
dd if=/dev/fd0 of=/root/floppy.img
Create a floppy:
dd if=/root/floppy.img of=/dev/fd0

if=In file
of=Out file
 
Old 04-20-2004, 03:22 PM   #3
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
thanks a lot.

i will try this when i get back on slack.
 
Old 04-21-2004, 02:40 AM   #4
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
the dd command didn't work.

also tried playing around with the dd options to change i/o block sizes and number of blocks, but i don't really know what i'm doing.

when i try to boot off the diskettes that i made with dd or with cat, it still has the linux version info at top, so apparently the program itselft gets copied, but its format is wrong.

is there a way to just make another boot disk, say, from X?

i know many distros have commands from the main menu that will make boot disks.

thanks for all your help!
 
Old 04-21-2004, 03:13 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,768

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
If you have syslinux installed try running
/sbin/makebootdisk
 
Old 04-21-2004, 05:33 PM   #6
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
thanks gnashley!

the /sbin/makebootdisk worked.
 
  


Reply


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
how to copy file in linux to floppy disk aiyong Linux - Newbie 3 10-17-2003 05:26 PM
How do i copy files to a floppy disk?? dsantamassino Linux - Newbie 32 05-30-2003 09:54 PM
How do I copy a floppy disk? kdmstng66 Linux - Newbie 3 04-22-2003 01:58 PM
How do I copy a floppy disk? kdmstng66 Linux - Newbie 1 04-22-2003 12:04 PM
using a floppy disk image as a partition antken Linux - General 6 02-16-2003 10:22 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration