Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 1995 13:39:54 -0600 (CST)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        fod@netcom.com (Frank O'Donnell)
Cc:        questions@FreeBSD.org
Subject:   Re: Bad pack magic number?
Message-ID:  <9502091939.AA10388@olympus>
In-Reply-To: <199502090407.UAA22174@netcom9.netcom.com> from "Frank O'Donnell" at Feb 8, 95 08:07:10 pm

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



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