Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2012 14:59:23 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Advanced Format Drive ?
Message-ID:  <26243.1353020363@tristatelogic.com>
In-Reply-To: <alpine.BSF.2.00.1211151456450.66706@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Warren,

In the EXAMPLES section of the gpart(8) man page, they do this:

     /sbin/gpart bootcode -b /boot/pmbr ad0

In your document however, you first create an explicit (special) partition
named "gpboot" and then you do this instead:

    gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0

Who is "right" in this case?

I did the former, and did not get any error.

The gpart(8) man page says:

     "... First, a protective MBR is embedded into the first disk sector from
     the /boot/pmbr image..."

however it appears to me that the steps in your tutorial are effectively
installing a copy of the /boot/pmbr file into block #40 of the disk.  Yes?
But isn't a copy of /boot/pmbr really supposed to end up in the first 512
bytes of the disk, i.e. block #0 ?



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