Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 1995 13:39:54 -0600 (CST)
From: (Boyd Faulkner)
To: (Frank O'Donnell)
Subject:   Re: Bad pack magic number?
Message-ID:  <9502091939.AA10388@olympus>
In-Reply-To: <> 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

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

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



 Boyd Faulkner                         

Want to link to this message? Use this URL: <>