Default MBR boot "manager"

Allan Jude freebsd at allanjude.com
Mon Nov 11 21:30:41 UTC 2013


On 2013-11-11 16:19, Teske, Devin wrote:
> Topic: Lenovo Laptops and bsdinstall zfsboot with MBR layout...
>
> Should we do the quick patch to change the default
> from /boot/boot0 to /boot/mbr:
>
> Index: zfsboot
> ===================================================================
> --- zfsboot     (revision 258016)
> +++ zfsboot     (working copy)
> @@ -764,7 +764,7 @@ zfs_create_diskpart()
>                 #
>                 f_eval_catch $funcname gpart "$GPART_CREATE" mbr \$disk ||
>                              return $FAILURE
> -               f_eval_catch $funcname gpart "$GPART_BOOTCODE" /boot/boot0 \
> +               f_eval_catch $funcname gpart "$GPART_BOOTCODE" /boot/mbr \
>                              \$disk || return $FAILURE
>
>                 #
>
> That would fix things for Lenovo laptops for the next
> release until I finish up the bootcode selection menu.
> I'd like to take my time in making sure Allan and I design
> a worthy bootcode selection menu.

These seems like the best approach for now, based on the feedback I have
gotten from people with BIOSs that won't boot GPT and often choke on the
boot0 boot manager.

-- 
Allan Jude


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131111/da538151/attachment.sig>


More information about the freebsd-current mailing list