Migrate primary disk (duplicate)

alexandre.delay at free.fr alexandre.delay at free.fr
Mon Aug 1 11:06:58 GMT 2005

I already did that.

as I told you, when I use sysinstall instead of fdisk, there is no problem.

I tried every combination:
   fdisk -I ad3 && fdisk -B -b /boot/mbr ad3
   fdisk -I ad3 && fdisk -B -b /boot/boot0 ad3
   fdisk -B -b /boot/mbr -I ad3

the disk doesn't boot.

I also tried to install grub. It doesn't work either.


Selon Giorgos Keramidas <keramida at ceid.upatras.gr>:

> 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.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list