Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently I have installed Ubuntu 12.10 x64 Server Edition on my PC. Unfortunately, I attempted to install a lightweight desktop but due to the fact that I have an old graphics card, the PC does not perform so well. I am thinking of re-installing an Ubuntu version but I do not want to loose the contents in my home folder. Is there any way to do that with a Live CD?

Thank you

share|improve this question
    
Do you have an extra partition for /home ? You should make a backup bevor you reinstall, this is the best way to save your data. –  prophecy201 Mar 19 '13 at 10:50
add comment

3 Answers

up vote 5 down vote accepted

Ever since Hardy (Ubuntu 8.04) you can reinstall Ubuntu without loosing data in /home even without a separate /home partition.

See

https://help.ubuntu.com/community/HomeFolder

https://help.ubuntu.com/community/UbuntuReinstallation

Preserving home when reinstalling Ubuntu

Since Hardy, Ubuntu can be reinstalled while preserving home even without separate /home: see UbuntuReinstallation.

Few people know it, but since Hardy it's possible to reinstall Ubuntu without losing the content of the /home folder (which contains program settings, internet bookmarks, emails... and all the documents, music, videos that you have put in it). Even if /home is not on a separate partition

Of course, you should always have a backup of your data.

share|improve this answer
add comment

If you have a dedicated partition for /home:

  • launch the installer
  • when it comes to the choice of disk and partitions, choose "other" and then, manually select the partition for / and /home; check that the installer will format only the / partition, and not the /home

If you have only one partition:

  • launch the live cd, select "try Ubuntu"; if you have an old pc, you may try xubuntu instead of ubuntu
  • once on the desktop, use the file manager to browse your home directory, display hidden files, select all and copy all on a usb key
  • when the installation is finished, you can copy again the files in your /home before restarting
share|improve this answer
    
I had separate home partition. I chosen reinstall keep data if possible, and all data on home were deleted. Writing just to tell other people to payattention. –  umpirsky Jun 22 '13 at 12:15
    
Before upgrading, one must always back up the /home content. –  ttoine Jul 11 '13 at 16:04
add comment

Why reinstall? Just add the (meta)-package that installs the DTE you want to use. If you want to reinstall, at least create a separate /home partition. And if you really want flexibility use LVM so you can easily add, remove and resize partitions (aka "logical volumes" in LVM language). You can also add or remove disks to your logical disk (volume group).

But please consider to just install the right DTE first as you don't need to reinstall.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.