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 a computer that is dual booted with Windows Vista and Ubuntu. I have had Ubuntu for a long time now and during that time I have learned how to use it by tinkering around with it. This, of course, has lead to some problems. I would like to somehow reinstall Ubuntu on the same partition but keep Windows intact.

Is there a way to do this?

share|improve this question
can we assume Ubuntu is installed on a separate partition than Windows? or did you install via Wubi to the Windows partition? – quack quixote Feb 7 '10 at 15:26
its installed on a separate partition. I did not use Wubi – codedude Feb 8 '10 at 1:42
up vote 2 down vote accepted

If you don't need the data on the Ubuntu partition, simply install over the top.

Boot from Ubuntu install CD as usual, then manually edit partitions. Delete the Ubuntu system partition and the swap partition. Go back and chose automatic install, and the partitioner should recreate fresh partitions for you in the same place.

share|improve this answer
i don't recommend deleting the partitions; just use the "manually edit" to set which partition is for root/swap, and have it format them. same effect without unnecessarily altering the partition table. – quack quixote Feb 7 '10 at 15:36
so I should just format the ubuntu partition and reinstall ubuntu in the partition again? – codedude Feb 8 '10 at 1:42
@Codedude, yes. I suspect the installer will try and create new partitions for you if you don't delete the old ones. It's easy enough to set root and swap if you know what you're doing though (as quack says), but the partition editor is not the most friendly of interfaces. – RJFalconer May 21 '10 at 8:15

On a side note, I'd read up first on how to configure Grub to launch the Windows boot manager, or be very sure I install the grub boot loader on the partition instead of the MBR.

The default is to instll Grub on the MBR if I recall which would wipe out your windows boot loader and render it temporarily unbootable.

No biggy, but a hassle to fix and a heart attack waiting to happen if you're not expecting it :D

share|improve this answer
ok....thanks for the advice. – codedude Feb 8 '10 at 1:43

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.