Emergency method (restart failure) system-System Management-partition Editor-right button search Activate swap
No partition editor can also operate:
To reactivate the swap partition, you need to first separate the swap partition with the partition Format tool and note the partition number. Then operate under the terminal:
sudo mkswap/dev/hdax #X是swap分区的编号, do not mistake the number, or you will die hard to see:
Write down the resulting UUID serial number.
Complete solution:
#/etc/fstab:static File System information.
#
#&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; --This file super-delegates been automaticly generated by Ntfs-config--
#
# <file system> <mount point> <type> <options> <dump> <pass>
PROC/PROC proc Defaults 0 0
# Entry FOR/DEV/SDA8:
UUID=3673D939-CFA2-4EB8-B9BD-4421CF7738DB/EXT3 Relatime,errors=remount-ro 0 1
# Entry for/dev/!! Unknow DEVICE!! :
Uuid=52a459ee-99cb-4856-9ea4-ff698b58bff8 None swap SW 0 0
My present
Uuid=52a459ee-99cb-4856-9ea4-ff698b58bff8 None swap SW 0 0
Modify the red part UUID
With
LS/dev/disk/by-uuid
Command View UUID
The UUID now queried:
may@may-desktop:~$ ls/dev/disk/by-uuid
Total dosage 0
lrwxrwxrwx 1 root 2009-04-06 11:55 0ef02de5f02dd3ad->. /.. /sda6
lrwxrwxrwx 1 root 2009-04-06 19:47 3673d939-cfa2-4eb8-b9bd-4421cf7738db->. /.. /sda8
lrwxrwxrwx 1 root 2009-04-06 11:55 4c844b34844b2036->. /.. /sda1
lrwxrwxrwx 1 root 2009-04-06 11:55 52a459ee-99cb-4856-9ea4-ff698b58bff8->. /.. /sda3
lrwxrwxrwx 1 root 2009-04-06 11:55 7660424460420af7->. /.. /sda5
lrwxrwxrwx 1 root 2009-04-06 11:55 def80115f800ee19->. /.. /sda7
may@may-desktop:~$
lrwxrwxrwx 1 root 2009-04-06 11:55 52a459ee-99cb-4856-9ea4-ff698b58bff8->. /.. /sda3