Wubi install: How do I increase swap size
Posted
by
Diogenes Lantern
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Diogenes Lantern
Published on 2013-11-10T18:21:51Z
Indexed on
2013/11/10
22:23 UTC
Read the original article
Hit count: 269
I am trying to increase the swapfile size on my WUBI install.
I followed the answer here:
sudo su
swapoff -a
cd /host/ubuntu/disks/
mv swap.disk swap.disk.bak
dd if=/dev/zero of=swap.disk bs=1024 count=2097152
mkswap swap.disk
swapon -a
free -m
until I reached:
mv swap.disk swap.disk.bak
At which point I have got got the following:
root@ubuntu:/host/ubuntu/disks# mv swap.disk swap.disk.bak
mv: cannot move `swap.disk' to `swap.disk.bak': Operation not permitted
My 256 M swap space is all used up. I would like to install a total of twice that. Is there a method of setting it which would not include guesswork on my part?
© Ask Ubuntu or respective owner