-
-
Notifications
You must be signed in to change notification settings - Fork 207
Description
PROBLEM
I have multiple partitions with linux kernels in them and multiple distros installed. At some point heads stopped recording the default boot properly. Maybe after I updated to the last release? pureboot-librem_15v3-Release-15.1.rom.gz
I have repeatedly booted the heads environment and navigated to the default boot and reset it, then told the system to save the settings to flash. When the system boots again, the default boot in the gui is set correctly to the one I chose last time but if I drop to a recovery shell a different partition is mounted and specified in the environment variable CONFIG_BOOT_DEV.
STEPS TO SEE PROBLEM
*) power on
*) at the gui main menu explicitly set the boot device to /dev/sda2
Options => Change Configuration Settings => Change the Boot Device
*) now save the configuration
Save the configuration to the running BIOS
Warning: Setting BIOS Control at 0x8b to 0x89 failed.
This will reflash your BIOS with the updated version. Do you want to proceed?
*) Choose Yes
BIOS updated successfully....Enter to reboot
*) OK/Enter
*) system restarts and shows red background. "PureBoot couldn't generate the TOTP code." Done this dozens of times. It does not work.
*) Exit to recovery shell
# mount
/dev/sda1 /boot type ext4 (ro,relatime)
# export | grep CONFIG_BOOT_DEV
export CONFIG_BOOT_DEV=/dev/sda1
*) run gui-init again to see 'ERROR: Pureboot couldn't generate the TOTP code'
Ignore error ... => Options => Change Configuration Settings => Change the Boot Device
*) still set to the correct partition /dev/sda2