You are not logged in.
After fresh installation using btrfs file system + LUKS. I can't boot in system with dropping in emergency shell.
I checked my FSTAB, it's good.
Here's the fstab file- [https://termbin.com/mc5f]
Here's the grub file - [https://termbin.com/pqlr]
This is my partition setup - [https://termbin.com/ot69]
Offline
Ok, I got this to boot but swap is disabled.
journalctl -b | grep swap [141]
Jan 23 10:45:45 arif kernel: zswap: loaded using pool lzo/zbud
Jan 23 10:45:45 arif systemd[1]: Found device Samsung_SSD_850_PRO_256GB cryptswap.
Jan 23 10:45:45 arif systemd[1]: Activating swap Swap Partition...
Jan 23 10:45:45 arif swapon[412]: swapon: /dev/sda2: read swap header failed
Jan 23 10:45:45 arif systemd[1]: dev-sda2.swap: Swap process exited, code=exited, status=255/EXCEPTION
Jan 23 10:45:45 arif systemd[1]: dev-sda2.swap: Failed with result 'exit-code'.
Jan 23 10:45:45 arif systemd[1]: Failed to activate swap Swap Partition.Last edited by arifcatalyst (2019-01-23 12:31:43)
Offline
Did you format the partition with mkswap?
Offline
This is my partition scheme- I want an encrypted swap-
This is what I did-
sgdisk --clear \
--new=1:0:+550MiB --typecode=1:ef00 --change-name=1:EFI \
--new=2:0:+8GiB --typecode=2:8200 --change-name=2:cryptswap \
--new=3:0:0 --typecode=3:8300 --change-name=3:cryptsystem \
$DRIVE# cryptsetup open --type plain --key-file /dev/urandom /dev/disk/by-partlabel/cryptswap swap
# mkswap -L swap /dev/mapper/swap
# swapon -L swapOffline
Does it work when you do it manually?
Jan 23 10:45:45 arif swapon[412]: swapon: /dev/sda2: read swap header failed
Shouldn't it say swapon /dev/mapper/swap? It looks like it's trying to swap on the container.
Offline