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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

cheers

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

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





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