You are not logged in.
Pages: 1
I'm trying to do a clean install of Arch Linux on a bcachefs root partition, no subvolumes. I booted from an image with kernel 6.7.1 and I'm using systemd-boot as my bootloader. My laptop is UEFI so the boot partition is FAT32. For some reason when I try to boot from my bcachefs root partition I keep getting an error that no rootfstype kernel parameter has been specified for /dev/nvme0n1p2, but I have added that parameter to my arch.conf on my boot partition. My initramfs image also has the bcachefs module in it. Here's the contents of my arch.conf file and my fstab file:
arch.conf:
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /booster-linux.img
options root=/dev/nvme0n1p2 rw rootfstype=bcachefs
fstab:
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=b6bb717d-83c1-4cc3-89c3-6b93ecf14121 / bcachefs rw,noatime,background_compression=lz4 0 0
# /dev/nvme0n1p1
UUID=DB8C-1C99 /boot vfat rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
Offline
I've just installed Arch to a bcachefs root partition with no subvolumes and it boots just fine from a unified kernel image with no rootfstype specified and no /etc/fstab present.
How are you confirming the initramfs image contains the bcachefs module?
I'm using mkinitcpio so I can see it with
~$ doas lsinitcpio /mnt/boot/initramfs-linux.img | grep bcachefs
usr/lib/modules/6.7.1-arch1-1/kernel/fs/bcachefs/
usr/lib/modules/6.7.1-arch1-1/kernel/fs/bcachefs/bcachefs.ko
~$EDIT: please use code tags when posting terminal output, as I have above.
EDIT2: just confirmed lsinitcpio works with booster images.
Last edited by Head_on_a_Stick (2024-01-28 14:25:35)
Jin, Jîyan, Azadî
Offline
Pages: 1