Migrate primary disk (duplicate)
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Aug 1 09:41:56 GMT 2005
On 2005-08-01 09:20, alexandre.delay at 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.
More information about the freebsd-questions
mailing list