After installing Linux Mint 13 Cinnamon 64 for the first time (instead of Ubuntu 12.10), I noticed that when I reboot the computer, the swap (/dev/sdb3: LABEL="Nouveau volume" UUID="b4e43f97-ee1d-4f6a-8051-3ada466a365d" TYPE="swap") was not active. I have to activate it manually by sudo swapon /dev/sdb3 at each time I start the system. It is quite annoying. Do I have to do thewyrdoak wrote:If you don't wish to mess with make a swap partition for one reason or another there is another option.
Debian, and Ubuntu have an incredibly convenient package that creates a swap file in any directory. Install with:
sudo apt-get install dphys-swapfile
The installation process with automatically create the swap file. Then just enable it with:
sudo swapon -a
Viola, a fully function swap file that is not on a separate partition.
Code: Select all
sudo apt-get install dphys-swapfile
Code: Select all
sudo swapon -a
PS. I have Ubuntu 12.04 LTS in dual boot and I have the same problem with the swap. I have to avtivate it manually. What's your thought on that?
Maybe this information will help you to decide the best thing for me:
From a newbie with Linux Mint-$ sudo blkid
/dev/sda1: LABEL="NexSatrUSB" UUID="18CA48E7CA48C32C" TYPE="ntfs"
/dev/sdb1: LABEL="Linux Mint" UUID="b10de93f-5a76-477b-be50-c769c3d03570" TYPE="ext4"
/dev/sdb3: LABEL="Nouveau volume" UUID="b4e43f97-ee1d-4f6a-8051-3ada466a365d" TYPE="swap"
/dev/sdb5: LABEL="Precise" UUID="f98b76dc-9db8-4b49-863e-b624b7c68a16" TYPE="ext4"
-$swapon -s
Filename Type Size Used Priority
-$ cat /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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=b10de93f-5a76-477b-be50-c769c3d03570 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
#UUID=2f16bd14-fe9f-41fd-b973-5f64cddf40e4 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
Thanks in advance for your help!
Mario Lemelin