/dev/sda1 swap swap defaults 0 0
When I try to mount that partition with swapon -a I get this error message:
swapon: /dev/sda1: open failed: No such device or address
I can see the partition when i run lshw:
description: Linux swap volume
physical id: 1
bus info: scsi@0:0.0.0,1
version: 1
serial: <UUID>
size: 8189MiB
capacity: 8189MiB
capabilities: primary nofs swap initialized
configuration: filesystem=swap pagesize=4096
If I put the line "UUID=<UUID> swap swap defaults 0 0" in /etc/fstab and run swapon -a I get this error message:
swapon: cannot find the device for UUID=<UUID>
Device /dev/sda1 isn't listed when I run blkid.