aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-04-27 16:34:59 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-04-27 16:34:59 +0000
commitfaecd0da18bcd53db2ee3acb8510306fff2d4fb4 (patch)
treee458affa4f6346dbf396c27fd43f84e5dd4876b1
parent235591a57877afc897e766518947fa6cca10125d (diff)
downloadsrc-faecd0da18bcd53db2ee3acb8510306fff2d4fb4.tar.gz
src-faecd0da18bcd53db2ee3acb8510306fff2d4fb4.zip
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
Notes: svn path=/head/; revision=265017
-rwxr-xr-xrelease/amd64/make-uefi-memstick.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/make-uefi-memstick.sh b/release/amd64/make-uefi-memstick.sh
index d9145a5312ed..6c289e093b8b 100755
--- a/release/amd64/make-uefi-memstick.sh
+++ b/release/amd64/make-uefi-memstick.sh
@@ -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