From owner-freebsd-questions Fri Dec 22 10:55:38 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 10:55:35 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id 3434237B402 for ; Fri, 22 Dec 2000 10:55:31 -0800 (PST) Received: (qmail 35816 invoked from network); 22 Dec 2000 18:55:29 -0000 Received: from unknown (HELO tea.thpoon.com) (mail@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 22 Dec 2000 18:55:29 -0000 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 149XLl-000089-00; Fri, 22 Dec 2000 13:55:29 -0500 To: Odhiambo Washington Cc: questions@freebsd.org Subject: Re: Clone an installation (urgent help needed) References: <87n1dp5kfa.fsf@tea.thpoon.com> <20001222132434.A33983@poeza.iconnect.co.ke> X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com From: Arcady Genkin Date: 22 Dec 2000 13:55:29 -0500 In-Reply-To: <20001222132434.A33983@poeza.iconnect.co.ke> Message-ID: <87bsu45lr2.fsf@tea.thpoon.com> Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Arcady Genkin Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for your reply. I figured the thing out myself. 1. I partitioned the new drive and installed boot sector using /stand/sysinstall, and mounted them under /mnt/root, /mnt/root/usr etc. I had to mind partitions' names to map 1:1 from the old ones. 2. I used tar to copy the files from the old partitions, and then untarred them into the new disk tar cvfpl / root.tar cd /mnt/root; tar xvfps root.tar For /var, /tmp, and /home I did this in single-user mode. 3. Powered off, removed the bad disk, put the new one instead of it, and booted. It all worked flawlessly, and the only downtime was to hook the new disk up, and then to remove the old one. -- Arcady Genkin Don't read everything you believe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message