Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 12:41:51 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        alexandre.delay@free.fr
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Migrate primary disk (duplicate)
Message-ID:  <20050801094151.GA16934@beatrix.daedalusnetworks.priv>
In-Reply-To: <1122880808.42edcd280f5fd@imp6-q.free.fr>
References:  <1122880808.42edcd280f5fd@imp6-q.free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-08-01 09:20, alexandre.delay@free.fr wrote:
> Hi guys
>
> I saw a post on
> http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023454.html
>
> I am actually trying to migrate from one disk to an other.
> I need to write a script to do it with several computers.
>
> The thing is that it works perfectly when I use the fdisk's /stand/sysinstall
> and mbr installation, but doesn't work if I use:
> fdisk -B -b /boot/mbr -I ad3 (or fdisk -B -b /boot/boot0 -I ad3)

Try two steps:

	fdisk -I ad3
	fdisk -B -b /boot/mbr ad3

Then, of course, you need to create a disk label with bsdlabel too and
make sure you newfs the partitions, etc.




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