Dasharo / open-source-firmware-validation

OSFV infrastructure with automated tests and scripts for managing test results
Apache License 2.0
7 stars 1 forks source link

pfSense OS fails to run post installation setup #373

Open JanPrusinowski opened 1 month ago

JanPrusinowski commented 1 month ago

Device

Protectli v1210

RTE version

protectli_v1210_v0.9.2-rc4

OSFV version

698a2539e79f59b46f695e5abab986890336e098

Affected component(s) or functionality

No response

Brief summary

pfSense OS installation fails to run post installation setup

How reproducible

Always

How to reproduce

Start psSense OS installation from USB flashdrive. At the end of the installation a:


efibootmgr: efi_get_variable: Bad address
efibootmgr: efi_get_variable: Bad address
Error: Failed to run the post installation script.```
is displayed.
However after reboot if you boot from the device that the OS was installed to it turns out that OS was installed corectly. Howver the boot entry was not created.

### Expected behavior

Post installation script finishes its run without errors.
Boot entry is correctly created.

### Actual behavior

Post installation script fails
Boot entry is not created.

### Link to screenshots or logs

[install-log.txt](https://github.com/user-attachments/files/16190704/install-log.txt)

### Additional context

_No response_

### Solutions you've tried

Manually added the correct boot entry. And it worked.
Chose to boot from the device that the OS was installed. And it worked too.
macpijan commented 1 month ago

I guess it's not related to the test environment, is it? If so, please move to: https://github.com/Dasharo/dasharo-issues/issues