This will copy all files and make it bootable? Sorry but the search on
dd have no shown what I need. I need to copy my good drive with
everything to a new drive so I can put it in a new box and boot. 
Any other pages on dd? Google brought back a few that I am digging
through now.

What about this. Another nice BSD'er sent it to me.

1.Create slice on second's disks

2. Create partition and run newfs, when /dev/da0 - original disk and
/dev/da1 - other disk (for backup)

3. Mount set echo on

/sbin/mount /dev/da1s1a /mnt/root
/sbin/mount /dev/da1s1e /mnt/var
/sbin/mount /dev/da1s1f /mnt/usr

4. Copy 
cd /mnt/root
/sbin/dump -f- /|restore -rf-
cd /mnt/var
/sbin/dump -f- /var|restore -rf-
cd /usr
/sbin/dump -f- /usr|restore -rf-

Cheers

M;)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kirk Strauser
Sent: Thursday, January 09, 2003 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Drive Image / Cloning



At 2003-01-09T15:48:22Z, Paul Everlund <[EMAIL PROTECTED]> writes:

> # /bin/dd if=/dev/ad4 of=/dev/ad6 bs=16384

Not that the source drive *must* be mounted read-only (or the system
running in single-user mode) for the results not to be massively
corrupted.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to