From owner-freebsd-questions Thu Jan 9 21:48:39 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7210B37B401 for ; Thu, 9 Jan 2003 21:48:37 -0800 (PST) Received: from mx20a.rmci.net (mx20a.rmci.net [205.162.184.37]) by mx1.FreeBSD.org (Postfix) with SMTP id DF80F43ED8 for ; Thu, 9 Jan 2003 21:48:36 -0800 (PST) (envelope-from massey@rmci.net) Received: (qmail 15877 invoked from network); 10 Jan 2003 05:48:31 -0000 Received: from dsl-ip-216-222-2-35.boi.rmci.net (HELO data) (216.222.2.35) by mx20.rmci.net with SMTP; 10 Jan 2003 05:48:31 -0000 From: "Mike" To: Subject: RE: Drive Image / Cloning Date: Thu, 9 Jan 2003 22:48:43 -0700 Message-ID: <005001c2b86b$f001daa0$0500a8c0@data> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <878yxus2iz.fsf@pooh.honeypot.net> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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