Bootloader instalation error

Hello.

I am facing trouble installing the Garuda KDE Dr460nized gaming edition on my pc as a second OS(Windows 10 being the first)
Manly the bootloader is causing the issue and refuses to be installed

The bootloader could not be installed. The installation command

grub-install --target=i386-pc --recheck --force /dev/sdc
returned error code 1.

Ive tried using this thread (Garuda Installation failed, bootloader installation error) but i was not able to install the bootloader

This is what I am working with

NAME TYPE FSTYPE SIZE UUID MOUNTPOINT
loop0 loop squashfs 13.8M /run/miso/sfs/livefs
loop1 loop squashfs 320.8M /run/miso/sfs/mhwdfs
loop2 loop squashfs 2.8G /run/miso/sfs/desktopfs
loop3 loop squashfs 637.7M /run/miso/sfs/rootfs
sda disk 1.8T
├─sda1 part 16M
└─sda2 part ntfs3 1.8T E0F47FECF47FC2F8
sdb disk 2.7T
├─sdb1 part 16M
└─sdb2 part ntfs3 2.7T FE40AC0340ABC12F
sdc disk 232.9G
├─sdc1 part ntfs3 529M 4E12363E12362B7B
├─sdc2 part vfat 99M 9836-8259
├─sdc3 part 16M
└─sdc4 part ntfs3 232.3G 0E0C394B0C392F59
sdd disk iso9660 29.3G 2022-03-29-19-49-49-00 /run/miso/bootmnt
├─sdd1 part iso9660 3.8G 2022-03-29-19-49-49-00
└─sdd2 part vfat 4M CD56-A410
zram0 disk 15.6G [SWAP]
nvme0n1 disk 465.8G
├─nvme0n1p1 part 16M
├─nvme0n1p2 part ntfs3 270.4G 86282BE8282BD5C9
└─nvme0n1p3 part btrfs 195.3G 35bb473f-ad8b-4042-8ecd-2c4fdcc2d662 /tmp/calamares-root-wqcrq_01/var/tmp

Hi there, welcome.
We'll need some more information.
Please post the output of garuda-inxi from the live USB, formatted with ~~~ before and after the text block.
In addition to that, have you followed the installation instructions in the download page and in the Garuda wiki? E.g. secure boot and fast boot are both disabled in the BIOS? What tool have you used to flash the ISO? Ventoy and balena etcher are preferred, Rufus sometimes caused troubles. Etc...

2 Likes

Hi, thank you for responding fast

Idk what is garuda-inxi
I did a basic installation of Garuda directly from the built in install Garuda Linux(no wiki)
Fast boot is disabled however CSM support is enabled, if I disable that I see the secure boot option it is disabled
Also used balena etcher

This pc also did have Garuda previously, it was removed and I also did clean the boatloader using windows diskpart after the uninstall

Please use the USB stick that you made to boot into Garuda, open Konsole and type garuda-inxi in there and copy the complete output.

Post that here.

2 Likes
System:
Kernel: 5.16.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda misolabel=GARUDA_DR460NIZEDGAMING_WHITETAI quiet
systemd.show_status=1 driver=nonfree nouveau.modeset=0 i915.modeset=1
radeon.modeset=1
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE v: x.x
serial: <superuser required> UEFI-[Legacy]: American Megatrends v: F41
date: 07/22/2019
CPU:
Info: model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+
family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 2x8 MiB
Speed (MHz): avg: 3101 high: 3550 min/max: 1550/3200 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2432 2: 2780
3: 3473 4: 2648 5: 2831 6: 3511 7: 3504 8: 3529 9: 2773 10: 3154 11: 3550
12: 2368 13: 2666 14: 3482 15: 3449 16: 3480 bogomips: 102208
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ZOTAC driver: nvidia
v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 07:00.0 chip-ID: 10de:1b81 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 81 s-size: 1204x343mm (47.40x13.50")
s-diag: 1252mm (49.29")
Monitor-1: DP-4 pos: primary,left res: 1920x1080 dpi: 82
size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
Monitor-2: HDMI-0 pos: right res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
v: 4.6.0 NVIDIA 510.54 direct render: Yes
Audio:
Device-1: NVIDIA GP104 High Definition Audio vendor: ZOTAC
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 07:00.1 chip-ID: 10de:10f0 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.3
chip-ID: 1022:1457 class-ID: 0403
Device-3: Generalplus USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-3:3 chip-ID: 1b3f:2008
class-ID: 0300
Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 5.26 TiB used: 13.61 GiB (0.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B2QEXM7 temp: 43.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD120 size: 1.82 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: ACF0 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Toshiba model: HDWD130
size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: ACF0 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Crucial model: CT250MX500SSD4
size: 232.89 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 023 scheme: GPT
ID-5: /dev/sdd maj-min: 8:48 type: USB model: N/A size: 29.3 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
rev: 2.00 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)
ID-1: swap-1 type: zram size: 15.63 GiB used: 9 MiB (0.1%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 49 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 42%
Info:
Processes: 383 Uptime: 15m wakeups: 1 Memory: 15.63 GiB
used: 5.09 GiB (32.6%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1716 lib: 501 Shell: fish v: 3.3.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.14
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.5.6-2):
System install date:     2022-04-23
Last full system update: 2022-04-23 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       <superuser required>
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service snapper-cleanup.service
McFly: Importing shell history for the first time. This may take a minute or two...done.

Can you please add code formatting to this? It is very difficult to read. Just edit your post and add three tildes (~) before and after the code, like this:

~~~
Paste code between tildes
~~~

Also please clarify your target for installation. Is it nvme0n1? 16 megs is too small for an EFI partition.

1 Like

Target OS instalation is the nvme0n1p3

NAME        TYPE FSTYPE     SIZE UUID                                 MOUNTPOINT
loop0       loop squashfs  13.8M                                      /run/miso/sfs/livefs
loop1       loop squashfs 320.8M                                      /run/miso/sfs/mhwdfs
loop2       loop squashfs   2.8G                                      /run/miso/sfs/desktopfs
loop3       loop squashfs 637.7M                                      /run/miso/sfs/rootfs
sda         disk            1.8T
├─sda1      part             16M
└─sda2      part ntfs3      1.8T E0F47FECF47FC2F8
sdb         disk            2.7T
├─sdb1      part             16M
└─sdb2      part ntfs3      2.7T FE40AC0340ABC12F
sdc         disk          232.9G
├─sdc1      part ntfs3      529M 4E12363E12362B7B
├─sdc2      part vfat        99M 9836-8259
├─sdc3      part             16M
└─sdc4      part ntfs3    232.3G 0E0C394B0C392F59
sdd         disk iso9660   29.3G 2022-03-29-19-49-49-00               /run/miso/bootmnt
├─sdd1      part iso9660    3.8G 2022-03-29-19-49-49-00
└─sdd2      part vfat         4M CD56-A410
zram0       disk           15.6G                                      [SWAP]
nvme0n1     disk          465.8G
├─nvme0n1p1 part             16M
├─nvme0n1p2 part ntfs3    270.4G 86282BE8282BD5C9
└─nvme0n1p3 part btrfs    195.3G 3bd3d980-a236-4e27-a039-e062cf57b5aa /tmp/calamares-root-d6d1klzs/var/tmp

You will need to have an EFI partition on the disk you are booting to--you cannot use an EFI partition from another disk. nvme0n1p1 is too small. 260M is the recommended size I believe.

Is it possible to get rid of that NTFS partition and use some of that space?

2 Likes

It looks like calamares is trying to install the bootloader on an MBR.
The error message mentions /dev/sdc as target for the bootloader.
Maybe you could select nvme0n1 in calamares.

2 Likes

Definitely, just how do I do that

calamares in console brings up the garuda linux installer and gives me errors that it lacks space 29.9 GB and that the installer is not with in administrator rights

If you don't need the NTFS partition as all, I wouldn't even bother choosing manual partitioning. Just select the nvme0n1 disk and do the full automatic installation. The installer will wipe the disk and set it up for you, EFI partition and all. Your other disks will remain untouched.

Make sure you carefully select the correct disk. :wink:

3 Likes

Will this allow me to dualboot without issues

Let's say there's no reason why it shouldn't.
When GRUB will be installed, os-prober should find Windows.
Many users are dual booting here, but dual booting is not officially supported, and the reason is that one of the two parties, which is not Linux, very often creates troubles, to the grub sometimes after updates, keeping a foothold on some devices, etc.
In that case you'll be on your own, maybe with some support from goodwilling helpers, but nothing official...

1 Like

Ok I installed the bootloader but there are new problems
-It boots into windows by default
-It have to go through bios to bring up grub
-When I am in grub It doesn't see windows

Note, I did install Garuda on a completely separate drive than windows

Grub will not find Windows because it is on a separate disk. Your options include:

  • choose which to boot into from BIOS every time
  • install a more robust boot manager like rEFInd that can detect boot entries across multiple disks.

rEFInd is awesome, it works very well and it is easy to install.

Sorry, I thought the os-prober was detecting all installed systems regardless of the disks.
Maybe try to mount the Windows partition (as a quick test, even just opening the disk in Dolphin would be enough) before giving a

sudo update-grub 

A few other info here:
https://wiki.archlinux.org/title/GRUB#MS_Windows

1 Like

I am back to report a different problem

Whilst I see windows 10, I am not able to boot into it, it enters an endless loop of selecting windows-bios-grub- select os
If i select windows it will repeat the same cycle again

I would give up on booting into Windows from Grub. You should be able to switch to the Windows bootloader from your BIOS menu.