From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 11:06:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CAB616A41F for ; Mon, 1 Aug 2005 11:06:58 +0000 (GMT) (envelope-from alexandre.delay@free.fr) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED34A43D53 for ; Mon, 1 Aug 2005 11:06:57 +0000 (GMT) (envelope-from alexandre.delay@free.fr) Received: from imp6-q.free.fr (imp6-q.free.fr [212.27.42.6]) by postfix4-2.free.fr (Postfix) with ESMTP id D8668323433; Mon, 1 Aug 2005 13:06:56 +0200 (CEST) Received: by imp6-q.free.fr (Postfix, from userid 33) id E42B02706D; Mon, 1 Aug 2005 11:51:53 +0200 (MEST) Received: from proxy8.sncf.fr (proxy8.sncf.fr [171.16.4.10]) by imp6-q.free.fr (IMP) with HTTP for ; Mon, 01 Aug 2005 11:51:53 +0200 Message-ID: <1122889913.42edf0b9cc43e@imp6-q.free.fr> Date: Mon, 01 Aug 2005 11:51:53 +0200 From: alexandre.delay@free.fr To: Giorgos Keramidas References: <1122880808.42edcd280f5fd@imp6-q.free.fr> <20050801094151.GA16934@beatrix.daedalusnetworks.priv> In-Reply-To: <20050801094151.GA16934@beatrix.daedalusnetworks.priv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 171.16.4.10 Cc: freebsd-questions@freebsd.org Subject: Re: Migrate primary disk (duplicate) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 11:06:58 -0000 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 : > 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" >