How do you use dd for copying smaller hard drive to larger hard drive? - ResellerRatings Store Ratings
Comparison shop, read reviews, find savings, at ResellerRatings.com.
Comparison shop, read reviews, find savings, at ResellerRatings.com.
Comparison shop, read reviews, find savings.
What are you shopping for?
Digital Cameras Plasma and LCD
HDTv's iPods and Other
MP3 Players PC Laptops Camcorders

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-20-2003, 02:46 PM   #1 (permalink)
Registered User
 
Join Date: Apr 2002
Location: Georgia
Posts: 137
Jüš† ä gü¥ is on a distinguished road
How do you use dd for copying smaller hard drive to larger hard drive?

I know this is probably a very stupid question, but how do you use the UNIX/Linux dd command to copy the entire contents of one hard drive to another? The second hard drive is larger than the first, but I don't know how you specify when to stop or whatever. Really, ideally, I would just like the exact command-line which will copy the entirety of hard drive 1 to hard drive 2?

Assume /dev/hd0 and /dev/hd1 are the hard drives.

I mean, is it as simple as

dd if=/dev/hd0 of=/dev/hd1 bs=512
or what???

Also, how do you figure out the appropriate blocksize number? I just see 512 a lot, so I figure that is good, but I really don't know how to figure out correct blocksize number or if it even matters.

I don't care that the master boot record would end up all incorrect and yadda yadda on the larger disk, as that is fixable after the copy. I just want to know how to do this. ...thanks

__________________
Jüš† ä €öm¶ù†Ê® §ÇÌÈñŒ mÅjÒ®
Jüš† ä gü¥ is offline   Reply With Quote
Old 11-20-2003, 02:59 PM   #2 (permalink)
Registered User
 
Germ's Avatar
 
Join Date: Oct 2001
Location: Lat:36.5N, Lon:95.5W
Posts: 1,223
Germ is on a distinguished road
Send a message via AIM to Germ Send a message via Yahoo to Germ
bs is boot sector. resides in the first 512 bytes.

dd if=/dev/hd0 bs=512 count=1 of=/dev/hd1
__________________
How do you set this laser printer to stun??
Germ is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB 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
Cyberpowerpc.com Any Good? (10)

Recent Discussions
Cartman Covers Lady Gaga's (0)
tactical leds llc (0)
Cyberpowerpc.com Any Good? (10)
Like New Wacom 12x19 Intuos 3 +.. (1)
For Sale BFG GTX285 OC2 with 10.. (2)
www.szprice.com - any experienc.. (1)
Games, Cables, PCI cards, and m.. (5)
Buymoreshopping.com? Wigix.com (3)
I want your old/new unused pc p.. (6)
:mad: Spam At-hon (3)
Fall-Winter Cleaning Sale (1)
DON'T BUY.COM Advisory (232)
Is certifiedwatchstore.com legi.. (1)
Beware of used XBOX 360's (12)
Cheap Used Computers (0)

All times are GMT -6. The time now is 06:15 PM.