Hi all,
Asus FX503VD
Installation fails with the following error.
Any help greatly appreciated.
Thanks.
Boost.Python error in job "bootloader".
Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS --force' returned non-zero exit status 1.
Installing for x86_64-efi platform. Could not prepare Boot variable: No space left on device grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
Traceback:
File "/usr/lib/calamares/modules/bootloader/main.py", line 485, in run
prepare_bootloader(fw_type)
File "/usr/lib/calamares/modules/bootloader/main.py", line 457, in prepare_bootloader
install_grub(efi_directory, fw_type)
File "/usr/lib/calamares/modules/bootloader/main.py", line 319, in install_grub
check_target_env_call([libcalamares.job.configuration["grubInstall"],
File "<string>", line 6, in <module>
please provide full log:
cat ~/endeavour-install.log | curl -F ‘f:1=<-’ ix.io
but could be you are already log off session…
Installing for x86_64-efi platform. Could not prepare Boot variable: No space left on device grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
----> No space left on device
----> Input/output error.
i would bet on one of the two things:
legacy boot enabled in BIOS/EFI firmware
reuse partition for /boot/efi and it is already full
Questions:
do you try installing dualboot with another OS?
do you have Linux OS installed before what you want to overwrite with EndeavourOS?
[liveuser@eos-2020.09.20 ~]$ sudo cat ~/endeavour-install.log | curl -F ‘f:1=<-’ ix.io
bash: -’: No such file or directory
Questions:
do you try installing dualboot with another OS?
do you have Linux OS installed before what you want to overwrite with EndeavourOS?
I’ve had several distros installed alongside on another HDD, I suspect the boot manager (rfind) was installed on the SSD.
I overwrote a Manjaro install trying to install EndeavourOS.
I’m typing this in Endeavors live environment as Ive nuked the SSD and have no OS installed.
so it is efi system and configured to boot on efi, i would nuke all petitions you want to use for EndeavourOS as far as i understand you want to use the complete SSD for it?
most easy will be use autopartition (erase disk) make sure choosing the ssd
if you need manually partition you need a fat32 partition with around 250MB make sure choose mounting as /boot/efi and tag boot flag plus root system partition with around minimal 30GB mountpoint / formatting as ext4.
swap as you like with size of your RAM
I reformatted both the boot partition and the main partition to fat32 and ext4 respectively using Calamares live copy of gparted.
The disc has 1 more partition,2MiB of unallocated space before the boot partition I have left this alone.
Unfortunately the install failed with the same error.
Don’t know. You might need to look at resetting NVRAM. But this is a bit above my paygrade. You will need to do some research on it and/or get confirmation from other more experienced co-forumers.
i do not get why installer is try to use refind partition from another disk. May it is neede dto manually partition to force it to use its own efi fat32 partition.
If you go into UEFI and disable the boot order for all except one. Most new UEFI have the ability to have multiple entries for boot.Then set the boot to boot on the drive you are installing to. UEFI keeps a running tab of boot entries in NVRAM.
Edit: I would use gparted and set new GPT partition. Then close and run the installer and erase disc and swap with or without hibernate. Or do manual partitioning and use 300M minimum for EFI and set it /boot/efi and flag /boot. Then create you other partitions for root and home and swap if that is what you want and proceed with the installation online.
When you install rEFInd it adds an entry in the boot order to boot from rEFInd. Were most of these in rEFInd? I suggest on a new install to disable all boot order and set to boot only the drive you are installing to if using the whole ssd.
Edit: Not sure if the user is still going to dualboot with Windows 10?
Erasing the drive is only part of the equation. The problem is UEFI keep the entries in NVRAM. On my board in UEFI i can disable all boot devices except the one’s i want. Because UEFI keeps a list and rEFInd installation creates a boot in the boot order to boot from rEFInd. So you need to change that and clear them. User has many many in the list.
I deleted what entries I could from the bios, this allowed me to delete more using sudo efibootmanager -b xxxx -B whilst in a live environment.
The result is a fully installed and functional gnome desktop. Yay.
Thanks for the help everyone.