Hello, Manjaro n00b here.
Finally got a flashdrive to install Linux on my ThinkPad (X130e) and managed to boot the OS. Loving it so far, much better than what I had before (Windows 7), but I’m having issues installing.
Every time I walk through the GUI installer, I get this error at the very end:
The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force</pre> returned error code 1.
Following similar threads on this forum, I tried running the installer as root, tried setting up manual partitions for boot (flagged), swap, and root, and tried booting in grub2 mode.
Ran the installer in the terminal to produce a log below.
Looking at the bottom of the log, I notice where I think it goes wrong, but I have no clue how to resolve it:
[PYTHON JOB]: "Bootloader: grub (efi)"
.. Running ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=Manjaro", "--force")
.. Target cmd: ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=Manjaro", "--force") Exit code: 1 output:
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.
WARNING: [PYTHON JOB]: "Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force' returned non-zero exit status 1."
[PYTHON JOB]: "stdout:Installing for x86_64-efi platform.\nCould not prepare Boot variable: No space left on device\ngrub-install: error: efibootmgr failed to register the boot entry: Input/output error."
[PYTHON JOB]: "stderr:None"
22:16:04 [6]: virtual void Calamares::JobThread::run()
Skipping non-emergency job "postcfg"
.. Skipping non-emergency job "Unmount file systems."
22:16:04 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
ERROR: Installation failed: "Bootloader installation error"
.. - message: "Bootloader installation error"
.. - details: The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force</pre> returned error code 1.
22:16:04 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
Calamares will quit when the dialog closes.
22:16:04 [6]: void Config::doNotify(bool, bool)
Notification not sent; completion: failed
The “No space left on device” error is my best guess.
[PYTHON JOB]: "Bootloader: grub (efi)"
.. Running ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=Manjaro", "--force")
.. Target cmd: ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=Manjaro", "--force") Exit code: 1 output:
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.
Sorry if I seem ignorant on things like bootloaders and partitions, am a n00b.
Does anyone have any clue? Have followed the advice on similar threads here with no luck.
I’d love to use Manjaro as my daily OS and install it on my desktop, upgrading from Windows 7 so I can develop in Python, not interested in using Windows 11.
Thank you for your time.
Moderator edit: removed distracting GIF