There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tag Cloud
acer bios boot bsod computer connection cpu crash dell desktop driver drivers email error excel firefox format freeze hard drive hardware hijackthis install internet kb977165 keyboard laptop mac malware monitor network networking outlook outlook 2003 outlook 2007 password problem slow sound toshiba trojan usb video virus vista vpn windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Dd

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
BTex's Avatar
Senior Member with 589 posts.
 
Join Date: May 2002
Location: Northern Virginia
Experience: Advanced
19-May-2003, 02: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 03:53 PM.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
20-May-2003, 05: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
Closed Thread Bookmark and Share   techguy.org/134493

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 01:35 PM.
Copyright © 1996 - 2010 TechGuy, Inc. All rights reserved.
Powered by Cermak Technologies, Inc.