View Single Post
Unread 07-25-2004, 10:59 AM   #137
cyrusuncc
Cooling Neophyte
 
Join Date: Apr 2004
Location: charlotte
Posts: 7
Default

Quote:
Originally Posted by jimeu
can anyone share a "dd" for dummies instructions ?
I have no unix experience.

I got a FreeBSD machine that I can use, and have the FreeBSD bootable drive as the primary drive, and attahced the old 30GB HD as the secondary primary and the new 120GB HD as the secondary slave.

With this in mind, what would be the command to clone our use the dd command.
if you can share a complete dummy experience I will greatly appreciate.

pd. also how to mount the drives so that the dd command will recognize the command and execute correctly.

thanks a million

Jaime
----------------------------
Linux DD for Dummies
----------------------------

it took this dummy a few hours to figure this out, so i'm here to spread the wealth!

ok, i'm sure freebsd uses the same command, but i use Knoppix bootable linux cd distribution (www.knoppix.com). You can just boot linux off a cd, and not mess with your current os. Knoppix ROCKS!

Setup both disks on IDE-0 (primary). Have the original disk as master, the new larger disk as slave.

1. Boot into Linux
2. Open command/terminal window
3. Type "sudo su" - this makes you root user, giving access to disks.
4. Type "dd if=/dev/hda of=/dev/hdb"
5. Wait a few hours, and your done! Its cloned!

------------
| Notes: |
------------
if for whatever reason, your hard drives are on a different configuration....

hda = primary ide, master
hdb = primary ide, slave
hdc = secondary ide, master
hdd = secondary ide, slave

if=input disk (original)
of=output disk (spiffy new drive)

so if your original disk was secondary slave, and the new disk was primary slave:
dd if=/dev/hdd of=/dev/hdb

also, after typing "sudo su", it makes you the root account. this allows access to all disks attached to the system, even if linux hasn't mounted it. You won't see the disks on the desktop, but you can still use the dd command.

Hope this helps. Let me know if it works out for you.

Last edited by cyrusuncc; 07-27-2004 at 10:07 AM.
cyrusuncc is offline   Reply With Quote