PrawnOS icon indicating copy to clipboard operation
PrawnOS copied to clipboard

v1.3.1 release doesn't boot from microSD if encryption option is selected

Open espoelstra opened this issue 5 years ago • 6 comments

Device: C101P gru-bob

I extracted v1.3.1 to a USB to install to a microSD and while the installation completes, upon rebooting without the USB inserted, I get the loud beeps/no bootable kernel error from depthcharge when trying to Ctrl+U boot, presumably because the /boot partition is encrypted or the signed kernel it looks for isn't readable?

espoelstra avatar Dec 14 '20 17:12 espoelstra

Does this occur when encryption is not chosen? gru-bob support is still quite underdeveloped so I wouldn't be surprised if it just has issues booting from sd.

SolidEva avatar Dec 15 '20 06:12 SolidEva

It does actually boot when not using encryption, though I was still having some weird visual artifacts and lsusb and lspci weren't working so I didn't have much luck checking if a newer package made things better.

espoelstra avatar Dec 15 '20 13:12 espoelstra

hm, then something went wrong during installation. depthcharge beeping indicates the kernel isn't present at all, which encryption shouldn't effect. How did you test sd boot? did you simply dd a prawnos image to the sd card, or did you follow the same 1) boot from usb 2) install to sd card steps as before?

I ask because my best guess is a bug in the script that installs from USB to sd

SolidEva avatar Dec 16 '20 02:12 SolidEva

Your suspicions are correct, I used the Chrome Recovery tool to write the img (renamed .bin so it sees it) to a USB and then booted from the USB and did the encrypted installation to the microSD. Oddly enough the same process but without encryption works so it's maybe just a missed conditional on the encrypted installation block.

espoelstra avatar Dec 16 '20 02:12 espoelstra

I need to test this again with the image that has the USB fixes, I'm wondering if there was another kernel config option that changed between arm64 and armhf for bob/gru that would have caused issues with the encrypted installation option.

espoelstra avatar Dec 20 '20 19:12 espoelstra

Shouldn't be, I boot head of master PrawnOS on gru-kevin encrypted on emmc. I'll have to pour some time into this when I get some.

SolidEva avatar Dec 23 '20 21:12 SolidEva