I wrote all this and then I saw you have a boot partition sda3 which may be unnecessary so if you'd like before you check the rest can you post me the output of
?Code:sudo parted -l
Ok since it isn't mounted it means it' not in a different partition and we will have to save it. First let's find out how big your home folder is. Open your home folder and go up a level (ALT+UP arrow). You should see your folder as an icon (of a home ) with your name. Right click on it and select properties. Wait for it to finish counting and check its size.
Now you have the following options.
Copy everything to an external media (hard drive) and after reinstalling ubuntu copying them back.
Or do some partitioning and saving them to a new partition on the same drive. That requires a bit more effort on your side and also your home folder to be smaller than the free space on the disk (since we will COPY it not move it.) In both cases I would copy them back to a distinct /home partition so that you can easily reinstall the os without losing your configurations and files in the future.
Note that both procedures take time. If you decide that you don't mind not keeping some large files because you also have them elsewhere you could delete them now and spare yourself some time.
COPY TO SAME DRIVE.
If you want to not use an external disk then you will have to resize your partition. To be honest to shrink it to make free space on the disk. We can't do so from your installed system (can't shrink itself) so we will do so from a live cd. Since you want to installl 14.04 go ahead and make an installation media (either dvd or [url=https://help.ubuntu.com/community/Installation/FromUSBStick]usb) and boot it up. But instead of selecting "Install Ubuntu Now" , select Try Ubuntu, and you will have a ubuntu system without installing. Then you can run Gparted (it's included on the live cd/usb) and follow the guide above on resizing.I 'm not sure how much space you have but the main / partition of ubuntu doesn't need more than say 30-40gb (and that's probably overkill) so you can push it that low. After its done (and you will NOT interrupt it) you can make a new partition on the unallocated space. Choose ext4 filesystem. Remember its size and name sdax where x will be a number, and maybe give it a label.
Then we 'll copy your home folder to the new partition. There is a guide here but it requires you to reboot to your old system. You also shouldn't bother with sections related to fstab or moving home to old since you will be reinstalling.
If you don't want to reboot, follow on.
Since we are on the live media opening home as you used to will show nothing. But at the bottom of the launcher you 'll have some hard-disk icons. One of them will be your installed system which will contain a folder name home and one of them will be empty. Do not copy the /home folder to the empty partition. Rather enter the home folder and copy the folder name after you. Paste it to the new partitions. After it's done check it's size and importantly check permissions tab. It must be the username you had (and will have) and not something else.
INSTALL
Now you can reinstall ubuntu. It is important however that you do the following things:
Select manual/custom partitioning and not install ubuntu alon or install ubuntu alongside. MANUAL.
You will get a list of paritions. Find the one you created and click on change. Select use as ext4 filesystem and mount on /home. Doublecheck format is NOT selected.
Select your old partition and set it to be mounted on /. For this partition select Format. Now continue with install. It's important that you pick the exact same username and password as you had. Otherwise you may face problems.
Now after you install you won't have your programs, say your bitorrent client. But after you install them, they won't be like brand new but already configured as you left them. Your bittorrent client will be configured as it was and it will even have your torrents as you left em.
EDIT: If you want to use an external drive just copy your home folder to your external drive.Unplug that drive. Then install ubuntu with manual partitioning and delete every partition. Then add a 30-40GB ext4 partition to be used as / , a couple gb swap partition (equal to your ram if it's a laptop and you want hibernate) , and the rest as an ext4 partition to be used as home. Install normally and boot to your new system. Copy everything (press ctrl +H to show hidden files, they start with a . and are what contains your configurations) to your new home folder. DO NOT REBOOT before running
where user is your username. Do not run it with user, you will need another reinstall.Code:sudo chown -R user:user ~/user
Bookmarks