summaryrefslogtreecommitdiffstats
path: root/release/amd64
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-04-27 16:34:59 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-04-27 16:34:59 +0000
commitc3bdb37a0c272ec8422a37b2758ea1de0a723266 (patch)
treee458affa4f6346dbf396c27fd43f84e5dd4876b1 /release/amd64
parent50efd3e888d76e6b073aea39bdd8124d725d3815 (diff)
downloadFreeBSD-src-c3bdb37a0c272ec8422a37b2758ea1de0a723266.zip
FreeBSD-src-c3bdb37a0c272ec8422a37b2758ea1de0a723266.tar.gz
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.
Diffstat (limited to 'release/amd64')
-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 d9145a5..6c289e0 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
OpenPOWER on IntegriCloud