You are not logged in.
Pages: 1
Recently, my laptop has been taking much longer to boot. It seems to be attempting to load my swap space, and failing to do so:
[ TIME ] Timed out waiting for device /dev/disk/[uuid].
[DEPEND] Dependency failed for /dev/disk/[uuid].
[DEPEND] Dependency failed for Swaps.
Note: I also have Windows and Pop!_OS installed.
Any idea why this could be happening?
Offline
Yes: /dev/disk/[uuid] doesn't show up. It probably doesn't even exist?
Offline
What is the output of:
sudo blkid
cat /etc/fstabWhen you installed Arch how did you set Swap up? Actual swap with a swap partition? zram?
Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma
Offline
If this is on a GPT disk just delete the swap line from /etc/fstab.
Jin, Jîyan, Azadî
Offline
Yes: /dev/disk/[uuid] doesn't show up. It probably doesn't even exist?
"[uuid]" was just a replacement for the actual UUID, since it was quite long and I didn't think it was necessary to type it out, but the actual UUID is (according to my fstab file) 767c5917-c3f1-4b39-b621-72ae75b09867.
Last edited by Dragin (2024-07-11 15:16:54)
Offline
What is the output of:
sudo blkid cat /etc/fstab
/dev/nvme0n1p9: UUID="2a782540-82d4-43de-be5c-48afc4ca5f7c" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8a5fef41-81bb-4293-bee4-b1f86a2ae38a"
/dev/nvme0n1p7: UUID="c12b84ee-7a46-4873-990b-893229bba5ec" TYPE="swap" PARTUUID="027d4456-a3e3-4b1b-b150-97cb55d58b17"
/dev/nvme0n1p5: LABEL="Image" BLOCK_SIZE="512" UUID="B0C6D2D4C6D29A44" TYPE="ntfs" PARTUUID="0b074f1c-576d-4e3f-ba8f-17867259e6ff"
/dev/nvme0n1p3: LABEL="OS" BLOCK_SIZE="512" UUID="EE2AD1922AD15863" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="de00d8b5-3b37-45ea-85f1-d89d9f1b327e"
/dev/nvme0n1p1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="E8CD-6821" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="00c2ac5f-bb8c-44c3-978f-4f0fa7165f24"
/dev/nvme0n1p8: UUID="554a9141-7e73-4ada-8c3c-d30c4732d2c6" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ce1abba5-fe51-407a-9b25-e17565c45e41"
/dev/nvme0n1p10: UUID="3E2E-36EC" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="8bbb7232-5d7a-451e-b5c3-94a21b5b51a0"
/dev/nvme0n1p6: LABEL="DELLSUPPORT" BLOCK_SIZE="512" UUID="9C14D45D14D43C48" TYPE="ntfs" PARTUUID="1ef94d73-bdec-426c-847b-b6ab89ca381b"
/dev/nvme0n1p4: LABEL="WINRETOOLS" BLOCK_SIZE="512" UUID="24282F0F282EE012" TYPE="ntfs" PARTUUID="60344dc9-b5ca-44cb-8c81-d77906d88334"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="4352482b-2365-4a66-9657-86b162b8ec59"
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p8
UUID=554a9141-7e73-4ada-8c3c-d30c4732d2c6 / ext4 rw,relatime 0 1
# /dev/nvme0n1p1 LABEL=ESP
UUID=E8CD-6821 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/nvme0n1p7
UUID=767c5917-c3f1-4b39-b621-72ae75b09867 none swap defaults 0 0
When you installed Arch how did you set Swap up? Actual swap with a swap partition? zram?
An actual swap partition.
Offline
If this is on a GPT disk just delete the swap line from /etc/fstab.
From what I understand, fstab is just a list of partitions to mount/use, so wouldn't that just disable it entirely?
Offline
Not for a GPT disk under systemd: https://www.freedesktop.org/software/sy … rator.html
Pop!_OS probably reformatted your swap, which changed the UUID.
Jin, Jîyan, Azadî
Offline
UUID for your swap "c12b84ee-7a46-4873-990b-893229bba5ec" does not match what you have in /etc/fstab.
Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma
Offline
Not for a GPT disk under systemd: https://www.freedesktop.org/software/sy … rator.html
Pop!_OS probably reformatted your swap, which changed the UUID.
sorry for hi-jacking: does this require systemd-boot?
Offline
No, it does not. The generator runs after the bootloader has finished.
EDIT: but you do need systemd in the initramfs if you want to omit the root partition identifier from the bootloader configuration.
Last edited by Head_on_a_Stick (2024-07-11 16:15:28)
Jin, Jîyan, Azadî
Offline
sounds neat - gonna give that a try
Offline
Otherwise use the correct UUID (c12b84ee-7a46-4873-990b-893229bba5ec)
I btw. got the placeholder thing, the reason why I was a bit snappy is https://bbs.archlinux.org/viewtopic.php?id=57855 (and admittedly yours was not the only thread this morning in that regard)
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Also in the future please use [code][/code] tags.
Offline
Not for a GPT disk under systemd: https://www.freedesktop.org/software/sy … rator.html
Pop!_OS probably reformatted your swap, which changed the UUID.
Ah, that makes sense.
I tried removing the line and it did not appear to fix it. It gives me the error "[FAILED] Failed to activate swap Swap Partition."
I also tried using swapon (sudo swapon -v /dev/nvme0n1p7):
swapon: /dev/nvme0n1p7: found signature [pagesize=4096, signature=swap]
swapon: /dev/nvme0n1p7: pagesize=4096, swapsize=8589934592, devsize=8589934080
swapon: /dev/nvme0n1p7: last_page 0x200000000 is larger than actual size of swapspace
swapon /dev/nvme0n1p7
swapon: /dev/nvme0n1p7: swapon failed: Invalid argument
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stAlso
fdisk -l /dev/nvme0n1
lsblk -fAlso: code tags …
Offline
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: PM9A1 NVMe Samsung 1024GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E6FDF862-4882-4827-831C-F9D319F30A50
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1026047 1024000 500M EFI System
/dev/nvme0n1p2 1026048 1288191 262144 128M Microsoft reserved
/dev/nvme0n1p3 1288192 257288191 256000000 122.1G Microsoft basic data
/dev/nvme0n1p4 1973080064 1975967743 2887680 1.4G Windows recovery environ
/dev/nvme0n1p5 1975967744 1998151679 22183936 10.6G Windows recovery environ
/dev/nvme0n1p6 1998151680 2000383999 2232320 1.1G Windows recovery environ
/dev/nvme0n1p7 257288192 274065406 16777215 8G Linux swap
/dev/nvme0n1p8 274065408 1446385663 1172320256 559G Linux filesystem
/dev/nvme0n1p9 1446385664 1967812606 521426943 248.6G Linux filesystem
/dev/nvme0n1p10 1967812608 1973080062 5267455 2.5G EFI System
Partition table entries are not in disk order.
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
|
|-nvme0n1p1
| vfat FAT32 ESP E8CD-6821 140.3M 72% /boot
|-nvme0n1p2
|
|-nvme0n1p3
| ntfs OS EE2AD1922AD15863
|-nvme0n1p4
| ntfs WINRETOOLS 24282F0F282EE012
|-nvme0n1p5
| ntfs Image B0C6D2D4C6D29A44
|-nvme0n1p6
| ntfs DELLSUPPORT 9C14D45D14D43C48
|-nvme0n1p7
| swap 1 c12b84ee-7a46-4873-990b-893229bba5ec
|-nvme0n1p8
| ext4 1.0 554a9141-7e73-4ada-8c3c-d30c4732d2c6 383G 25% /
|-nvme0n1p9
| ext4 1.0 2a782540-82d4-43de-be5c-48afc4ca5f7c
`-nvme0n1p10
vfat FAT32 3E2E-36EC Offline
The partition table is ok, but I forgot that lsblk doesn't show the swap size…
Either way, run mkswap - https://wiki.archlinux.org/title/Swap#Swap_partition
I suspect you may have repartitioned the drive and that resulted in the different UUID and you probably also shrunk the swap partition?
Offline
Thanks, that worked. I think that might break it in Pop!_OS though.
Offline
the solution is the same: clean up the fstab
as you have a linux running you can just mount the others os root partition
Offline
Ftr, you can use "mkswap -U"
The swap partition should™ have been broken in Pop and everywhere else anyway because the signature was created on a bigger partition.
Offline
Pages: 1