24.3. Updating Bootcode
- Reply: Toomas Soome : "Re: 24.3. Updating Bootcode"
- Reply: Warner Losh : "Re: 24.3. Updating Bootcode"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Aug 2022 09:49:18 UTC
Hello all, With so much discussion about updating boot, I feel confused about the correct procedure of doing it. Like being said there are a "24.3. Updating Bootcode" in Handbook (WIP) that points to some important manuals. There are 3 places where boot loader are: ESP (EFI System Partition): 1 - (/boot/efi)/efi/boot/bootXXX.efi (default location) 2 - (/boot/efi)/efi/freebsd/loader.efi (FreeBSD reserved area) Operating System: 3 - /boot/loader.efi For what I've read we should: - backup: `cp /boot/efi/efi/boot/bootXXX.efi /boot/efi/efi/boot/bootXXX.efi.bkp` - update: `cp /boot/loader.efi /boot/efi/efi/boot/bootXXX.efi` In this example we have a /boot/efi mount by the system, "/dev/XXXpN on /boot/efi (msdosfs, local)". What about (/boot/efi)/efi/freebsd/loader.efi (reserved area)? Is necessary to backup and update it too? Thanks, -- Nuno Teixeira FreeBSD Committer (ports)