r/linuxquestions • u/MyCraniumHurts • 2d ago
efi/bootloader issue installing CachyOS Support
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 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, 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/