Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 17:50:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193658] bsdinstall: UEFI memstick installs legacy boot configuration
Message-ID:  <bug-193658-8-pWPYcR9Vkv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193658-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193658-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193658

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Mon Sep 15 17:49:49 UTC 2014
New revision: 271636
URL: http://svnweb.freebsd.org/changeset/base/271636

Log:
  MFC EFI support for the installer

  r264978 (nwhitehorn):

      Add EFI support to the installer. This requires that the kernel
      provide a sysctl to determine what firmware is in use. This sysctl
      does not exist yet, so the following blocks are in front of the
      wheels:
      - I've provisionally called this "hw.platform" after the equivalent
        thing on PPC
      - The logic to check the sysctl is short-circuited to always choose
        BIOS.  There's a comment in the top of the file about how to turn
        this off.

      If IA64 acquired a boot1.efifat-like thing (probably with very few
      modifications), the same code could be adapted there.

  r265016 (nwhitehorn):

      Finish connecting up installer UEFI support. If the kernel was
      booted using EFI, set up the disks for an EFI system. If booted from
      BIOS/CSM, set up for BIOS.

  r268256 (nwhitehorn):

      After EFI support was added to the installer, it needed to allow
      boot partitions of types other than "freebsd-boot" (in particular,
      "efi").  This allows the removal of some nasty hacks for supporting
      PowerPC systems, in particular aliasing freebsd-boot to apple-boot
      on APM and an IBM-specific code on MBR.

      This changes the installer to use the correct names, which also
      breaks a degeneracy in the meaning of "freebsd-boot" that allows the
      addition of support for some newer IBM systems that can boot from
      GPT in addition to MBR. Since I have no idea how to detect which
      those systems are, leave the default on IBM PPC systems as MBR for
      now.

  Approved by:    re
  PR:        193658
  Relnotes:    Yes

Changes:
_U  stable/10/
  stable/10/sbin/geom/class/part/gpart.8
  stable/10/sys/geom/part/g_part.c
  stable/10/sys/geom/part/g_part.h
  stable/10/sys/geom/part/g_part_apm.c
  stable/10/sys/geom/part/g_part_gpt.c
  stable/10/sys/geom/part/g_part_mbr.c
  stable/10/sys/sys/gpt.h
  stable/10/usr.sbin/bsdinstall/partedit/gpart_ops.c
  stable/10/usr.sbin/bsdinstall/partedit/partedit.h
  stable/10/usr.sbin/bsdinstall/partedit/partedit_generic.c
  stable/10/usr.sbin/bsdinstall/partedit/partedit_pc98.c
  stable/10/usr.sbin/bsdinstall/partedit/partedit_powerpc.c
  stable/10/usr.sbin/bsdinstall/partedit/partedit_sparc64.c
  stable/10/usr.sbin/bsdinstall/partedit/partedit_x86.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



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