Garuda linux installation failed, bootloader not installed error code 1

Hi, I am getting this error code while installing garuda linux kde dragonized. I have a dual boot system first being windows. When i install garuda linux it shows this error code The bootloader could not be installed. The installation command

grub-install --target=i386-pc --recheck --force /dev/nvme0n1
returned error code 1.
is there a fix for this? sorry i am new to linux so idk much about it

Please always post your garuda-inxi when requesting help here. It helps shorten down waiting time asking for information that can be provided by one single command.

You can post this from Live ISO as well.

Are you on an apple power pc? Other wise the platform it’s trying to install on is wrong do this,

From your live ISO

  1. chroot into your system with,
garuda-chroot -a

If this fails, happens when you are using ventoy then follow this post for instructions on manual chroot. → How to chroot Garuda Linux

  1. then install grub (if you are on x86 arch. with UEFI boot loader, you haven’t provided us with garuda-inxi so I can only guess here),
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
  1. and then,
update-grub
  1. then exit chroot with
exit

and reboot into garuda (set it as default from your UEFI menu). If everything else was installed successfully you should be booting into garuda.

1 Like

sorry for not posting the garuda-inxi

Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZED_RAPTOR quiet
systemd.show_status=1 ibt=off driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: TUF GAMING B650M-PLUS WIFI v: Rev 1.xx
serial: <superuser required> BIOS: American Megatrends v: 1413
date: 04/26/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 595 high: 3523 min/max: 400/5573 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 3523 11: 400 12: 400 13: 400
14: 400 15: 400 16: 400 bogomips: 143723
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 32 [Radeon RX 7700 XT / 7800 XT] vendor: Sapphire
driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 03:00.0
chip-ID: 1002:747e class-ID: 0300
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
s-diag: 777mm (30.58")
Monitor-1: DP-2 mapped: DisplayPort-1 model: Samsung LS27AG55x
serial: <filter> built: 2021 res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7800 XT (gfx1101 LLVM
16.0.6 DRM 3.54 6.5.9-zen2-1-zen) device-ID: 1002:747e memory: 15.62 GiB
unified: no
API: Vulkan v: 1.3.269 layers: 3 device: 0 type: discrete-gpu name: AMD
Radeon RX 7800 XT (RADV GFX1101) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:747e surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0e:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-3: JMTek LLC. [] driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1:2 chip-ID: 0c76:161e
class-ID: 0300
API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.83 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0a:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek vendor: AzureWave driver: rtw89_8852be v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 0b:00.0
chip-ID: 10ec:b852 class-ID: 0280
IF: wlp11s0 state: down mac: <filter>
Bluetooth:
Device-1: IMC Networks [] driver: btusb v: 0.8 type: USB rev: 1.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-11:3 chip-ID: 13d3:3571
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
Local Storage: total: 935.24 GiB used: 3.86 GiB (0.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 39.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Cruzer Blade
size: 3.73 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0
spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: 1.26
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.08 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 44.4 C mobo: N/A gpu: amdgpu temp: 48.0 C
mem: 59.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Processes: 340 Uptime: 1h 51m wakeups: 13 Memory: total: 32 GiB note: est.
available: 31.08 GiB used: 4.51 GiB (14.5%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1228 libs: 353 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.30
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.17-1):
System install date:     2023-11-19
Last full system update: 2023-11-19 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:            snapper-cleanup.service

No partition data? Has your drive been wiped clean. :thinking: If that’s the case just installing grub is pretty useless. Can you post

lsblk -f

when i run the command lsblf -f i get this find-the-command: “lsblf” is not found locally, searching in repositories…
find-the-command: command not found: “lsblf”

I just fix it to

lsblk -f

a typo.

│
├─nvme0n1p3
│ ntfs 5CD43DB3D43D906E
├─nvme0n1p4
│ ntfs 6E4E9A124E99D2E7
├─nvme0n1p5
│ ntfs 04CE942BCE9416D0
└─nvme0n1p6
btrfs e98e167e-7868-4512-aad2-84569db4c075 53.2G 7% /mnt
/tmp/calamares-root-ptmeafid/var/tmp
/tmp/calamares-root-ptmeafid/var/log
/tmp/calamares-root-ptmeafid/var/cache

Summary
lsblk -f
NAME        FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
zram0                                                                                    [SWAP]
nvme0n1                                                                                  
├─nvme0n1p1 vfat   FAT32 SYSTEM_DRV  6469-0837                             224,8M    12% /boot/efi
├─nvme0n1p2                                                                              
├─nvme0n1p3 ntfs         Windows-SSD 3AE6699EE6695B61                                    
├─nvme0n1p4 ntfs         WINRE_DRV   527469EC7469D2F1                                    
├─nvme0n1p5 btrfs        i3wm        ed159bee-f3f4-4cb1-aeff-997938929ff7                
└─nvme0n1p6 btrfs        Hyprland    afa097f0-7d25-4832-90df-9596386fadf5   77,4G    40% /var/tmp
                                                                                         /var/cache
                                                                                         /var/log
                                                                                         /srv
                                                                                         /root
                                                                                         /home
                                                                                         /

Open terminal full screen. Full log include the command.

sorry a little mistake

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      iso966 Jolie GARUDA_DR460NIZED_RAPTOR 2023-10-29-09-55-02-00
├─sda1   iso966 Jolie GARUDA_DR460NIZED_RAPTOR 2023-10-29-09-55-02-00                     0   100% /run/miso/bootmnt
└─sda2   vfat   FAT12 MISO_EFI                 B1E2-6D5F
zram0                                                                                              [SWAP]
nvme0n1
├─nvme0n1p1
│        vfat   FAT32                          8E3B-B55D
├─nvme0n1p2
│
├─nvme0n1p3
│        ntfs                                  5CD43DB3D43D906E
├─nvme0n1p4
│        ntfs                                  6E4E9A124E99D2E7
├─nvme0n1p5
│        ntfs                                  04CE942BCE9416D0
└─nvme0n1p6
btrfs                                 e98e167e-7868-4512-aad2-84569db4c075   53.2G     7% /mnt
/tmp/calamares-root-ptmeafid/var/tmp
/tmp/calamares-root-ptmeafid/var/log
/tmp/calamares-root-ptmeafid/var/cache
/tmp/calamares-root-ptmeafid/srv
/tmp/calamares-root-ptmeafid/root
/tmp/calamares-root-ptmeafid/home
/tmp/calama
res-root-pt
meafid
1 Like

It seems you have proper partition. But for sake of safety (since the installer was trying to install grub thinking you are using a power pc) I would say re-download the ISO. Check it’s sha256sum then burn the ISO to the USB and try to let the installer (calamares) do everything for you automatically. If it still fails,

then my original instructions here,

should be fine. :+1:

Edit: Do check what filo says as well.

1 Like

Please double check that you are in UEFI mode as opposed to BIOS mode

3 Likes

i am really not familiar with my mobo’s bios because its new

We cannot really help with that. It’s your hw…
Just go to the BIOS and search. Probably Boot options tab.

2 Likes

ok i did it but now i am installing the iso should i use the gaming edition or the normal one?

The one you prefer :wink:
Sometimes the gaming one gives more troubles, but if it installs and you update it correctly you should be good to go, especially if you want to game.
The dr460nized one is basically the same. You’ll just have to install some gaming stuff.

wait sha256sum? i downloaded it but it shows how to open it? idk how to.

Please use the internet to see how to match sha256sum in windows. From the website you downloaded the ISO as can be seen in the pic below there is a SHA256 checksum. Download it and match the sha256 there with your ISO. If the two match there is no corruption in the download of ISO.

3 Likes
PS C:\WINDOWS\system32> "C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso.sha256""C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso.sha256"
C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso.sha256"C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso.sha256
PS C:\WINDOWS\system32>  Get-FileHash "C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso.sha256"

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          194B5FAFFC6B04B44A98AA08D882554F4EB39ACA80D703512070D49EE5D383A5       C:\Users\Tegveer Singh\Downlo...


PS C:\WINDOWS\system32> Get-FileHash "C:\Users\Tegveer Singh\Downloads\garuda-dr460nized-linux-zen-231029.iso"

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          B3400172F03A9EC18B6F86FB8BB6DB9C2EC7BD407C35670F873A59A5CA0EEE98       C:\Users\Tegveer Singh\Downlo...

they are pretty different

You don’t calculate the hash of the file containing the correct checksum value… This file contains the hash as ascii text that you can open normally and check if it matches this,

Do the contents of .sha256 file match this string? You can use an online string comparison checker to verify this.

1 Like

Please post always your terminal in- and output as text like
~~~
garuda-inxi
System:
Kernel: 5.18.15-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters:
~~~

looks like

garuda-inxi
System:
  Kernel: 5.18.15-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
    parameters:

in forum.

I have edited your posts.

Please do not post here in the forum like in chat forums like Telegram.
As long as no one has responded to your post you can edit your post.

1 Like