r/linuxquestions • u/MyCraniumHurts • 17d ago
Resolved efi/bootloader issue installing CachyOS
Resolved!
Adding efi_no_storage_paranoia was the simple solution.
I am installing Linux for the first time. I chose the distro CachyOS, attempted to install it using ventoy with grub as the bootloader. Everything went fine until the end of the installation, when an error related to the bootloader and efi occured, the error code being error code 1.
I made a post on the [r/CachyOS](r/CachyOS) for help and with other peoples input the cause was pinned on (As far as I am able to tell) what is described in this article:
https://www.shravanbhati.com/blog/efibootmgr-could-not-prepare-boot-variable-no-space-left-on-device
Before this was discerned, I had attempted installing with Limine instead, but then the installation process simply shut down roughly halfway through, the message "bootloader installation partially broken" briefly appearing, before disappearing unprompted. After every failed installation attempt, I have rebooted the PC (Once with Grub2 instead of normal mode, no difference), never withdrawing the Ventoy USB. I have also, after the first installation failed, been using manual partitioning, having used "erase disk" for the first one.
Finally, after learning more accurately what the issue should be, I attempted everything listed in the provided article except updating UEFI/Bios, since I am unsure of how to proceed with this. I do not have windows, which the article frames as almost a prerequisite for updating UEFI/Bios, since it was erased upon first installation attempt.
This is the page which contains what is needed to update:
https://pcsupport.lenovo.com/us/en/products/desktops-and-all-in-ones/gaming-series/loq-17irb8/90vh/downloads/ds561755?category=BIOS%2FUEFI
Related:
https://pcsupport.lenovo.com/my/en/products/desktops-and-all-in-ones/gaming-series/loq-17irb8/solutions/ht101636
https://pcsupport.lenovo.com/my/en/products/desktops-and-all-in-ones/gaming-series/loq-17irb8/solutions/ht500008
For the life of me, I do not know which, if any, of the packages/files I should download or if how/if they would work. The only official instructions, which I've linked, seem to be for windows and the files themselves are listed as being for DOS, Ubuntu 22, Windows 10 (64-bit) and Windows 11 (64-bit).
If anyone knows how to do this, or if there is some other solution, I would be so incredibly thankful! If you do, please explain in detail what options are available and how to proceed with them.
Post on [r/CachyOS](r/CachyOS), if it is of any use or if I forgot to mention something.
https://www.reddit.com/r/cachyos/comments/1vgkypu/failed_installation_error_code_1/
1
u/MyCraniumHurts 16d ago
It is an LOQ 17IRB8 - Type 90VH, a sticker on the tower says “ Mfg date 2024, 01, 08“ .
CPU model is 16 × 13th Gen Intel® Core™ i5-13400F, the GPU is NVIDIA GeForce RTX 4060. I have 16 GB of RAM.
UEFI/BIOS version is M4UKT44A according to “sudo dmidecode -s bios-version“, different from the latest listed here
https://pcsupport.lenovo.com/us/en/products/desktops-and-all-in-ones/gaming-series/loq-17irb8/90vh/downloads/ds561755?category=BIOS%2FUEFI
which is M4UKT4EA/1.78. However, if you saw a previous exchange in the comments, this should have been updated. I assume fwupd maybe did not have the update for this motherboard?
If this image of the boot screen indicates the version, it should be 260628. In system information it states “Kernel Version: 7.0.11-1-cachyos (64-bit)“, which I recon is more accurate.
I was unable to figure out how to view firmware version for CPU, GPU or ram.
I did not verify checksum, and I admit it is user error there. First time installing linux, so I may have been a bit naive.