Hey there, I’m want to make the transition to the Archlinux experience. But still kind of new to Linux. I’m having trouble with the installation process, specifically on the bootloader installation (grub). I was wondering if someone could shed me some light on my problem, because I really want to try arch and EOS.
These are some commands that are usually asked for when posting on this forum
inxi -Fxxc0z --no-host | eos-sendlog
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3471 0 24 100 3447 38 5577 --:--:-- --:--:-- --:--:-- 5616
https://clbin.com/4GTUr
A copy paste I made on the install log where I think the error could be:
Starting job "bootloader" ( 34 / 39 )
10:44:26 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec()
Job file "/usr/lib/calamares/modules/bootloader/main.py"
10:44:26 [6]: boost::python::api::object CalamaresPython::gettext_path()
Determining gettext path from ("/root", "/usr/bin", "/usr/share/locale")
.. Found "en_US" in "/usr/share/locale/en_US"
.. Job description from pretty_name "bootloader" = "Install bootloader."
[PYTHON JOB]: "Bootloader: grub (efi)"
10:44:26 [6]: static CalamaresUtils::ProcessResult CalamaresUtils::System::runCommand(CalamaresUtils::System::RunLocation, const QStringList&, const QString&, const QString&, std::chrono::seconds)
Running "chroot" ("/tmp/calamares-root-ao8sybip", "grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=EndeavourOS", "--force")
10:44:30 [6]: QML Component (default slideshow) Next slide
.. Target cmd: ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=EndeavourOS", "--force") Exit code: 1 output:
Installing for x86_64-efi platform.
Could not prepare Boot variable: Input/output error
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
WARNING: [PYTHON JOB]: "Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS --force' returned non-zero exit status 1."
[PYTHON JOB]: "stdout:Installing for x86_64-efi platform.\nCould not prepare Boot variable: Input/output error\ngrub-install: error: efibootmgr failed to register the boot entry: Input/output error."
[PYTHON JOB]: "stderr:None"
I hope this has a solution. If any extra information is needed please let me know and I’ll try to answer ASAP.
I cannot see anything “off” in the output you have posted. Since the boot loader gets installed at the last stage of the installation, I would assume that the system is already installed correctly. If my assumption is correct, you could try arch-chrooting into the system and try to (re-)install the bootloader.
In the Live USB, open a terminal:
sudo su
mount /dev/sda3 /mnt ## /dev/sda3 is where you installed EnOS, right?
mount /dev/sda1 /mnt/boot/efi
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS --force
my bad That was the error, but not quite there yet.
The last command grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS --force
Had this output. The one from the installation log posted earlier
Installing for x86_64-efi platform.
Could not prepare Boot variable: Input/output error
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.