Swap no longer recognised... [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Hepburn

Swap no longer recognised... [SOLVED]

Post by Hepburn »

Hi,

I've been adding/resizing partitions, and now I'm having some swap issues (I shrinked my 1st partition, and shifted the space along to form a 4th within an extended partition).

First, the swap wasn't recognised as swap in gparted, but that was fixed easily. But now it won't automount, so I have to do it manually in gparted each time I boot up. The only problem it appears to have caused is that my laptop won't hibernate anymore - not exactly serious, but still slightly annoying! :)


# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=78c61f06-ab4d-409a-a97f-c4c5e9f58ee7 / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda6 :
UUID=5c7a1595-46de-4eb9-8456-610b09fa906b /home ext3 relatime 0 2
# Entry for /dev/ !! UNKNOW DEVICE !! :
UUID=952f452f-184c-41ba-ae7b-5fd3cacacffd none swap sw 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0


The swap should come up as /dev/sda3. Any ideas?

TTFN
Hepburn
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
msuggs

Re: Swap no longer recognised...

Post by msuggs »

Try changing your entry for the swap partition to this

Code: Select all

# Entry for /dev/sda3
#UUID=952f452f-184c-41ba-ae7b-5fd3cacacffd 
/dev/sda3 none swap sw 0 0
If that is successful I'd suggest removing the UUIDs completely from your fstab which is explained in more detail in this wiki article
http://linuxmint.com/wiki/index.php/UUI ... _a_problem
Hepburn

Re: Swap no longer recognised...

Post by Hepburn »

Thanks! Swap now mounting a treat :) Having a look at the link you posted now.

Hibernation's still a bit weird (it'll hibernate, but then does a fresh boot when switched on again, rather than returning to how it was) so I'm guessing something else is causing that problem.

TTFN
Hepburn
Locked

Return to “Storage”