Date: 22 Dec 2000 13:55:29 -0500 From: Arcady Genkin <a.genkin@utoronto.ca> To: Odhiambo Washington <wash@iconnect.co.ke> Cc: questions@freebsd.org Subject: Re: Clone an installation (urgent help needed) Message-ID: <87bsu45lr2.fsf@tea.thpoon.com> In-Reply-To: <20001222132434.A33983@poeza.iconnect.co.ke> References: <87n1dp5kfa.fsf@tea.thpoon.com> <20001222132434.A33983@poeza.iconnect.co.ke>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87bsu45lr2.fsf>