You are not logged in.

#1 2020-11-28 11:14:44

Asuantodilae
Member
Registered: 2020-11-28
Posts: 1

Failed to activate swap/home Dependency failed swap/local file systems

Starting version 246.6-1-arch
[FAILED ] Failed to activate swap /dev/sda1
[DEPEND ]  Dependency failed for Swap
[FAILED ]  Failed to mount /home.
[DEPEND ] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl defauld" or "exit"


I get this trouble sometimes after turn laptop on. But after reboot it working fine. Do someone know what kind of problem i get?

cat /etc/fstab

# Static information about the filesystems.

# UUID=5F67-744C LABEL=EFI
/dev/nvme0n1p1          /boot/efi     vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro    0 2
# UUID=b699ec7d-7472-48f9-bed4-df7cd32a7cd9 LABEL=ROOT
/dev/nvme0n1p2          /var/log      btrfs         rw,relatime,compress=lzo,ssd,space_cache,subvolid=257,subvol=/@log,subvol=@log    0 0
# UUID=b699ec7d-7472-48f9-bed4-df7cd32a7cd9 LABEL=ROOT
/dev/nvme0n1p2          /var/cache/pacman/pkg    btrfs         rw,relatime,compress=lzo,ssd,space_cache,subvolid=258,subvol=/@pkg,subvol=@pkg    0 0
# UUID=b699ec7d-7472-48f9-bed4-df7cd32a7cd9 LABEL=ROOT
/dev/nvme0n1p2          /btrfs        btrfs         rw,relatime,compress=lzo,ssd,space_cache,subvolid=5,subvol=/    0 0
# UUID=b7d0388c-07a1-4af3-ad8e-8e5ee1a343a7 LABEL=HOME
/dev/sda2               /home         xfs           rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota    0 2
# UUID=a8fa492a-c2b5-4a55-a77a-2b8e0c6e3947 LABEL=SWAP
/dev/sda1               none          swap          defaults      0 0

blkid

/dev/nvme0n1p1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="5F67-744C" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b9801ba0-cf2f-da4f-8190-d7a2b7b99060"
/dev/nvme0n1p2: LABEL="ROOT" UUID="b699ec7d-7472-48f9-bed4-df7cd32a7cd9" UUID_SUB="3b38f3c0-0ea2-41d0-a1d0-62cbeb81c9ea" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="86bc2841-2c95-bd42-920a-a49a68f8f616"
/dev/sda1: LABEL="SWAP" UUID="a8fa492a-c2b5-4a55-a77a-2b8e0c6e3947" TYPE="swap" PARTUUID="a80a9d16-d199-ee44-ba3a-fb4777e185ec"
/dev/sda2: LABEL="HOME" UUID="b7d0388c-07a1-4af3-ad8e-8e5ee1a343a7" BLOCK_SIZE="4096" TYPE="xfs" PARTUUID="68ea6c7a-96f5-7e4e-8ce1-b438e0e7aeab"
/dev/sdb1: LABEL="Gannymede" BLOCK_SIZE="512" UUID="F8FA9342FA92FC56" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4817d5d4-2353-4122-833d-a458a151adcc"
/dev/sdb2: LABEL="Europe" UUID="fca80c59-1f75-4873-825a-af78b73e0d9a" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Snapshots" PARTUUID="2a012746-50fb-44c9-bb81-a167df4885b6"

Offline

#2 2020-11-28 11:52:27

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: Failed to activate swap/home Dependency failed swap/local file systems

If you change the fstab to use Persistent_block_device_naming can you reproduce the issue?

Offline

Board footer

Powered by FluxBB