0

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?

quack quixote
  • 43,504
behrooz
  • 735

3 Answers3

1

Method of taking the back-up of all the installed packages in an Ubuntu machine Src: http://ubuntuforums.org/showthread.php?t=819396

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
bertieb
  • 7,543
Denny
  • 11
0

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.

Genba
  • 424
0

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.)

Bobby
  • 9,032
Hello71
  • 8,673
  • 5
  • 42
  • 45