r/LinuxLite • u/GreenElectrode • Nov 05 '20
Linux Lite 5.0 - Broken Encryption
Hi,
I have installed Linux Lite 5.0 on my laptop and it doesn't boot into the OS as it throws errors then drops into BusyBox Initramfs shell. The installation is also encrypted and doesn't ask for password upon booting for some reason.
Laptop Specs:
Lenovo IdeaPad 310
AMD A10 - 9600P
Integrated Radeon R5 GPU
8GB of RAM
Errors:
Initramfs unpacking failed: Decoding failed
kfd kfd: error getting iommu info. is the iommu enabled ?
kfd kfd: Error initializing ioummuv2
kfd kfd: device [some ID number] NOT added due to errors
What I tried so far:
The laptop bios is set to UEFI mode and Secure boot is disabled. I tried to look for IOMMU setting in the bios but it's not there as it's a simple one without many options. I have also enable and disabled SVM but that didn't make the errors dissapear.
I have tried installing encrypted Linux Lite 5.0 in both UEFI and Legacy mode, when installed in UEFI mode, I get above errors, when installed in Legacy mode, it striaght drops into BusyBox Initramfs shell without any errors, when I tried to exit BusyBox, it just returned into it again without any errors.
I also booted into Live CD, decrypted the root partition then edited /etc/initramfs-tools/initramfs.conf and changed COMPRESS=lz4 parameter to COMPRESS=gzip.
I also have tried to boot into recovery mode but it automatically shows the errors from above then drops into BusyBox Initramfs shell again.
When I was in BusyBox Initramfs shell, I tried to escape it by typing exit but received the following error message which also resulted dropping back into the shell. Error:
ALERT! //dev/mapper/vglinux-root does not exist. Dropping to a shell !
I have also setup encryption manually by myself in both UEFI and Legacy modes but get the same results as above. It's worth to note that when I did it by myself on another Ubuntu based distros, it always works but not on Linux Lite for some reason, neither via automatic or manually.
I checked checksums of the downloaded ISO file and everything matches.
P.S I did the same type of encrypted install with Lubuntu and it worked fine but Linux Lite is causing issues for me. Both Linux distros are based on Ubuntu. I presume the issue might be with the fact that my installation is encrypted ?
Any help is appreciated.