Wubi install: How do I increase swap size
- by Diogenes Lantern
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?