Ubuntu doesn't use swap files. It has to be in a separate partition. As you know you will not be able to create another partition outside of your Extended partition. You will have to create it within your Extended partition. By first shrinking the 288GB partition by 4GB.
Cheers & Beers, uRock
[SIGPIC][/SIGPIC]
Ok, I guess I read this wrong then: https://help.ubuntu.com/community/Sw...20more%20swap?
From what I understood, it says I can make a swap file
Ok, I'll make a swap partition then, and just delete the two files it left me in /media then?
The NTFS partition is mounted under /media/Shared. You have to edit the command accordingly:
The command is silent & it may take some time to complete. Be patient.Code:sudo dd if=/dev/zero of=/media/Shared/4096Mb.swap bs=1M count=4096
and you have to mount the NTFS partition at boot time:
http://psychocats.net/ubuntu/mountwindows
& finally add this line to the fstab file:
Code:/media/Shared/4096Mb.swap none swap sw 0 0
Cheers & Beers, uRock
[SIGPIC][/SIGPIC]
After the swap file is created you have to format it:
and create an entry for it in the /etc/fstab file. To edit the file run:Code:sudo mkswap /media/Shared/4096Mb.swap
and copy/paste thisCode:gksudo gedit /etc/fstab
at the end of the file.Code:/media/Shared/4096Mb.swap none swap sw 0 0
You don't need the Live CD to delete the files. Boot your Ubuntu installation use the rm command to delete the files:
andCode:sudo rm -i /mnt/512Mb.swap
Be careful, the rm command is dangerous, make sure that you delete the files you want.Code:sudo rm -i /media/shared4096Mb.swap
Bookmarks