Garuda will only run if my bios is set to CSM

When trying to run Garuda I'm getting

Loading Linux linux-zen ...
error: out of memory
Loading initial ramdisk ...
error: you need to load the kernel first

If I switch my bios from UEFI to CSM it fixes this error, though I then loose thunderbolt functionality.
When I created the install image, rufus said the target system was BIOS (or UEFI-CSM). This option was grayed out and I was unable to select anything else.
I've tried running garuda-boot-repair and pacman -Syu linux-zen linux-zen-headers but no dice so far

Try something other than Rufus. A lot of folks in the forum have success with Ventoy.

3 Likes

Ventoy mentioned above works for me too.. I've also had good luck with Etcher for many distro installs including Garuda. balenaEtcher - Flash OS images to SD cards & USB drives (for Windows or Linux but I've only tested it on Windows)

For Linux I use 'Imagewriter' (SUSE Studio Imagewriter)

1 Like

OT but you know balena etcher is on Linux too right?

edited... to make it more clear

Strange, I just tried Ventoy and balenaEtcher and I'm having the same problem. CSM works fine but UEFI causes the you need to load the kernel first error

Can you post output of garuda-inxi, either from your legacy-boot install or from the live environment, and also the output of lsblk -f.

1 Like
System:
  Kernel: 5.17.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=68c45f86-fd1c-4871-aacc-cef1e52c1172 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: bspwm
    v: 0.9.10 vt: 7 dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: CORSAIR product: CORSAIR ONE i300 v: V7
    serial: <superuser required>
  Mobo: Micro-Star model: Z690I CORSAIR (MS-7D29) v: TBD
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.C5
    date: 12/13/2021
CPU:
  Info: model: 12th Gen Intel Core i9-12900K bits: 64 type: MST AMCP
    arch: Alder Lake family: 6 model-id: 0x97 (151) stepping: 2 microcode: 0x15
  Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
    cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
    L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 30 MiB desc: 1x30 MiB
  Speed (MHz): avg: 4583 high: 5113 min/max: 800/6500:6700:3900 scaling:
    driver: intel_pstate governor: performance cores: 1: 5107 2: 5100 3: 4516
    4: 4309 5: 5085 6: 4091 7: 5011 8: 5039 9: 5113 10: 4802 11: 5112
    12: 5100 13: 5112 14: 5100 15: 5113 16: 5100 17: 3894 18: 3884 19: 3886
    20: 3910 21: 3896 22: 3922 23: 3907 24: 3905 bogomips: 152985
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel AlderLake-S GT1 vendor: Micro-Star MSI driver: i915
    v: kernel ports: active: none
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0
    chip-ID: 8086:4680 class-ID: 0380
  Device-2: NVIDIA GA102 [GeForce RTX 3080 Ti] vendor: Palit Microsystems
    driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0
    chip-ID: 10de:2208 class-ID: 0300
  Device-3: Logitech C920 HD Pro Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-3.1:4 chip-ID: 046d:0892
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: Picom v: git-c4107
    driver: X: loaded: intel,nvidia unloaded: modesetting,nouveau
    alternate: fbdev,nv,vesa gpu: i915,nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
    s-diag: 692mm (27.26")
  Monitor-1: DP-4 res: 2560x1440 hz: 60 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: Palit Microsystems
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-3: Logitech C920 HD Pro Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-3.1:4 chip-ID: 046d:0892
    class-ID: 0102 serial: <filter>
  Device-4: Micro Star USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-9:5 chip-ID: 0db0:82c7
    class-ID: 0300
  Device-5: Midiplus Co MIDI 8x8 type: USB driver: snd-usb-audio
    bus-ID: 2-9:2 chip-ID: 1acc:1636 class-ID: 0103 serial: <filter>
  Sound Server-1: ALSA v: k5.17.5-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 04:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:11
    chip-ID: 8087:0033 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 9.61 TiB used: 25.79 GiB (0.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL22T0HBLB-00A00 size: 1.86 TiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: GXB7401Q temp: 56.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 3B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 QVO 8TB
    size: 7.28 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: Philips
    model: USB Flash Drive size: 14.46 GiB block-size: physical: 512 B
    logical: 512 B type: SSD serial: <filter> rev: PMAP scheme: MBR
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 25.79 GiB (5.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 580 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 25.79 GiB (5.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 25.79 GiB (5.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 25.79 GiB (5.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 62.58 GiB used: 2.2 MiB (0.0%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 41 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 421 Uptime: 0m wakeups: 0 Memory: 62.58 GiB
  used: 1.95 GiB (3.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 Packages: pacman: 1255 lib: 346 Shell: Zsh v: 5.8.1
  default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.15
Garuda (2.6.2-1):
  System install date:     2022-04-08
  Last full system update: 2022-05-07
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:


NAME FSTYPE FSVER LABEL          UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
     squash 4.0                                                             0   100% /var/lib/anbox/rootfs
sda
├─sda1
│    vfat   FAT32 NO_LABEL       1DC9-14FA                             298.8M     0% /boot/efi
└─sda2
     btrfs                       68c45f86-fd1c-4871-aacc-cef1e52c1172  438.2G     6% /var/lib/anbox/rootfs/data
                                                                                     /var/lib/anbox/rootfs/cache
                                                                                     /var/tmp
                                                                                     /var/log
                                                                                     /var/cache
                                                                                     /home
                                                                                     /root
                                                                                     /srv
                                                                                     /
sdb
├─sdb1
│    vfat   FAT32 EFI            67E3-17ED
└─sdb2
     hfsplu       RM             cced3cfa-7c91-30c8-94dc-15bbf61b686b
sdc  iso966 Jolie GARUDA_DR460NIZED_TALON
                                 2022-04-28-03-48-30-00
├─sdc1
│    iso966 Jolie GARUDA_DR460NIZED_TALON
│                                2022-04-28-03-48-30-00
└─sdc2
     vfat   FAT12 MISO_EFI       BC49-2C48
zram0
                                                                                     [SWAP]
nvme0n1

├─nvme0n1p1
│    vfat   FAT32 SYSTEM         CA5D-DA2F
├─nvme0n1p2
│
├─nvme0n1p3
│    ntfs3                       EA6C5EF36C5EBA51
└─nvme0n1p4
     ntfs3        Recovery       06105F0B105F015B

You should look into your BIOS for some setting that may prevent this.

Anyway, there are several methods to properly create/flash an ISO in Windows:
https://wiki.archlinux.org/title/USB_flash_installation_medium#In_Windows

IIRC, even Garuda downloader has a win version, but I have never used it, or know if it works today...

1 Like

@bullthistle your post was edited to add code formatting. Add this to your terminal outputs by putting three tildes (~) before and after,

~~~
like this.
~~~

Can you post the output of sudo parted -l?

1 Like

Oh nice, thanks for the formatting. Here's the output of sudo parted -l

Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      2097kB  317MB  315MB  fat32              boot, esp
 2      317MB   500GB  500GB  btrfs        root


Model: ATA Samsung SSD 870 (scsi)
Disk /dev/sdb: 8002GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  210MB   210MB   fat32        EFI System Partition  boot, esp
 2      210MB   8001GB  8001GB  hfs+


Model: Philips USB Flash Drive (scsi)
Disk /dev/sdc: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 2      2435MB  2439MB  4194kB  primary               esp


Model: SAMSUNG MZVL22T0HBLB-00A00 (nvme)
Disk /dev/nvme0n1: 2048GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  106MB   105MB   fat32        EFI system partition          boot, esp
 2      106MB   123MB   16.8MB               Microsoft reserved partition  msftres
 3      123MB   2047GB  2047GB  ntfs         Basic data partition          msftdata
 4      2047GB  2048GB  1049MB  ntfs         Basic data partition          hidden, diag


Model: Unknown (unknown)
Disk /dev/zram0: 67.2GB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
 1      0.00B  67.2GB  67.2GB  linux-swap(v1)

Hmm, looks just fine to me. There's gotta be something else in your BIOS menu like petsam suggested. Can you list out the other options you have in there, or maybe snap some photos and stick them in a photo bucket you can link to if you have something like that.

These are the changes the bios makes when I switch from CSM to UEFI

Which of those options change when you choose CSM mode?

EDIT:

You have secure boot disabled, right?

These are the changes going from UEFI to CSM

I kept secure boot disabled on both

You really don't need secure boot regardless of MicroSOURs claims. Should be one of the first things you turn off. Though you might end up having to reinstall Windows if you want to dual boot. As for CSM you should be able to turn that off without issue.

This might be a long shot, but can you try another kernel? LTS would be the first that comes to mind. You would have to:

  • Boot into the install with CSM mode
  • Install LTS kernel/headers from Garuda Assistant
  • Reboot to BIOS settings
  • Change back to proper UEFI
  • Select the LTS kernel at the grub screen and cross your fingers
1 Like

What looks strange to me is that your /boot/efi partition is basically empty.
Could it be that you were in CSM mode also at installation time?
Since your system is new, I'd try reinstalling in UEFI mode, using a Ventoy based USB.

1 Like

I thought that was odd too (0% fs use on sda1). But even more strange would be if the installer set up an EFI partition if it wasn't going to be used. The EFI partition is also mounted--so there must be something in there, right?

@bullthistle what is the output of

sudo ls -l /boot/efi

and

sudo ls -l /boot/efi/EFI

Why don't you try disconnecting all other attached drives and then perform the Garuda installation.

We tell users to not expect support for multi boot setups with Windows precisely because of all the forum support time that is wasted for a non Garuda issue. I see you also have a drive with an HFS file system attached. Could you possibly throw any more monkey wrenches into the works?

Do you have your bios set to AHCI?

4 Likes