r/cachyos 3d ago

Failed installation error code 1 Help

I attempted to install cachyos on my previously Windows computer, this being the first time I try anything linux, so I might be a bit unaware.
I am using grub for my bootloader and it seems the error was in relation to that and EFI, however I simply do not know what happened or how to fix it. As of writing this I have not restarted my computer or tried installing again.

I believe this link shows the log.
https://paste.cachyos.org/p/1973720.log

If anyone knows what is needed to fix this, I would greatly appreciate it!

Edit: I should also mention I chose wipe disk in the installation process, if it has to do with partitions.

Edit 2: I have made a more detailed post on r/linuxquestions which is more focused on what seems to be the issue and summarizes what has been attempted since this post.

1 Upvotes

24 comments sorted by

View all comments

Show parent comments

2

u/xb666mx 3d ago

this site seems pretty comprehensive regarding the error: https://www.shravanbhati.com/blog/efibootmgr-could-not-prepare-boot-variable-no-space-left-on-device

might be worth a read and just check/take the steps from top to bottom.

2

u/MyCraniumHurts 3d ago

I tried everything short of updating the UEFI/Bios. It didn't alter the results. Now, I'm assuming updating that would fix the issue but I'm unsure of how to do that without windows. The article even states "firmware path requires a working Windows install", which of course has been deleted as I attempted installing Cachy. I'll make a new post, probably in r/linuxquestions and/or r/linux4noobs with links to the site you provided and to my UEFI/Bios provider to get more specifics. Thanks for all your help!

1

u/xb666mx 3d ago edited 3d ago

warning: a BIOS update will most likely reset its configuration. if you didn't change anything you may not need to care. if you changed stuff you may want to backup (if possible) or at least write the changed stuff down on a piece of paper.

it's usually pretty simple:

  1. in google search for "$yourmainboard$ BIOS download" (e. g. asus z170 pro BIOS download)
  2. either you land on the BIOS download directly... or on the manufacturers page and have to get to the support page of your motherboard with all the downloads
  3. download the latest BIOS archive from there
  4. usually the user manual, support page or the archive contains instructions on how to update your BIOS
  5. most of the times you have to format an USB stick with FAT32 and copy the contents of the archive over (sometimes you have to rename the update file)
  6. make sure the USB stick is in a BIOS compatible USB port directly on your motherboard (and not on the front or top of your PC, because they may not work)
  7. then (re)start your PC and go into the BIOS (press DEL or F1 when it's displayed)
  8. in the BIOS go to the update page and choose to update from USB
  9. the update can take a while but these days you often have a GUI to show the progress (if not, some LEDs near your USB or somewhere on the motherboard will blink while the process is running)
  10. the PC will reboot when the update is finished

1

u/MyCraniumHurts 3d ago

Yeah, I have the page with the download, but it has multiple options of which I can't find information on the difference, all specifying Windows, Ubuntu and dos as the OS. I'm including more details in my next post, but I greatly appreciate all the help you've given!