Fun with 'fdisk -B -b /boot/boot0 ad0'

Craig Boston craig at
Fri Jul 25 07:01:26 PDT 2003

On Wednesday 23 July 2003 04:26 pm, Ryan T. Dean wrote:
> [...] The FreeBSD boot program came back,
> however, when I attempt to load FreeBSD, it merely beeps at me.  It will,
> however, boot into W2k.  I've tried supping, rebuilding the boot blocks (cd
> src/sys/boot; make install; fdisk -B -b /boot/boot0 ad0; disklabel -B
> ad0s2) with no success.

Am I correct in assuming that the W2k slice is at the start of the disk and 
the FreeBSD slice is several gigs in (probably past the 1024 cylinder 

If this is the case, the following command may fix the problem:

boot0cfg -o packet ad0

Hope this helps,

More information about the freebsd-current mailing list