From owner-freebsd-questions@FreeBSD.ORG Wed Jul 1 20:16:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B901065878 for ; Wed, 1 Jul 2009 20:16:00 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.32]) by mx1.freebsd.org (Postfix) with ESMTP id D798D8FC12 for ; Wed, 1 Jul 2009 20:15:59 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4493768.home.otenet.gr [94.71.93.208]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n61KFwb4030157; Wed, 1 Jul 2009 23:15:58 +0300 Message-ID: <4A4BC3FD.7040806@otenet.gr> Date: Wed, 01 Jul 2009 23:15:57 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Grant Peel References: <4A4BBB9E.5080008@otenet.gr> <3EFD164553E546D89AD5C16BF66081F5@GRANT> In-Reply-To: <3EFD164553E546D89AD5C16BF66081F5@GRANT> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cloning to different disks. 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: Wed, 01 Jul 2009 20:16:00 -0000 Grant Peel wrote: > Thanks Sir! > > > What is the easiest way to make sure the new disk is bootable. > > Also, it just occured to me....we have a few different versions of > SCSI drives SCSI-2 SAS etc. > > Can I assume the the da driver will handle all these OK...ie. should > not see any fstab problems? > > -Grant > > For fstab, I would consider labelling the partitions (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html esp. the example at the end of the section). I am not very familiar with SCSI disks, but all should appear as 'da', the only problem is whether the drivers for the specific SCSI adapters are already in GENERIC. Otherwise, you would need to load them as modules or compile them in a custom kernel. To make sure your new disk is bootable: # fdisk -B -b /boot/boot0 /dev/da0 (use actual device name of course) or if you just need a standard MBR (no custom F1 ... F2 boot menu at start): # fdisk -B -b /boot/mbr /dev/da0 Then install boot1 and boot2 in your boot slice: # bsdlabel -B /dev/da0s1 For more information, see this handbook section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html