I play a lot of Minecraft/Tekkit. I have quite a bit of lag issues and my brother told me to add more VM RAM. He said it's called Swap Partitioning on Linux. I am looking for a simple solution, I can't access my su(it's not accepting my password). I am running Ubuntu 13.04. I have 2gb RAM and 250 hard drive space. Please help. My laptop is a Presario Compact from the stone age, does that change anything?
in Ubuntu, you use
sudoto temporarily gain root privileges. you generally don't use
su, although you can do
you need root privileges to change the partition layout on your disks, and swap is usually handled as a partition in Ubuntu.
i recommend to use
gpartedto change your partitions. install it via software centre if it is not installed.
add another swap partition in
gpartedon unused disk space. if you do not have any unused disk space left, you have two options:
resize existing partitions (MAKE A BACKUP FIRST, and possibly you need to do the resize from a live-cd boot)
consider using a swap file instead of a swap partition: see http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
generally a good read: https://help.ubuntu.com/community/SwapFaq