Lines Matching full:boot

4 # Installs/updates the necessary boot blocks for the desired boot environment
7 # be a boot tool for regression testing.
59 mkdir -p "${stagedir}/EFI/BOOT"
74 cp "$1" "${stagedir}/EFI/BOOT/${efibootname}.efi"
123 # Check if /EFI/BOOT/BOOTxx.EFI is the FreeBSD boot1.efi
125 efibootfile="${mntpt}/EFI/BOOT/${efibootname}.efi"
127 isboot1=$(strings "${efibootfile}" | grep "FreeBSD EFI boot block")
130 …echo "Only ${kbfree}KB space remaining: removing old FreeBSD boot1.efi file /EFI/BOOT/${efibootnam…
132 rmdir "${mntpt}/EFI/BOOT"
134 …KB space remaining on ESP: renaming old boot1.efi file /EFI/BOOT/${efibootname}.efi /EFI/BOOT/${ef…
135 mv "${efibootfile}" "${mntpt}/EFI/BOOT/${efibootname}-old.efi"
159 # since we only use it to boot the 64-bit kernel
169 echo "Creating UEFI boot entry for FreeBSD"
172 die "Failed to create new boot entry"
180 echo "Marking UEFI boot entry ${bootentry} active"
183 echo "Existing UEFI FreeBSD boot entry found: not creating a new one"
187 if [ ! -d "${mntpt}/EFI/BOOT" ]; then
188 mkdir -p "${mntpt}/EFI/BOOT"
190 cp "${file}" "${mntpt}/EFI/BOOT/${efibootname}.efi"
222 make_esp /dev/${dev}s${s} ${dst}/boot/loader.efi
233 make_esp /dev/${dev}p${idx} ${dst}/boot/loader.efi
240 idx=$(find_part $dev "freebsd-boot")
242 die "No freebsd-boot partition found"
260 idx=$(find_part $dev "freebsd-boot")
262 die "No freebsd-boot partition found"
362 printf ' bootdev device to install the boot code on\n'
377 # Note: we really don't support geli boot in this script yet.
418 # For gpt, we need to install pmbr as the primary boot loader
420 gpt0=${srcroot}/boot/pmbr
421 gpt2=${srcroot}/boot/gptboot
422 gptzfs2=${srcroot}/boot/gptzfsboot
425 mbr0=${srcroot}/boot/mbr
426 mbr2=${srcroot}/boot/boot
433 …eval boot_${geli}_${scheme}_${fs}_${bios} $dev $srcroot $opts || echo "Unsupported boot env: ${gel…