I have installed ubuntu inside windows 7 via wubi. How do i uninstall windows 7, keeping ubuntu as my primary OS?
Asked
Active
Viewed 346 times
2
-
possible duplicated: http://askubuntu.com/q/144237/62483 – Lucio Jun 01 '13 at 22:15
-
Note that the duplicate is partially valid, however wubi installs within Windows' partition, not as a standalone installation. Back up the files, then install for a normal dual-boot and copy your files back in. – Thomas Ward Jun 01 '13 at 23:12
1 Answers
1
Unfortunately, you can't, at least not easily. Wubi's designed to install Ubuntu inside the Windows partition in what is called a loopback file. Essentially, when Ubuntu boots, first the kernel mounts the Win7 NTFS partition, then looks for the file that contains the Ubuntu file system and "pivots" onto it. The cleanest way to get rid of Windows would be to reinstall without using Wubi.
Of course, technically it would be possible to manually repartition, copy everything from the loopback filesystem, delete Windows, repartition again, install the bootloader, etc. But I think that route would be nothing but a trail of tears for anyone except maybe Linus Torvalds ;).
Don't forget to back up your data!

thirtythreeforty
- 1,212
-
I should add that Ubuntu has pretty extensive sync capability with Ubuntu One. You can even back up your installed list of applications in the Software Center; this could potentially save you a lot of work after reinstalling! – thirtythreeforty Nov 02 '12 at 15:36