aboutsummaryrefslogtreecommitdiff
path: root/release/ia64/mkisoimages.sh
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-08-03 15:06:00 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-08-03 15:06:00 +0000
commit818927780163c4efa8f137f8a31468de55399c95 (patch)
tree1e8561074651a4f4bd0d95641ef5ff076fb70962 /release/ia64/mkisoimages.sh
parent5ff0108d214c4d68e2906090a7b8095da8e76c38 (diff)
downloadsrc-818927780163c4efa8f137f8a31468de55399c95.tar.gz
src-818927780163c4efa8f137f8a31468de55399c95.zip
- Removed vestiges of the IA64 boot floppy support.
- Fixed the bootable CD-ROM support for IA64. Reviewed by: marcel Tested by: marcel
Notes
Notes: svn path=/head/; revision=118393
Diffstat (limited to 'release/ia64/mkisoimages.sh')
-rw-r--r--release/ia64/mkisoimages.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh
index d8ea1356c33d..035bd21ca6f6 100644
--- a/release/ia64/mkisoimages.sh
+++ b/release/ia64/mkisoimages.sh
@@ -70,20 +70,20 @@ fi
EFIPART=efipart.sys
# To create a bootable CD under EFI, the boot image should be an EFI
-# system partition. Since we already made that on the boot floppy,
-# we sneakily extract that.
+# system partition.
if [ $bootable = yes ]; then
- EFISZ=20480
+ EFISZ=32768
MNT=/mnt
dd if=/dev/zero of=$BASE/$EFIPART count=$EFISZ
md=`mdconfig -a -t vnode -f $BASE/$EFIPART`
newfs_msdos -F 12 -S 512 -h 4 -o 0 -s $EFISZ -u 16 $md
- mount -t msdos /dev/$md $MNT
+ mount -t msdosfs /dev/$md $MNT
mkdir -p $MNT/efi/boot $MNT/boot $MNT/boot/kernel
cp -R $BASE/boot/defaults $MNT/boot
cp $BASE/boot/kernel/kernel $MNT/boot/kernel
cp $BASE/boot/device.hints $MNT/boot
cp $BASE/boot/loader.* $MNT/boot
+ cp $BASE/boot/mfsroot.gz $MNT/boot
cp $BASE/boot/support.4th $MNT/boot
mv $MNT/boot/loader.efi $MNT/efi/boot/bootia64.efi
umount $MNT