Ubuntu – How to reinstall Ubuntu keeping the data intact


I want to reinstall Ubuntu keeping my data intact. I have 160 GB hardrive (sata or pata I don't know but it's slim and made in China) with a 40 GB ext3 partition, a 4GB swap memory and 3 other partition with a FAT32 file system. I have around 4GB space on my drive where Linux is installed.

I'd like to keep the data intact, especially the Downloads folder, desktop, and /var/www; And I no longer have access to any other machines or external storage devices.

Best Answer

Just copy the directories that you want to save i.e Downloads, /var/www and Desktop to another partition, install Ubuntu to that 40 GB ext3 partition and after installation copy the directories back.

Related Question