Hello, I'm contacting you because I can't install garuda (classic version)
Every time I try I get the error message:
The bootloader could not be installed.
So there, what I try :
- Basic installation (with complete erase of previous OS). Which sent me this message:
The bootloader could not be installed. The installation command
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Garuda --forcereturned error code 1.
- After a research I found this command
╭─garuda@garuda in ~ ╰─λ parted -l | grep -iE "^Disk /|esp" | grep -B1 esp McFly: Importing shell history for the first time. This may take a minute or two...done. ╭─garuda@garuda in ~ as 🧙 took 189ms [[✔️]|[🔴]|[🔴]] => 🔴ERROR ×
- find this topic and followed it Grub fails after update - #3 by librewish
Result of first command
╭─garuda@garuda in ~ as 🧙 took 15ms ╰─λ lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS loop0 squash 4.0 0 100% /run/miso/sfs/livefs loop1 squash 4.0 0 100% /run/miso/sfs/mhwdfs loop2 squash 4.0 0 100% /run/miso/sfs/desktopfs loop3 squash 4.0 0 100% /run/miso/sfs/rootfs sda ├─sda1 │ vfat FAT32 NO_LABEL E342-EC0F 299.1M 0% /tmp/calamares-root-bnybavre/boot/efi ├─sda2 │ btrfs 408d7ef8-41b8-45a0-aed4-cdf7c782358f 103.2G 6% /mnt/broken/@/boot/efi │ /mnt/broken/@/boot/efi │ /mnt/broken/@ │ /mnt/broken │ /tmp/calamares-root-bnybavre/var/tmp │ /tmp/calamares-root-bnybavre/var/log │ /tmp/calamares-root-bnybavre/var/cache │ /tmp/calamares-root-bnybavre/srv │ /tmp/calamares-root-bnybavre/root │ /tmp/calamares-root-bnybavre/home │ /tmp/calamares-root-bny │ bavre └─sda3 swap 1 swap bce0f44e-c682-4725-b191-1c35486c3bbb sdb iso966 Jolie GARUDA_DR460NIZED_WHITETAILEDEAG │ 2022-03-08-04-01-09-00 0 100% /run/miso/bootmnt ├─sdb1 │ iso966 Jolie GARUDA_DR460NIZED_WHITETAILEDEAG │ 2022-03-08-04-01-09-00 └─sdb2 vfat FAT12 MISO_EFI 18B5-4BCC zram0 [SWAP]
I already do this part so everything already exist
╭─garuda@garuda in ~ as 🧙 took 5s ╰─λ sudo mkdir -p /mnt/broken sudo mount /dev/sda2 /mnt/broken sudo garuda-chroot /mnt/broken/@ mount: /mnt/broken: /dev/sda2 already mounted on /tmp/calamares-root-bnybavre. sh-5.1#
sh-5.1# lsblk -no PKNAME /dev/sda1 sda sh-5.1# grub-install /dev/sda Installing for x86_64-efi platform. grub-install: error: /boot/efi doesn't look like an EFI partition.
sh-5.1# parted -l | grep -iE "^Disk /|esp" | grep -B1 esp Disk /dev/sda: 128GB 1 2097kB 317MB 315MB fat32 boot, esp Disk /dev/sdb: 7812MB 2 2377MB 2381MB 4194kB primary esp
sh-5.1# mount /dev/sda1 /boot/efi
And then, this doesn't work
sh-5.1# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --rechec k Installing for x86_64-efi platform. show_order(): Interrupted system call Skipping unreadable variable "Boot0000": Interrupted system call Skipping unreadable variable "Boot0001": Interrupted system call Skipping unreadable variable "Boot0002": Interrupted system call Skipping unreadable variable "Boot0003": Interrupted system call Skipping unreadable variable "Boot0004": Interrupted system call Skipping unreadable variable "Boot0006": Interrupted system call Skipping unreadable variable "Boot0007": Interrupted system call Skipping unreadable variable "Boot0008": Interrupted system call Skipping unreadable variable "Boot2001": Interrupted system call Skipping unreadable variable "Boot2002": Interrupted system call Skipping unreadable variable "Boot2003": Interrupted system call Could not prepare Boot variable: Interrupted system call grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
- I also tried to use the "Garuda boot repair" but not work
Generating grub configuration file ... Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt Found linux image: /boot/vmlinuz-linux-zen Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-zen.img Found fallback initrd image(s) in /boot: intel-ucode.img amd-ucode.img initramfs-linux-zen-fallback.img Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. Detecting snapshots ... No snapshots found. If you think an error has occurred , please file a bug report at " https://github.com/Antynea/grub-btrfs " Unmount /tmp/grub-btrfs.sI8Gu0z3hS .. Success Found memtest86+ image: /boot/memtest86+/memtest.bin done
(It has no impact on reboot)
- To finish I tried the chroot option on "Garuda Welcome" (not sure if he can do anything but not work too)
(The window close to fast for copy the return code)
Thanks for reading and for potential help