Error installing garuda-nix-subsystem

I am following the instructions here:

The final stage of garuda-nix-subsystem install fails, complaining that mount point does not exist.
This is the whole story:

shmuel@shmuel-garuda  ~  curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix -o nix-install.sh
 shmuel@shmuel-garuda  ~  sh ./nix-install.sh install --diagnostic-endpoint=""
info: downloading installer https://install.determinate.systems/nix/tag/v0.17.1/nix-installer-x86_64-linux
`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
[sudo] password for shmuel:     
Nix install plan (v0.17.1)
Planner: linux

Configured settings:
* diagnostic_endpoint: ""

Planned actions:
* Create directory `/nix`
* Fetch `https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-x86_64-linux.tar.xz` to `/nix/temp-install-dir`
* Create a directory tree in `/nix`
* Move the downloaded Nix into `/nix`
* Create build users (UID 30001-30032) and group (GID 30000)
* Setup the default Nix profile
* Place the Nix configuration in `/etc/nix/nix.conf`
* Configure the shell profiles
* Configure Nix daemon related settings with systemd
* Remove directory `/nix/temp-install-dir`


Proceed? ([Y]es/[n]o/[e]xplain): Y
 INFO Step: Create directory `/nix`
 INFO Step: Provision Nix
 INFO Step: Create build users (UID 30001-30032) and group (GID 30000)
 INFO Step: Configure Nix
 INFO Step: Create directory `/etc/tmpfiles.d`
 INFO Step: Configure Nix daemon related settings with systemd
 INFO Step: Remove directory `/nix/temp-install-dir`
 INFO Failed to send diagnostic to `/`, continuing
Nix was installed successfully!
To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`

 shmuel@shmuel-garuda  ~  sudo pacman -S garuda-nix-subsystem
resolving dependencies...
looking for conflicting packages...

Package (1)                  New Version  Net Change

garuda/garuda-nix-subsystem  0.2.0-1        0.00 MiB

Total Installed Size:  0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                [---------------------------------] 100%
(1/1) checking package integrity                              [---------------------------------] 100%
(1/1) loading package files                                   [---------------------------------] 100%
(1/1) checking for file conflicts                             [---------------------------------] 100%
(1/1) checking available disk space                           [---------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 25
:: Processing package changes...
(1/1) installing garuda-nix-subsystem                         [---------------------------------] 100%
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Foreign/AUR package notification
brpcfax-bin 2.0.1.1-1
caffeine-ng 4.2.0-1
gnome-disk-utility-git 44.0+104+g52681796-1
goldendict-ng 24.01.22-1
hebcal 5.8.5-1
powerline-console-fonts 20181111-2
python-pulsectl 1:23.5.2-1
sticky-notes 0.2.4-1
wl-color-picker 1.3-1
(3/6) Orphaned package notification...
foomatic-db 3:20240209-1
foomatic-db-nonfree-ppds 3:20240209-1
(4/6) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/locale.gen.pacnew
/etc/pam.d/kde.pacnew
Please check and merge
(5/6) Performing snapper post snapshots for the following configurations...
==> root: 26
(6/6) Syncing all file systems...
 shmuel@shmuel-garuda  ~  garuda-nix-subsystem install
--> Mounting nix subvolume
mount: /mnt/0d1a414b-a691-4a93-afb0-3c06623dd557: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
mount: /mnt/7d7f67de-2a4f-42e8-ac5a-c03668300578: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
 

garuda-inxi

System:
  Kernel: 6.7.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.0.1 tk: Qt v: N/A info: frameworks v: 6.0.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B365M-A v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 2208 date: 07/09/2021
Battery:
  ID-1: hidpp_battery_0 charge: 46% condition: N/A volts: 3.8 min: N/A
    model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
    serial: <filter> status: discharging
CPU:
  Info: model: Intel Core i7-9700 bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xFC
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 2717 high: 4702 min/max: 800/4700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 4629 3: 4600
    4: 800 5: 800 6: 4612 7: 800 8: 4702 bogomips: 48000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: HDMI-A-1,HDMI-A-2 empty: DP-1 bus-ID: 00:02.0
    chip-ID: 8086:3e98 class-ID: 0300
  Device-2: USB C Video Adaptor driver: N/A type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3.1.1:8 chip-ID: 25a4:9321
    class-ID: 1100 serial: <filter>
  Device-3: Microdia USB Live camera driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3.4:7
    chip-ID: 0c45:636b class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-1 model: VG27AQ1A serial: <filter> built: 2020
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 596x336mm (23.46x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-2 model: Samsung S24B300 serial: <filter> built: 2013
    res: 1920x1080 dpi: 94 gamma: 1.2 size: 521x293mm (20.51x11.54")
    diag: 598mm (23.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 630 (CFL GT2) driver: mesa intel v: 24.0.2-arch1.2
    device-ID: 8086:3e98 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.2-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: Microdia USB Live camera driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3.4:7
    chip-ID: 0c45:636b class-ID: 0102 serial: <filter>
  API: ALSA v: k6.7.9-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.3 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 RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-3.1:5
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp0s20f0u3u1 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:6
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 2.26 TiB used: 1.01 TiB (44.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37480G
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: K1B3 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: HDWD120 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: ACF0 scheme: GPT
Partition:
  ID-1: / raw-size: 101 GiB size: 101 GiB (100.00%) used: 17.95 GiB (17.8%)
    fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 26.6 MiB (27.7%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 101 GiB size: 101 GiB (100.00%)
    used: 17.95 GiB (17.8%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-4: /var/log raw-size: 101 GiB size: 101 GiB (100.00%)
    used: 17.95 GiB (17.8%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-5: /var/tmp raw-size: 101 GiB size: 101 GiB (100.00%)
    used: 17.95 GiB (17.8%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.49 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.49 GiB used: 3.23 GiB (20.9%)
  Processes: 269 Power: uptime: 21m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.18 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1293 libs: 397 tools: pamac,yay Compilers:
    gcc: 13.2.1 Shell: garuda-inxi default: Bash v: 5.2.26 running-in: konsole
    inxi: 3.3.33
Garuda (2.6.23-1):
  System install date:     2024-03-09
  Last full system update: 2024-03-13 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

cc @TNE

What does |/etc/fstab` contain right now?

1 Like

Thanks @Kayo

  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text
1 Like
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=089C-1F34                            /boot/efi      vfat    defaults,noatime 0 2
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /              btrfs   subvol=/@,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /home          btrfs   subvol=/@home,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /root          btrfs   subvol=/@root,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /srv           btrfs   subvol=/@srv,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/cache     btrfs   subvol=/@cache,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/log       btrfs   subvol=/@log,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,compress=zstd 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
/dev/disk/by-uuid/701FE3AE54D4CE16 /mnt/701FE3AE54D4CE16 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/0d1a414b-a691-4a93-afb0-3c06623dd557 /mnt/0d1a414b-a691-4a93-afb0-3c06623dd557 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/22EC446AEC4439F5 /mnt/22EC446AEC4439F5 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/7d7f67de-2a4f-42e8-ac5a-c03668300578 /mnt/7d7f67de-2a4f-42e8-ac5a-c03668300578 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/af74cd67-484c-4de5-bb96-e86db774d910 /mnt/af74cd67-484c-4de5-bb96-e86db774d910 auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /nix btrfs subvol=@nix,nodatacow 0 0

And this is fstab after daemon reload.
I reloaded because the output said (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=089C-1F34                            /boot/efi      vfat    defaults,noatime 0 2
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /              btrfs   subvol=/@,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /home          btrfs   subvol=/@home,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /root          btrfs   subvol=/@root,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /srv           btrfs   subvol=/@srv,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/cache     btrfs   subvol=/@cache,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/log       btrfs   subvol=/@log,defaults,noatime,compress=zstd 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,compress=zstd 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
/dev/disk/by-uuid/701FE3AE54D4CE16 /mnt/701FE3AE54D4CE16 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/0d1a414b-a691-4a93-afb0-3c06623dd557 /mnt/0d1a414b-a691-4a93-afb0-3c06623dd557 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/22EC446AEC4439F5 /mnt/22EC446AEC4439F5 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/7d7f67de-2a4f-42e8-ac5a-c03668300578 /mnt/7d7f67de-2a4f-42e8-ac5a-c03668300578 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/af74cd67-484c-4de5-bb96-e86db774d910 /mnt/af74cd67-484c-4de5-bb96-e86db774d910 auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=fb8e5411-1ae5-4076-a8b2-7e4927f1ae70 /nix btrfs subvol=@nix,nodatacow 0 0

Maybe this needs to be run as root?

It absolutely needs to be run as root :eyes:

2 Likes

“It absolutely needs to be run as root”

It still fails

sudo garuda-nix-subsystem install                              
[sudo] password for shmuel:     
--> Mounting nix subvolume
mount: /mnt/0d1a414b-a691-4a93-afb0-3c06623dd557: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
mount: /mnt/7d7f67de-2a4f-42e8-ac5a-c03668300578: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.

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