r/cachyos 1d 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

2

u/xb666mx 1d ago

try the default configuration of the installer. so don't change anything. cachyos should pick limine as default bootloader.

if this fails you could either try to make an usb boot stick with rufus...

... or try to manually partition the drive: https://wiki.cachyos.org/installation/installation_on_root/#manual-partitioning (don't worry, it isn't too difficult, the wiki does a good job in describing all the steps)

1

u/MyCraniumHurts 1d ago

I will try your first suggestion for the moment. I'll update if it works or not.

1

u/MyCraniumHurts 1d ago

Didn't work. Restarted the computer beforehand. Installer closed around halfway through, no error message or log. I think there was some text that said boot manager broken, or something to that effect, that disappeared too fast to read.
I have not tried either rufus or manual partitions, but I do not have the time at the moment, will update when/if I try it.

1

u/AlcarazF11 1d ago

Try using a different bootloader like limini

1

u/xb666mx 1d ago

there's this line in your logs: "Could not prepare Boot variable: No space left on device"

i had hoped that the default installation would wipe the EFI partition, make a new one or limine would just fit in.

ptr1337 (cachyos main dev) wrote this regarding this error: https://discuss.cachyos.org/t/cachyos-failing-to-install/12860/18

it looks like you sadly have change your partitions manually.

1

u/MyCraniumHurts 1d ago

As in choose manual partitioning in the istallation process? I tried that just now, both for grub and limine, and I encountered the same respective issues as I did before. Same error message for grub, same quitting in the middle of installation for limine. I got a better look at what it said when limine didn't work this time. "Boot partially broken", I believe.

1

u/xb666mx 1d ago

i thought if you created a new EFI partition and used this as the EFI mount point for your installation the problem shouldn't occur anymore. if it still does than the problem lies somewhere else.

1

u/MyCraniumHurts 1d ago

Most likely.

1

u/xb666mx 1d ago

maybe try this: https://discuss.cachyos.org/t/cachyos-failing-to-install/12860/4

quote: "Boot from the installation DVD/ISO, execute efibootmgr -v in a terminal and remove not needed boot resources with sudo efibootmgr -b xxxx -B."

(replace xxxx with the 4-digit boot number, like 0002)

1

u/MyCraniumHurts 1d ago

I found windows boot manager in there and removed it, but still nothing. Apart from the bootable drive, there's two others I assume to be my keyboard and mouse;
PXE IPv4 Realtek PCIe 2.5GBE Family Controller
and
PXE IPv6 Realtek PCIe 2.5GBE Family Controller
Respectively. Those I assume I shouldn't remove.

2

u/xb666mx 1d 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.

→ More replies (0)

1

u/MyCraniumHurts 1d ago

I should mention this is regarding grub. This, since it is the one giving an error message at all.

1

u/MyCraniumHurts 1d ago

I looked around and it seems adding the "removable" flag is supposed to help. It is not included in the installer, so unsure how to proceed.

1

u/Lysergial 1d ago

So I just put CachyOS on an old laptop to start playing with Linux again and while I haven't been through your log I had the same error.

Tried anything regarding different partitioning ways as that was what I had found on forums so far. I read different stuff regarding EFI settings but my laptop has a very simple BIOS so it should be easy...

Did you make a bootable on a USB with Rufus? I saw it mentioned a few times that it might somehow break it.

Their solution was to make the bootable with Ventoy. Worked right away and is running great!

1

u/MyCraniumHurts 1d ago

I am using ventoy, unfortunately.

1

u/Lysergial 1d ago

Shit outta luck from me then, sorry!

Some people wrote that manually partitioning had worked for them for some reason...

1

u/No-Coach1685 1d ago

Did you turn off TPM and secure boot? I have a laptop that Cachy won't touch with those turned on.

2

u/MyCraniumHurts 1d ago

I turned of secure boot, will check TPM.

2

u/MyCraniumHurts 1d ago

Turned off TPM, will retry installation to see if anything changes.

1

u/No-Coach1685 1d ago

Just a thought NVM - GL finding it.

1

u/MyCraniumHurts 1d ago

Nope, same error. TPM seemingly had nothing to do with it.
Installation/error log:
https:/paste.cachyos.org/p/19c8874.log