»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-04-2003, 09:16 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Location: Little Rock, AR
Posts: 247
chapmc is on a distinguished road
Is there a Linux command like copydisk?

I'm a Linux newbie. I tried to make a copy of my boot floppy just to have a backup. Linux is installed on a second hd and I need to boot with a floppy. I tried using DOS diskcopy a: a: but it doesn't like the floppy format. I couldn't figure out how to use 'dd' for this. Can it copy an image? (duplicate a floppy track by track)
This isn't a big deal I just am curious.
Thanks.

chapmc is offline   Reply With Quote
Old 12-04-2003, 09:29 PM   #2 (permalink)
Registered User
 
Kc2iLq's Avatar
 
Join Date: Dec 2002
Location: N'oleans
Posts: 1,932
Kc2iLq is on a distinguished road
Send a message via AIM to Kc2iLq
why not just open up the floppy in a terminal window, make a temp folder in your home directory, and use:
Code:
cp *.* /home/temp/
Then do the same thing to copy it back to the new disk.

-Kc2iLq
Kc2iLq is offline   Reply With Quote
Old 12-04-2003, 09:32 PM   #3 (permalink)
Registered User
 
zepper's Avatar
 
Join Date: Sep 2002
Location: Finger Lakes area NY
Posts: 687
zepper is on a distinguished road
Food

Most versions of Linux come with a DOS emulator (if not you should easily be able to find a copy to DL). Just open a command line session and run it. You should then be able to run diskcopy within the DOSemu session. There may be a more direct way to do it, but I can't recall it right now.
..bh.
__________________
"Our Freedom is supported by five boxes: soap, ballot, jury, witness and if all else fails, ammo." ?author?
zepper is offline   Reply With Quote
Old 12-04-2003, 09:36 PM   #4 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
This should work.
Put original floppy in
dd if=/dev/fd0 of=floppy.image
Put in new floppy
dd if=floppy.image of=/dev/fd0

Check this page out for a full explination on how to do this using dd
http://www.geocities.com/tipsforlinux/articles/036.html

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 12-05-2003, 02:16 AM   #5 (permalink)
Registered User
 
lynchmob's Avatar
 
Join Date: Oct 2001
Location: Mid-Atlantic
Posts: 1,361
lynchmob is on a distinguished road
I'm kinda surprised that no one has an interactive script for doing this?
I do it jkrohn's way.
lynch
__________________
Seldom right,but never in doubt...
lynchmob is offline   Reply With Quote
Old 12-05-2003, 02:48 AM   #6 (permalink)
Registered User
 
CMonster's Avatar
 
Join Date: Oct 2001
Location: Sunny, smogy Southern California
Posts: 5,350
CMonster is on a distinguished road
for clarifications

if (input file)

of (output file)

not "if" as in "if" you understand and not "of" as in "of" which I am speaking --just had to say that becasue I was confused as a newbie
CMonster is offline   Reply With Quote
Old 12-05-2003, 06:41 AM   #7 (permalink)
Registered User
 
Join Date: Oct 2001
Location: Little Rock, AR
Posts: 247
chapmc is on a distinguished road
OK I tried
dd if=/dev/fd0 of=floppy.image
then
dd if=floppy.image of=/dev/fd0
and it copied the original floppy ok (I guess).
When I tried to boot from the new floppy I get "Boot failed".

Maybe I need to format the floppy first. I was formatted under dos.
jkrohn -- That is a great link to info on "dd". Thanks.
chapmc is offline   Reply With Quote
Old 12-05-2003, 01:11 PM   #8 (permalink)
IQB
Registered User
 
Join Date: Oct 2003
Posts: 5
IQB is on a distinguished road
Send a message via ICQ to IQB
Quote:
Maybe I need to format the floppy first. I was formatted under dos.
Shouldn't matter. If the floppy's new the commands should have worked. Maybe there's a problem with the original boot floppy image.
IQB is offline   Reply With Quote
Old 12-31-2003, 04:01 AM   #9 (permalink)
Registered User
 
lynchmob's Avatar
 
Join Date: Oct 2001
Location: Mid-Atlantic
Posts: 1,361
lynchmob is on a distinguished road
Found one!
http://gd.tuwien.ac.at/linuxcommand....pt_library.php
__________________
Seldom right,but never in doubt...
lynchmob is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:18 AM.