FreeBSD Bugzilla – Attachment 174717 Details for
Bug 212648
[EFI] Increase size of boot1.efifat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to increase boot1.efifat size
patch-boot1.efifat.txt (text/plain), 1.75 KB, created by
Ganael LAPLANCHE
on 2016-09-13 10:50:54 UTC
(
hide
)
Description:
Patch to increase boot1.efifat size
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2016-09-13 10:50:54 UTC
Size:
1.75 KB
patch
obsolete
>Index: sys/boot/efi/boot1/generate-fat.sh >=================================================================== >--- sys/boot/efi/boot1/generate-fat.sh (revision 305765) >+++ sys/boot/efi/boot1/generate-fat.sh (working copy) >@@ -11,7 +11,7 @@ > > # $FreeBSD$ > >-FAT_SIZE=1600 #Size in 512-byte blocks of the produced image >+FAT_SIZE=409600 #Size in 512-byte blocks of the produced image > > BOOT1_SIZE=128k > >@@ -35,7 +35,7 @@ > > dd if=/dev/zero of=$OUTPUT_FILE bs=512 count=$FAT_SIZE > DEVICE=`mdconfig -a -f $OUTPUT_FILE` >-newfs_msdos -F 12 -L EFI $DEVICE >+newfs_msdos -F 32 -c 4 -L EFI $DEVICE > mkdir stub > mount -t msdosfs /dev/$DEVICE stub > >Index: usr.sbin/bsdinstall/scripts/zfsboot >=================================================================== >--- usr.sbin/bsdinstall/scripts/zfsboot (revision 305765) >+++ usr.sbin/bsdinstall/scripts/zfsboot (working copy) >@@ -200,7 +200,6 @@ > GPART_ADD_ALIGN_LABEL_WITH_SIZE='gpart add %s -l %s -t %s -s %s "%s"' > GPART_BOOTCODE='gpart bootcode -b "%s" "%s"' > GPART_BOOTCODE_PART='gpart bootcode -b "%s" -p "%s" -i %s "%s"' >-GPART_BOOTCODE_PARTONLY='gpart bootcode -p "%s" -i %s "%s"' > GPART_CREATE='gpart create -s %s "%s"' > GPART_DESTROY_F='gpart destroy -F "%s"' > GPART_SET_ACTIVE='gpart set -a active -i %s "%s"' >@@ -848,10 +847,10 @@ > > f_eval_catch $funcname gpart \ > "$GPART_ADD_ALIGN_LABEL_WITH_SIZE" \ >- "$align_small" efiboot$index efi 800k $disk || >+ "$align_small" efiboot$index efi 200m $disk || > return $FAILURE >- f_eval_catch $funcname gpart "$GPART_BOOTCODE_PARTONLY" \ >- /boot/boot1.efifat 1 $disk || >+ f_eval_catch $funcname dd "$DD_WITH_OPTIONS" \ >+ /boot/boot1.efifat /dev/${disk}p1 "" || > return $FAILURE > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 212648
: 174717