9.2-RELEASE kernel ignores MBR on boot disk

Scott Bennett bennett at sdf.org
Sun Jan 12 10:53:08 UTC 2014

Erich Dollansky <erichsfreebsdlist at alogt.com> wrote:

     Thanks for your reply.

> On Sun, 12 Jan 2014 02:55:37 -0600
> Scott Bennett <bennett at sdf.org> wrote:
> >      After running "make installkernel KERNCONF=hellas", I rebooted.
> just to make sure, you have compiled both the world and the kernel
> before?

     Yes.  And the correct kernel (i.e., the 9.2 kernel) is the one that
did not see the MBR on ada0.
> > /dev/ad0		/dev/da0s1a		/dev/da3
> > /dev/ad0s1		/dev/da0s1d		/dev/da4
> 9.2 should look for /dev/ada0 etc.

     9.2 should also create symlinks for /dev/ad0* to the /dev/ada0* nodes.
> It might be necessary to edit /etc/fstab before rebooting.

     As I wrote before, I tried it both ways.  It really doesn't matter if
it can't see the MBR and therefore never creates nodes or symlinks for the
slices and partitions.  All it had was /dev/ada0.  I suppose it may have
created a symlink named /dev/ad0, but the mountroot prompt didn't show any
symlinks, so I have no way of knowing.
> I only installed 9.2 once but did not face any problems with MBR.
     Did your boot drive have a MBR on it?  Or a GPT label?

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:   bennett at sdf.org   *or*   bennett at freeshell.org   *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *

More information about the freebsd-questions mailing list