Sorry about that. Sometimes I just can't type.
I am not sure where your sda3 partition is but it is a nice large partition that probably has a good chunk of empty space at the end of it.
Swap can be anywhere on the drive. It also wil need to be in you /etc/fstab file so that your install can find it.
While backing up your data when doing any partitioning is a good idea and you should do it there is little chance of it going sour. The big problem with MS related partitions is a certain pickyness about exactly where they start. In this case that will not be a problem.
I would fire up your Live CD/DVD and shrink that sda3 partition to create the space for swap. I would think 1 or 2 gigs would be plenty but many recommend 2 times your amount of ram. That is up to you. Shrinking the partition using gparted will be fine. Shrink it from the right end (empty end) to the left.
Create a partition in the space left by that shrinkage formatted to "linux swap".
You will need to edit the /etc/fstab file to have an entry like;
Code: Select all
#Entry for /dev/sda4 :
UUID=2758aefb-1847-42ea-92c0-cefddf6a8460 none swap sw 0 0
The first line that is commented out is not really needed but is always included by default when the fstab is generated by the installer and I kind of like the information.
The second line is what does the job of telling your OS where to look for swap. The uuid info needs to be in that format. You can get the uuid of /swap by running;
You can copy paste the info from terminal to your text editor but you will need to remove the quotation marks from the uuid from the terminal. Copy/paste is the way to go as it is a long number.
If you have never pulled up a file in a text editor it should be done this way;
"gedit" can be replaced by what ever text editor you have or like to use.
You can do that from your Live Session or wait until you log back into your install. If you do it from inside your install you will have to log out and back in to have it take effect as the fstab is read as part off booting up.