From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 06:39:44 2003 Return-Path: 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 527C116A4CE for ; Wed, 26 Nov 2003 06:39:44 -0800 (PST) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DBB443F93 for ; Wed, 26 Nov 2003 06:39:43 -0800 (PST) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.10/8.12.10) with ESMTP id hAQEdgdD096903; Wed, 26 Nov 2003 06:39:42 -0800 (PST) (envelope-from admin2@enabled.com) From: "Noah" To: Matthew Seaman Date: Wed, 26 Nov 2003 06:39:42 -0800 Message-Id: <20031126143823.M26427@enabled.com> In-Reply-To: <20031113100504.GB33477@happy-idiot-talk.infracaninophile.co.uk> References: <20031112154647.M33110@enabled.com> <3FB25926.2000109@rtl.org> <20031112171905.M63476@enabled.com> <20031112182055.GC24384@happy-idiot-talk.infracaninophile.co.uk> <20031112223108.M65151@enabled.com> <20031113100504.GB33477@happy-idiot-talk.infracaninophile.co.uk> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 64.121.33.4 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: freebsd-questions@freebsd.org Subject: Re: backup drive bootabel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 14:39:44 -0000 On Thu, 13 Nov 2003 10:05:04 +0000, Matthew Seaman wrote > On Wed, Nov 12, 2003 at 02:32:20PM -0800, Noah wrote: > > > > > i) Make the 2nd disk an identical copy to the 1st one. In this case > > > should the 1st drive go AWOL, you would have to open the case and > > > either remove the first drive or modify the jumpering on the disks to > > > swap their order on the bus. You will need to mark the FreeBSD slice > > > bootable in the disk partition label by running: > > > > > > # boot0cfg -B -b /boot/mbr -s 1 da1 > > > > > > okay this is the command I was Looking for but I am arriving at an error: > > > > # boot0cfg -B -b /boot/mbr -s 1 da1 > > boot0cfg: /boot/mbr: unknown or incompatible boot code > > > > I think the partitions are about the same so I am not clear why this is happening. > > Hmmm... What FreeBSD version are you using? I had assumed 4.x, > because that's what I'm using. It may well be the case that the > sample mbr has been moved somewhere else in the filesystem. > > Checking the fdisk(8) and boot0cfg(8) man pages for clues doesn't > confirm that though. > Hi there, I am using FreeBSD 4.8 Stable # boot0cfg -B -b /boot/mbr -s 1 da1 boot0cfg: /boot/mbr: unknown or incompatible boot code # ls -l /boot/mbr -r--r--r-- 1 root wheel 512 Aug 24 14:26 /boot/mbr so I am not clear what the issue is here? the disk is a little bit of a different size with different partition sizes. woudl that Make a difference. what esle can I check here? - Noah > The mbr should be a 512 byte file generated from the assembler > sources in /usr/src/sys/boot/i386/mbr > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 > 1TH UK