Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 10.04 inside Windows Vista.
I'm going to install Windows 7 but I don't want to lose all the software I have downloaded.
How can I backup my Linux on an external device (HDD, DVD ...) and take it back to my hard-disk (I want to install it outside the Windows if possible)? Is there any software that can do this for me?

share|improve this question
@Dennis Williamson:thanks. – behrooz Jun 5 '10 at 16:46
What do you mean by "inside Windows Vista", and by "install it outside the Windows"? Have you installed Ubuntu in a virtual machine? There are ways to store a list of all software packages you have installed, if that is what you want. – Genba Jun 5 '10 at 17:15
@Genba:I have installed it inside windows.Ubuntu asks for it if you start the installer inside – behrooz Jun 5 '10 at 17:19
Ah, Wubi....... – Hello71 Jun 6 '10 at 1:53
@Hello71:yes. and I've done it using is really cool and amazingly fast. – behrooz Jun 7 '10 at 19:59
up vote 0 down vote accepted

I do not know how you could back up your Ubuntu-in-Windows installation, but it may be useful to have a list of all installed packages in order to reinstall them without the need to select every package one by one. This way you can simply get a list of all installed packages and tell deselect/apt-get/Synaptic to automatically install all of them. Take a look at these links:

In addition, if you want to store all packages in a CD/DVD, so that you do not have to download all packages again, you can use APTonCD.

If you also want to back up your data, you will have to do extra work.

And I guess that, if you want to install Ubuntu in a partition on your hard drive, you will have to repeat the installation process from scratch.

share|improve this answer

Method of taking the back-up of all the installed packages in an Ubuntu machine Src:

Ignore the warning:

dpkg-deb: ignoring 1 warnings about the control file(s) warning, './dpkg-repack-20691/DEBIAN/control' contains user-defined field 'Original-Maintainer'
sudo apt-get install dpkg-repack fakeroot
mkdir ~/dpkg-repack; cd ~/dpkg-repack
fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`

Get inside the backed up folder and run the installation command!

dpkg -i *.deb
share|improve this answer
This one is really cool.and I'm having a debian machine right now. – behrooz Apr 24 '11 at 22:53

In short, copy the files in :\ubuntu\disks to a backup location, then reinstall Wubi and copy the files back. (Reinstalling is necessary to overwrite the bootloader to allow booting from Wubi.)

share|improve this answer

Your Answer


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.