我在我的电脑上使用 Ubuntu 14.0 32 位。当 Ubuntu 启动时,它不会挂载交换分区,每次我都必须使用 GParted 手动启用它。
/etc/fstab
#/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda7 during installation
UUID=a8375b84-987c-4270-85ac-0accd8682008 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
#UUID=c399c299-23f2-4c06-b6b7-aab8ef70d98b none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw,noauto 0 0
/dev/disk/by-uuid/5d8d832e-a440-45b7-b3fe-4793f0b678f3 /media/omid/Backup auto
nosuid,nodev,nofail 0 0
另外,当我打开系统监视器时,我看到 Swap 不可用。我应该怎么办?
如果您不使用加密交换,则应删除此行
并取消评论这个(删除#)