From owner-freebsd-questions Thu Feb 9 11:41:39 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA16192 for questions-outgoing; Thu, 9 Feb 1995 11:41:39 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA16174 for ; Thu, 9 Feb 1995 11:41:35 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/8.6.6) id NAA10658; Thu, 9 Feb 1995 13:41:20 -0600 Received: by olympus (4.1/TSS2.1) id AA10388; Thu, 9 Feb 95 13:39:55 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9502091939.AA10388@olympus> Subject: Re: Bad pack magic number? To: fod@netcom.com (Frank O'Donnell) Date: Thu, 9 Feb 1995 13:39:54 -0600 (CST) Cc: questions@FreeBSD.org In-Reply-To: <199502090407.UAA22174@netcom9.netcom.com> from "Frank O'Donnell" at Feb 8, 95 08:07:10 pm X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1395 Sender: questions-owner@FreeBSD.org Precedence: bulk > > After a variety of stabs I'm continuing to have difficulty > recompiling the boot manager so I don't have to type in > "wd(1,a)/kernel" every time to boot from the second of two > IDE hard drives. > > Following suggestions here I modified > /usr/src/sys/i386/boot/biosboot/boot.c to specify unit =1 for > the drive, then did a make, then a make install, then a > "disklabel -B wd0d". At this point I got the following error: > > Bad pack magic number (label is damaged, or pack is unlabeled) > > I gather I'm doing something wrong? > > Thanks as usual, > > Frank > fod@netcom.com > You probably don't have a FreeBSD partition on wd0. This is how I would do it. 1) disklabel -B wd1 # This puts the boot block on the booting disk. 2) Install a dos boot manager on wd0 which I assume is a dos drive. I use bteasy from the tools dir on FreeBSD.org. When you install the boot manager bteasy, let it write itself to wd0 but not wd1. bteasy will then allow you select the second drive and will use the native active partition and boot. If FreeBSD uses the whole disk, writing bteasy or most other managers to that disk will blow away the boot blocks. Boyd -- _______________________________________________________________________ Boyd Faulkner faulkner@isd.tandem.com _______________________________________________________________________