Author: nwhitehorn
Date: Sun Apr 27 16:34:59 2014
New Revision: 265017
URL: http://svnweb.freebsd.org/changeset/base/265017

Log:
  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.

Modified:
  head/release/amd64/make-uefi-memstick.sh

Modified: head/release/amd64/make-uefi-memstick.sh
==============================================================================
--- head/release/amd64/make-uefi-memstick.sh    Sun Apr 27 15:58:07 2014        
(r265016)
+++ head/release/amd64/make-uefi-memstick.sh    Sun Apr 27 16:34:59 2014        
(r265017)
@@ -36,6 +36,6 @@ if [ $? -ne 0 ]; then
 fi
 rm ${1}/etc/fstab
 
-mkimg -s gpt -b ${1}/boot/pmbr -p freebsd-boot:=${1}/boot/gptboot -p 
efi:=${1}/boot/boot1.efifat -p freebsd-ufs:=${2}.part -o ${2}
+mkimg -s gpt -b ${1}/boot/pmbr -p efi:=${1}/boot/boot1.efifat -p 
freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M 
-o ${2}
 rm ${2}.part
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to