aboutsummaryrefslogtreecommitdiff
path: root/release/i386
diff options
context:
space:
mode:
Diffstat (limited to 'release/i386')
-rwxr-xr-xrelease/i386/make-memstick.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/release/i386/make-memstick.sh b/release/i386/make-memstick.sh
index 6aa1b507a68e..6774e86ae550 100755
--- a/release/i386/make-memstick.sh
+++ b/release/i386/make-memstick.sh
@@ -36,11 +36,9 @@ 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