I acidently installed a Linux os over my windows 7 ultimate

i was installing Ubuntu on my hp laptop and i acidently installed it over my windows 7. and i cant get it back. i tried installing another version from a cd, but it just booted to ubuntu. please help


Essential Member
Try rebooting and tapping the F8 key then select advanced and select OS to boot into. Then I would recommend uninstalling Linux OS.

Try what the BF says... hopefully you'll be okay, but I sense a clean install somewhere down the road here.


New Member
Try what the BF says... hopefully you'll be okay, but I sense a clean install somewhere down the road here.
If you mean that you installed Ubuntu or any Linux distro for that matter on the same partition that your Win 7 was installed on then
your Win 7 install is gone.
By that I mean the Ubuntu installer would have formatted (erased) your Win 7 partition and formatted it to ext3 or ext4.
The only recourse is a clean install of Win 7.

If in fact you installed it on another partition and Win 7 is still there on your original Win 7 partition then Ubuntu would have created a
boot menu with Ubuntu as the default entry.
It should have recognized your Win 7 install and created an entry for Win 7 as well.

none of that works. when i select to boot of my dvd drive nothing loads and my laptop just boots to ubuntu. i sent my laptop into futureshop today to see if they can just erase my hard drive.

You could have erased your hard drive yourself if you would have asked us on this thread about how to do it. It is simple and easily done, even for those who have never attempted it.

Captain Jack

Extraordinary Member
Maybe the something is up with Boot loader. If you have Windows 7 Repair disk. Run a Startup Repair 3 times to fix such issues.

How do i format my hard drive?

You can reformat your hard drive during the Windows install process:

Reformatting your Hard Drive Using the Windows Installation Disk

  1. Restart your PC and enter the BIOS setup by pressing the ‘Delete’ key. Once in the setup, ensure that the boot configuration is set to allow the CD/DVD drive to boot first.
  2. Insert the Windows installation disk in the drive and then exit the setup after saving the changes.
  3. As your machine restarts, you should be prompted to press any key to boot from the disk. It is important to boot from the disk because you cannot format your system partition from the operating system itself.
  4. The Windows installation screen should take you through several steps before you are allowed to format an existing drive.
  5. You can choose to reformat existing partitions, delete existing partitions, or create new partitions in unpartitioned space. Choose the required amount of space by specifying a number denoting the formatted area in megabytes.
  6. You may choose NTFS or FAT32 for formatting; NTFS drives are faster, superior and more secure.

That's the easiest way for most people who are not familiar with the process.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.