You are not logged in.
This error appears at boot time:
mount: /:sysroot: no filesystem type specified
To be specific:
I try to setup dual boot system (windows + arch) using rEFInd boot manager on SSD and HDD, where arch partitions are only sda3 (boot), sda5 (crypto with one btrfs subvolume named "@" for root inside), sdb2 (swap) and sdb3 (crypto with one btrfs subvolume named "@home" for /home inside).
Output of "lsblk -f" is as follows:
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 0 100% /run/archiso/sfs/airootfs
sda
├─sda1 ntfs Восстановить 1CA03BF5A03BD44C
├─sda2 swap 2d69172a-e836-4158-820f-981f37e86d1c
├─sda3 vfat arch_boot AFF1-DD8C 437.1M 13% /mnt/boot
├─sda4 ntfs 740241DF0241A6C8
└─sda5 crypto_LUKS fc493d25-9a79-439d-a5d7-12ad06719327
└─cryptroot btrfs arch_root_label 0a907569-f6b5-4477-9416-28bae43d5cc9 29.7G 7% /mnt
sdb
├─sdb1
├─sdb2 swap d9990e5e-fdd3-467a-ba9e-59ed9326a005 [SWAP]
├─sdb3 crypto_LUKS 751f9ca2-7de3-4a6e-a3a5-58138f14db66
│ └─crypthome btrfs arch_home_label 9dd6995f-9fde-454b-8039-bc9010b5a17e /mnt/home
└─sdb4 ntfs 5228AE1128ADF45F
sdc
├─sdc1 vfat ARCH_202001 A871-DD5D 6.3G 9% /run/archiso/bootmnt
└─sdc2 vfat BE3E-6559
Seems like I already specified all possible filesystem types in fstab, crypttab, refind.conf and refind_linux.conf. Contents of this files and also mkinitcpio.conf attached below.
Fstab:
# /dev/mapper/cryptroot LABEL=arch_root_label
UUID=0a907569-f6b5-4477-9416-28bae43d5cc9 / btrfs rw,relatime,ssd,space_cache,subvolid=258,subvol=/@,subvol=@ 0 0
# /dev/sda3 LABEL=arch_boot
UUID=AFF1-DD8C /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/mapper/crypthome LABEL=arch_home_label
UUID=9dd6995f-9fde-454b-8039-bc9010b5a17e /home btrfs rw,relatime,space_cache,subvolid=257,subvol=/@home,subvol=@home 0 0
# /dev/sdb2
UUID=d9990e5e-fdd3-467a-ba9e-59ed9326a005 none swap defaults 0 0
Crypttab:
# Configuration for encrypted block devices.
# See crypttab(5) for details.
# NOTE: Do not list your root (/) partition here, it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf).
# <name> <device> <password> <options>
# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1
# data1 /dev/sda3 /etc/mypassword2
# data2 /dev/sda5 /etc/cryptfs.key
# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
# vol /dev/sdb7 none
crypthome UUID=751f9ca2-7de3-4a6e-a3a5-58138f14db66 none luks
refind.conf (only arch entry):
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "rd.luks.name=fc493d25-9a79-439d-a5d7-12ad06719327=cryptroot root=dev/mapper/cryptroot rw rootflags=subvol=@ initrd=/amd-ucode.img initrd=/initramfs-linux.img add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
refind_linux.conf
"Boot using default options" "rd.luks.name=fc493d25-9a79-439d-a5d7-12ad06719327=cryptroot root=dev/mapper/cryptroot rw rootflags=subvol=@ initrd=/amd-ucode.img initrd=/initramfs-linux.img add_efi_memmap"
"Boot with standard options" "archisobasedir=arch archisolabel=ARCH_202001"
"Boot to single-user mode" "archisobasedir=arch archisolabel=ARCH_202001 single"
"Boot with minimal options" "ro root=/dev/mapper/cryptroot"
mkinitcpio.conf
MODULES=()
BINARIES=(/usr/sbin/btrfs)
FILES=()
HOOKS=(base systemd btrfs autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems keyboard fsck)
Last edited by nevenkitasuno (2020-02-05 03:24:41)
Offline
Is it possible that you need a `/` in front of 'dev' in 'root=dev/mapper/cryptroot' - it's missing in two places:
refind.conf
options "rd.luks.name=fc493d25-9a79-439d-a5d7-12ad06719327=cryptroot root=dev/mapper/cryptroot rw rootflags=subvol=@ initrd=/amd-ucode.img initrd=/initramfs-linux.img add_efi_memmap"
and
refind_linux.conf
"Boot using default options" "rd.luks.name=fc493d25-9a79-439d-a5d7-12ad06719327=cryptroot root=dev/mapper/cryptroot rw rootflags=subvol=@ initrd=/amd-ucode.img initrd=/initramfs-linux.img add_efi_memmap"
Offline
God, how can people be so attentive? Thank you wery much, it works!
Offline
This is probably unrelated, but is there a reason to have "subvol" parameter twice on root and home in fstab:
subvol=/@,subvol=@
Offline