Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 18:47:39 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: replacing disk
Message-ID:  <201203031847.39512.mapsware@prodigy.net.mx>
In-Reply-To: <201203031801.34046.mapsware@prodigy.net.mx>
References:  <201203031801.34046.mapsware@prodigy.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 03 March 2012 18:01:33 Martin Alejandro Paredes Sanchez wrote:
> Hi
>
> I am replacing an IDE disk (ad0) with a SATA disk (ad4)

Sorry, I send it and I even notice

In the disk I have 3 OS (FreeDOS, XP and FreeBSD)

I use PartitionWizard to create the 3 slice in the new disk (ad4)

I use ghost.exe (2003 version) to pass FreeDOS and XP to the new slices in ad4

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)

newfs /dev/ad4s3a
mount /dev/ad4s3a /mnt
cd /mnt
dump 0af - / | restore rf -

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203031847.39512.mapsware>