I need to create a new initram

System:
  Kernel: 5.15.12-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/.snapshots/29/snapshot/boot/vmlinuz-linux-zen
    root=UUID=e1c8eef3-f768-455a-8832-5c94bf5173f7 quiet splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=5e0aeedc-7757-4796-b1a9-63eaa3dff397 loglevel=3
    rootflags=defaults,noatime,autodefrag,compress=zstd,discard=async,ssd,subvol=@/.snapshots/29/snapshot
  Console: pty pts/2 DM: GDM 41.0, SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-F GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 5861
    date: 08/10/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510
    serial: <filter> charge: 50% (should be ignored) rechargeable: yes
    status: N/A
CPU:
  Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201016
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3602 high: 3732 min/max: 2200/4850 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3732 2: 3593
    3: 3595 4: 3592 5: 3596 6: 3594 7: 3591 8: 3592 9: 3597 10: 3591 11: 3593
    12: 3588 13: 3599 14: 3598 15: 3600 16: 3592 bogomips: 121589
  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: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA G86 [Quadro NVS 290] driver: N/A
    alternate: nouveau, nvidia_drm, nvidia bus-ID: 03:00.0 chip-ID: 10de:042f
    class-ID: 0300
  Device-2: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI
    driver: nvidia v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 08:00.0
    chip-ID: 10de:1c02 class-ID: 0300
  Device-3: NVIDIA NV42GL [Quadro FX 3450/4000 SDI] driver: N/A
    alternate: nouveau, nvidia_drm, nvidia bus-ID: 09:00.0 chip-ID: 10de:00cd
    class-ID: 0300
  Display: server: X.org 1.21.1.2 compositor: kwin_x11 driver:
    loaded: nvidia unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
    tty: 80x24
  Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
  Device-1: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 08:00.1 chip-ID: 10de:10f1
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 0b:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.12-zen1-1-zen running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    port: c000 bus-ID: 06:00.0 chip-ID: 8086:1539 class-ID: 0200
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.04 TiB used: 26.32 GiB (1.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU650 size: 223.57 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 1c55 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM008-2FR102
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: 0001
Partition:
  ID-1: / raw-size: 188.82 GiB size: 188.82 GiB (100.00%)
    used: 26.32 GiB (13.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 188.82 GiB size: 188.82 GiB (100.00%)
    used: 26.32 GiB (13.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 188.82 GiB size: 188.82 GiB (100.00%)
    used: 26.32 GiB (13.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 188.82 GiB size: 188.82 GiB (100.00%)
    used: 26.32 GiB (13.9%) 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: 31.32 GiB used: 2 MiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.45 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 28 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 35%
Info:
  Processes: 378 Uptime: 52m wakeups: 3 Memory: 31.32 GiB
  used: 4.16 GiB (13.3%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1887 lib: 541 Shell: Bash
  v: 5.1.12 running-in: pty pts/2 (SSH) inxi: 3.3.11

I need to boot my system without instantiating graphics drivers or with a configuration that binds to my Quatro card instead of my 1060.

I need to do this so that I can passthrough the 1060 to a Windows 11 gaming VM and use the Quatro FX to render the main system.

When I removed the nvidia drivers it broke the initram which tells me I should create a secondary initram for this purpose. But I'd like guidance and preferably guidance specific to Garuda because really all I need to do is copy and slightly modify the default initram.

Thank You!

This is the thing you’re trying to solve:

This is an unrelated issue:

The reason it would break is if you added nvidia* modules to the MODULES=() array in your mkinitcpio.conf, and of course if the modules aren’t present then it will break initramfs creation.

The reason it would break is if you added nvidia* modules to the MODULES=() array in your mkinitcpio.conf, and of course if the modules aren’t present then it will break initramfs creation.

I have checked and there is no longer any reference to nvidia on that line in ‘/etc/mkinitcpio.conf’ or in the entire file.

But when I boot without a snapshot it is stuck at:

Booting 'Garuda Linux'
Loading Linux linux-zen ...
Loading initial ramdisk   ...

This is the result of me manually removing the nvidia modules from GUI and hoping that the system would then utilize nouveau after using mhwd to install free drivers.

These are the only lines which are uncommented in '/etc/mkinitcpio.conf':

MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)

BINARIES=()

FILES=""

HOOKS="base udev autodetect modconf block keyboard keymap consolefont plymouth resume filesystems"

I don't know how to get any proper log in this case so I'm not sure why it's hanging at 'Loading initial ramdisk'.

Can I expect that is conf file is current with the actual ramdisk? Maybe the initram is still looking for nvidia.

Did you regenerate the initramfs after removing the module?

Sometimes Garuda fails to automatically rebuild that stuff. And if you mess with the modules that's more likely to happen in my experience.

Updating the initramfs might do the trick: mkinitcpio -P

Is there a reason that the root filesystem is read only (including /boot) and what should I do about that?

3 Likes

I had to use 'garuda-chroot' from the usb installation image to run 'mkinitcpio -P' so now I can get into a TTY.

'modprobe nouveau' restarts the computer.

I wouldn't be surprised if this Quadro FX is just too old to be of any use even if I manage to get xfce4 running.

I'm looking on ebay at AMD cards that atleast support vulkan (GCN 1.0). Maybe a FirePro W2100, R5 240, R5 340X, HD 7770. Something like that.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.