From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:55:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D984A106564A for ; Sun, 4 Mar 2012 03:55:40 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id B3E198FC13 for ; Sun, 4 Mar 2012 03:55:40 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q243tXLI005368; Sat, 3 Mar 2012 20:55:37 -0700 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2012 10:55:30 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-PRERELEASE; KDE/4.7.4; amd64; ; ) References: <201203031801.34046.mapsware@prodigy.net.mx> <201203031847.39512.mapsware@prodigy.net.mx> In-Reply-To: <201203031847.39512.mapsware@prodigy.net.mx> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203041055.30354.erichfreebsdlist@ovitrap.com> Cc: Martin Alejandro Paredes Sanchez Subject: Re: replacing disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 03:55:40 -0000 Hi, On Sunday 04 March 2012 08:47:39 Martin Alejandro Paredes Sanchez wrote: > On Saturday 03 March 2012 18:01:33 Martin Alejandro Paredes Sanchez wrote: > > > > In the disk I have 3 OS (FreeDOS, XP and FreeBSD) > I never used any other operating system on a machine with FreeBSD. So, my comments could be off. > I use PartitionWizard to create the 3 slice in the new disk (ad4) Should work. > > I use ghost.exe (2003 version) to pass FreeDOS and XP to the new slices in ad4 > Should also have worked. > I boot in FreeBSD (in ad0) and with sysinstall, create the partitions in ad4 > and using the next commands, I pass the info in my 4 partiotios > (/ /tmp /var /usr) > Ok, I have had once a problem with doing this too. I never found out why. Can you do this by hand from your running FreeBSD installation? > newfs /dev/ad4s3a > mount /dev/ad4s3a /mnt > cd /mnt > dump 0af - / | restore rf - I do not see when you wrote the MBR with bootable code. bsdlabel -B will do the job. Erich > > I modify /mnt/etc/fstab to reflect ad4 as the only disk > > I turn off the PC, remove ad0 disk and turn on the PC, but FreeBSD do not boot > > I forgot to mention taht I had activated the 3rd slice of the disk, if I > activate the 1st slice, FreeDOS boot > > So I reconect ad0 and boot FreeBSD (from ad0) and use the next command > > bsdlabel -B /dev/ad4s3 Ok, you did it. One other thing. I used either dd when copying the disk. Most of the time, I even use rsync. It takes forever but I can continue my normal work. > > But do not work either. > > Do I really need to reinstall the OS on the new disk ad4 and tranfer my info > with the commands as described in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK This works always but copying properly the old disk must also work. One question again. Does your kernel support SATA? If not, it will not work. If it is a GENERIC kernel, it does. Erich