Installing ubuntu 16.04 without losing data [duplicate]

Currently , I am running ubuntu 15.10 on my Dell laptop (ram-4GB) . I want to install ubuntu 16.04 LTS on my laptop as ubuntu 15.10 is no more supported. I don't want to lose my data while changing os , can I install 16.04 without losing data .

Thanx for helping in advance


First things first: backup, backup, backup!

Back up all of your important data to an external HDD. You could also dd the entire contents of your internal HDD to an external one if you want a complete 1:1 image of the HDD.


Warning! I take no responsibility if this fails and you lose your data because you failed to back it up!


Before you begin, run this command to find out your username:

whoami

Write the output down! (Also write down your password)


Now for reinstalling:

  1. Download the Ubuntu 16.04 ISO

  2. Burn the ISO to a DVD, or use the included Startup Disk Creator program to make a live USB drive.

  3. Boot the install media you created in step #2

  4. Choose to install Ubuntu

  5. On the "installation type" screen, choose Something Else

  6. Select Ubuntu system partition, and set its mount point as /. Be sure to keep the same format type, the same size, and untick the "Format" checkbox (else all data on "/" will be deleted!)

  7. When you are asked to create your username and password, USE THE ONES YOU WROTE DOWN EARLIER!!! (Else loose your data)

  8. After the installation finishes, follow the prompts to shutdown, and remove the installation media when it tells you to.

  9. Reboot and cross your fingers.


Backing up your important computer's data is always a good idea when using the computer.

Your personal space and other directories that you create will not be touched without specifying erase disk or format partition.

Installing Ubuntu fresh will not affect a user's personal data and files unless he instructs the installation process to format a drive or partition. The wording in the steps that will do this is Erase disk and install Ubuntu, and Format Partition. If you don't choose those to options, the only areas that would be replaced are the ones associated with the new install. It'll list those areas also and advise you that specific data will be erased/replaced. This includes:

/etc, /lib, /usr, /var, ...

These are systemwide areas, whereas your data should be in your personal area or some other directory that you have created.

To ensure preserve your data during the installation use the following options during installtion:

* Installation type - checkmark Something else

* Install Partition - Ensure Format box is unchecked