[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

Ed Maste  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|ema...@freebsd.org
 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #8 from commit-h...@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Thu Apr 12 19:00:22 UTC 2018
New revision: 332446
URL: https://svnweb.freebsd.org/changeset/base/332446

Log:
  switch i386 memstick installer images to MBR

  Some BIOSes have trouble booting from GPT in non-UEFI mode.  This is
  commonly reported with Lenovo laptops, including my x220.  As we do not
  currently support booting FreeBSD/i386 via UEFI there's no reason to
  prefer GPT.

  The "vestigial swap partition" was added in r265017 to work around an
  issue with loader's GPT support, so we should not need it when using
  MBR.

  We may want to make the same change to amd64, although the issue there is
  mitigated by such systems booting via UEFI in the common case.

  PR:   227422
  Reviewed by:  gjb
  MFC after:3 weeks
  Relnotes: Yes
  Sponsored by: The FreeBSD Foundation

Changes:
  head/release/i386/make-memstick.sh

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #7 from Ed Maste  ---
Note the swap partition was added to work around a GPT issue and shouldn't be
necessary on MBR:

Author: nwhitehorn 
Date:   Sun Apr 27 16:34:59 2014 +

loader's GPT support on BIOS does not seem to like the root filesystem
being the last filesystem on the disk for some reason when made by this
script. Add a vestigial swap partition to allow this to boot with QEMU
BIOS.

Notes:
svn path=/head/; revision=265017

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #6 from Ed Maste  ---
Created attachment 192468
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192468=edit
switch i386 memstick to mbr

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #5 from Ed Maste  ---
Perhaps:

diff --git a/release/i386/make-memstick.sh b/release/i386/make-memstick.sh
index 1943e07942c1..1eb5d57942e3 100755
--- a/release/i386/make-memstick.sh
+++ b/release/i386/make-memstick.sh
@@ -36,10 +36,8 @@ makefs -B little -o label=FreeBSD_Install -o version=2
${2}.part ${1}
 rm ${1}/etc/fstab
 rm ${1}/etc/rc.conf.local

-mkimg -s gpt -b ${1}/boot/pmbr \
--p freebsd-boot:=${1}/boot/gptboot \
--p freebsd-ufs:=${2}.part \
--p freebsd-swap::1M \
+mkimg -s mbr -b ${1}/boot/mbr \
+-p freebsd:-"mkimg -s bsd -b ${1}/boot/boot -p freebsd-ufs:=${2}.part" \
 -o ${2}
 rm ${2}.part

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #4 from Ed Maste  ---
Or perhaps we should just be using MBR

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #3 from Ed Maste  ---
11-1-RELEASE-i386 fails in the same way

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

Allan Jude  changed:

   What|Removed |Added

 CC||allanj...@freebsd.org

--- Comment #2 from Allan Jude  ---
This is likely related to changes Benno has been making.

You might compare what is in that snapshot to what is in the 11.1 release .img


One option is to apply the lenovofix to the images, but it is not clear if that
might cause issues on any other buggy BIOSes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

--- Comment #1 from Ed Maste  ---
amd64 fails the same way on this hardware when BIOS configured for "legacy
only" boot; UEFI boot is successful.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 227422] i386 mini-memstick 11-stable installer not recognized as bootable device on Lenovo x220

2018-04-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227422

Bug ID: 227422
   Summary: i386 mini-memstick 11-stable installer not recognized
as bootable device on Lenovo x220
   Product: Base System
   Version: 11.1-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: misc
  Assignee: b...@freebsd.org
  Reporter: ema...@freebsd.org

I fetched an i386 mini-memstick snapshot image from
https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/11.1/FreeBSD-11.1-STABLE-i386-20180315-r330998-mini-memstick.img.xz
and wrote it to a USB hard drive.

When attempting to boot on a Lenvo x220 laptop the BIOS does not recognize this
as a bootable drive - it appears in the boot selection menu, but choosing it
returns immediately to the selection menu, as occurs with other non-bootable
drives.

For reference, same drive boots and kernel starts on a ASRock J3455B (but the
kernel hangs for other reasons, under investigation elsewhere)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"