Date: Thu, 9 Jan 2003 22:48:43 -0700 From: "Mike" <massey@rmci.net> To: <freebsd-questions@freebsd.org> Subject: RE: Drive Image / Cloning Message-ID: <005001c2b86b$f001daa0$0500a8c0@data> In-Reply-To: <878yxus2iz.fsf@pooh.honeypot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Kirk Strauser Sent: Thursday, January 09, 2003 9:37 AM To: freebsd-questions@freebsd.org Subject: Re: Drive Image / Cloning At 2003-01-09T15:48:22Z, Paul Everlund <tdv94ped@cs.umu.se> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005001c2b86b$f001daa0$0500a8c0>