From owner-freebsd-questions Sun Feb 11 2:50:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by hub.freebsd.org (Postfix) with ESMTP id 2442237B491 for ; Sun, 11 Feb 2001 02:50:32 -0800 (PST) Received: from evileye (203-79-95-146.apx0.paradise.net.nz [203.79.95.146]) by deborah.paradise.net.nz (8.10.1/8.10.1) with SMTP id f1BAoKQ21501; Sun, 11 Feb 2001 23:50:20 +1300 (NZDT) Message-ID: <004301c09418$51e768e0$0101a8c0@evileye> From: "Mark Ibell" To: , "Bjarne Wichmann Petersen" Cc: "FreeBSD-questions" References: <200102110908.KAA00613@usr05.cybercity.dk> <20010211013315.J62368@rfx-216-196-73-168.users.reflex> Subject: Re: Moving setup from one HD to another. Date: Sun, 11 Feb 2001 23:49:31 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The thing to watch for here is that Sysinstall's labelling mechanism doesn't work very well for this sort of thing. What I do is: (i) Use Sysinstall's fdisk option to partition the disk. (I can't get cmd line fdisk to work for some reason!) (ii) Label the disk (e.g. disklabel -e ad1) (iii) Format, mount, etc (iv) Copy data using 'dump piped into restore' or 'pax' Also might have to do a './MAKEDEV' under dev to create the device entries before (iii). Cheers, Mark ----- Original Message ----- From: "Crist J. Clark" To: "Bjarne Wichmann Petersen" Cc: "FreeBSD-questions" Sent: Sunday, February 11, 2001 10:33 PM Subject: Re: Moving setup from one HD to another. > On Sun, Feb 11, 2001 at 10:06:08AM +0100, Bjarne Wichmann Petersen wrote: > > > > I need to move my setup from one HD to another. I could make a clean > > install, but I've spend a lot of time to get this setup just right, so I'd > > like to keep it. So, how do I go about that without choking on devices, > > symlinks and whatever traps lurks around? > > Pipe dump(8) output on each old partition to restore(8) on the new > one. > -- > Crist J. Clark cjclark@alum.mit.edu > > > 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