#(artix) kernel panic unable to mount rootfs what do i dooo

12 messages · Page 1 of 1 (latest)

solar nova
vagrant sage
#

You are using the vanilla Arch tag for Artix. The kernel cannot mount the root partition because your initramfs is missing the required block hooks/your bootloader is pointing to an incorrect UUID. Boot Artix ISO, chroot into your install, and run mkinitcpio -P after you verify your root UUID and /etc/mkinitcpio.conf. Also, change the tag to other distro.

solar nova
#

also my uuid is correct

#

i chcked that

#

and i didnt change anything in mkinitcpio.conf

#

just left it like that

#

ran mkinitcpio -P

[nixos /]# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '7.0.3-artix1-2'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [kms]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
#

oh wait i know why

#

since i use an nvme drive

#

and there's no nvme module in the mkinitcpio.conf

#

im gonna add that and try again