There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop drive driver drivers error ethernet excel freeze gaming google hard drive hardware hdmi internet laptop malware memory missing monitor motherboard mouse network printer problem ram registry router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Dd

Reply  
Thread Tools
BTex's Avatar
Senior Member with 602 posts.
 
Join Date: May 2002
Location: Northern Virginia
Experience: Advanced
19-May-2003, 03:41 PM #1
DD
I have heard about a dd command that will duplicate a disk or image. could someone pass on a little more info a command line for an example or somthing along those lines

Last edited by BTex; 19-May-2003 at 04:53 PM..
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
20-May-2003, 06:27 AM #2
Sure
Say you want to create an emergency bootdisk:
dd if=/boot/vmlinuz of=/dev/fd0 bs=8192
if=uses the specified filename as the input file
of=same as if but points to output file(in this case the floppy device)
bs=specifies the size of the input and output bit streams in bytes.
This command does a whole lot more than create bootdisks.It can be used for backup(slow) convert text from lowercase to uppercase,convert to other formats.You can even make a real-time copy of a CD:
dd if=/dev/hdx | cdrecord -v speed=xx dev=x,x,x fs=8 -data -
The x's are for your cd-drive (hdb maybe) cd-burner speed(speed=12) dev=0,0,0 as specified in cdrecord -scanbus as your burner's scsi ID number.
The only thing I've used dd for is the bootdisk task;I found the CD copying trick in a book called Linux Server Hacks from O'Reilly.
HTH
lynch
__________________
seldom right,but never in doubt...
Here's a few links I find helpful:
Intro to Linux:A Hands-on Guide
USALUG
A little Linux help
OpenSUSE help+
Bash Commands
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:37 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.