Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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've ubuntu installed inside windows . Is there any way I can keep the ubuntu installation intact while formatting the windows ?

share|improve this question

migrated from May 24 '12 at 14:34

This question came from our site for professional and enthusiast programmers.

Did you plan to remove Windows installation or planning to reinstall? – positron May 24 '12 at 10:34
which is the version of ubuntu ? – Tachyons May 24 '12 at 14:54

If you have Ubuntu installed under Windows, then you are using a virtual machine which will be a program installed on Windows. The only way I see will be to save the "virtual hard disk" your virtual machine uses. After reinstalling, you should be able to use it to boot. See the configuaration of your virtual machine. But I've never tried it.
But the best will be to do a proper installation of Ubuntu.

share|improve this answer
Not if the OP used the Wubi installer. – Fred Foo May 24 '12 at 12:04
What's OP? I was familiar with virtual box and I'm sure it was possible to do that. – Joseph Elcid May 24 '12 at 12:11
OP = Original poster, the person who asked the question. – slhck May 25 '12 at 8:21

This question is already answered in askubuntu

Another option is backup the wubi installation using remastersys ,and install it alongside Ubuntu using remastered iso

Remastersys is a tool that can be used to do 2 things with an existing Debian, Ubuntu or derivative installation.

It can make a full system backup including personal data to a live cd or dvd that you can use anywhere and install. It can make a distributable copy you can share with friends. This will not have any of your personal user data in it.

The resulting iso file can be used on any other PC that still meets the original minimum requirements of Ubuntu or Debian. Things like the graphics card and other hardware will be configured and setup automatically and you do not have to use identical hardware. Ubuntu's live boot tool, casper, currently blacklists Nvidia and AMD proprietary drivers so they will not be available on the live system and will need to be reinstalled after installation of your custom system


share|improve this answer

You could presumably backup the files wubi - which is the tool used to install ubuntu in windows - produces (IIRC under c:/wubi) to some storage device, wipe the windows system, reinstall wubi, and replace the new wubi files with the old ones.

share|improve this answer
Is it enough? What about registry entries ? Have you tries this? – Tachyons May 24 '12 at 15:18
well, it worked a few years back - a fresh wubi install would handle any registry entries and bootloader mods. – Journeyman Geek May 24 '12 at 15:22

You must log in to answer this question.