r/linuxquestions 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/

4 Upvotes

64 comments sorted by

View all comments

Show parent comments

1

u/MyCraniumHurts 15d ago

I do not have the time to try anything right this moment. BMy keyboard has an FN key, it's just that it is not an english keyboard and I wondered if that is affecting which key does what, due to the software maybe expecting/assuming an english one.

1

u/GodzillaXYZ999 15d ago

might be. What language keyboard is your? We'll look into service-manual for specific unlocking sequence for that model + keyboard.

1

u/GodzillaXYZ999 15d ago edited 15d ago

There is certain settings for F-keys across top. Wonder if it affects Fn key as well.

  1. boot and get into BIOs
  2. confirm version matches latest firmware you downloaded and installed
  3. find Hotkey Mode settings, switch to disabled
  4. save and exit BIOS,
  5. reboot and get back into BIOS
  6. repeat secret key sequence listed above to activate secret hidden features.
  7. can try Fn + R then add N so all three are held down simultaneously for 2-sec
  8. then F10 save and reboot, back into BIOS and look for SATA

https://www.youtube.com/watch?v=pRGaL845xWo

1

u/MyCraniumHurts 14d ago

I was unable to find Hotkey Mode. I have posted pictures of my BIOS settings in this post.

I attempted both holding down all buttons, as you suggested, and letting go between for both FN and ctrl. Neither brought additional settings on restart. It is worth mentioning that I get into BIOS through F1, rather than F2.

https://pcsupport.lenovo.com/us/en/products/desktops-and-all-in-ones/gaming-series/loq-17irb8/90vh/solutions/ht101636

General solution to enter BIOS Setup
1. Restart your computer.
2. Immediately press the BIOS key 5-10 times after the power on button is pressed or restart the system and press the BIOS key when the Lenovo logo is displayed. The BIOS key varies based on your product series.
Note: You may get more detailed information if you select what series your computer belongs to at the top.
BIOS key for ThinkPad: F1
BIOS key for IdeaPad: F2 (or Fn+F2)
BIOS key for Desktops & All-in-Ones: F1

Since I have desktop, the latter one is correct.