Date: Mon, 11 Nov 2013 20:18:42 -0600 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: Default MBR boot "manager" Message-ID: <52819002.3050908@freebsd.org> In-Reply-To: <528174BC.60001@freebsd.org> References: <33391A36-2E7A-473B-87E0-88BDE1AC97D1@fisglobal.com> <52814CD8.5020708@freebsd.org> <528174BC.60001@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/11/13 18:22, Julian Elischer wrote: > On 11/11/13, 1:32 PM, Nathan Whitehorn wrote: >> On 11/11/13 15: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. >> >> This patch looks good (I don't remember why it was boot0 in the first >> place). I think gpart automatically installs something like /boot/mbr >> by default, so I'd be interested to know if making the diff purely >> negative still works. >> >> On another note, I think we should move away from a selector. Right >> now, we have three kinds of boot code: >> 1. ZFS boot code >> 2. UFS boot code >> 3. boot0 > > you forget network booting. > > That isn't something written to disk, though (unless you are doing something really weird), so probably isn't relevant for a partitioning tool. -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52819002.3050908>