Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: ubuntu damaged my windows partition

18 Oct 2011   #1

Windows 7 ultimate x64, premium x64, ultimate x86
ubuntu damaged my windows partition

Now I can't boot from the harddrive at all,even after reinstallng windows.


I installed a new drive and since I need to test apps on multiple operating systems, I install several windows versions. I spend two weeks installing many windows versions, then updating and installing software on each, then before I was about to clone the drive to use on other systems, I installed ubuntu.

All was fine, I had Win 2000pro, win xp pro, 2k3 datacenter, and vista and seven in 32 and 64 bit versions, all living with ubuntu, until ubuntu asked to update from 11.04 to 11.10.

When done, the Grub2 bootloader would fail to load the win7 seven bootloader. After about 12hrs tryng to fix it, I decided to delete the ubuntu and use my windows disc to overwrite the grub bootloader. I did it successfully according to windows but it wouldn't load and nothin would boot.

I then try to reinstall Seven on the first partition, hoping it would at least boot that, and all seemed well during install, but as soon as it tried to boot from harddrive, nothin happened. I then tried to reinstall one of the WinXP versions, to let it overwrite the Seven boot loader, but the same problem, it's like something is stopping this partiton from booting. I didn't want to wipe the partition if I don'thave to, so I tried to use Gparted to resize and move it, making it partition2, and a fresh partition to instal win7 on, and hoped it would see and setup the booting of the other versions, but I couldn't even move the martition (unspecified error).

I think I'm about to just wipe the drive and start over, losing 2weeks of work, unless someone has a magic cure. I've already tried to restore master boot records, boot sectore fix, every windows and 3rd partytool says it's fixed, but it won't boot, and won't instal.

Ubuntu's help is worthless unless it's ubuntu thats broken. Every choice they have in installation recovery is to deal with ubuntu not working, nothing at all with it killing allyour windows installations, nor is there a way to "undo" the update or installation.

My System SpecsSystem Spec
18 Oct 2011   #2

Microsoft Community Contributor Award Recipient


All Linux code must be deleted using the CLEAN ALL command.As you have had linux on the HD you need do a Clean all & full format.

Type in command line

ubuntu damaged my windows partition-list-disk.png

SSD / HDD : Optimize for Windows Reinstallation

My System SpecsSystem Spec
18 Oct 2011   #3

Windows 7 ultimate x64, premium x64, ultimate x86

I was trying to salvage the windows installation, but my next step was to delete the partiton and start over.

Do you think recreating the first partiton and reinstalling that windows version will fix the other installed windows versions too? I imagine I'll need to salvage the boot.ini file from the root of that drive so it can fine the pre-vista versions.

My System SpecsSystem Spec

18 Oct 2011   #4
Microsoft MVP


Once you clean the HD the slate is clean for a new install, unless you have other problems we can help you sort as they arise.

Just boot the Win7 installer, use Drive Options to create partitions as you wish, format and click Next to start install. Post back any error messages verbatim.

Or you can just start install and it will format partition for you.

There is no need to import any file to "pre-define Vista". If you're installing Upgrade versionto a cleaned HD, leave the Product Key blank up front and after install do the quick registry workaround given here to activate: Clean Install with a Upgrade Windows 7 Version

Or if you boot the installer and it sees previous Windows, it will allow use of Upgrade version key up front even if you delete all partitions, create new and format. Try that first as you may not need to clean the HD.
My System SpecsSystem Spec
18 Oct 2011   #5

Windows 7 Ultimate x64

Quote   Quote: Originally Posted by theog View Post
All Linux code must be deleted using the CLEAN ALL command.As you have had linux on the HD you need do a Clean all & full format.
I would debate that the above must be done. I support Windows and Linux at work and have many times installed Linux on a laptop, then Windows and then Linux again. I've used CentOS, Debian, Fedora, SuSE, and Ubuntu. To get Windows back on the drive, I just put in the Windows DVD, press a key when prompted and install.

For the OP, I haven't yet had a chance to try Ubuntu 11.10 as it just came out. I'm seeing lots of dual boot guides for 11.10 and Windows it seems likely it can be done. I was thinking about testing it out myself, but I just don't have the spare cycles to setup multiple Windows OS's on the drive first..and I don't know if that has anything to do with your problem.

As you expected, I would expect a repair install of Windows to fix it...or a fixboot or fixmbr worst case.
My System SpecsSystem Spec
18 Oct 2011   #6

Windows 7 ultimate x64, premium x64, ultimate x86

There is no need to import any file to "pre-define Vista"
I wasn't referring to vista, I was referring to Windws 2000, Windows XP,and server 2003, which Seven and vista will load their boot manager as an option to start prior versions of windows, but I believe the boot.ini file will be needed.

I don't need help creating or deleting partitions, or installing/activating windows, I just wanted to know if I could fix the partition, but since no one has offered a simple solution I haven't tried, I'll just replace the partition.

I really would like to know what was done to the partition so it wouldn't boot even during a windows install. but I may never find out.

I'm also wondering if there may be a harddisc failure involved here. I guess I'll find out if a new partition doesn't fix it.
My System SpecsSystem Spec

 ubuntu damaged my windows partition

Thread Tools

Similar help and support threads
Thread Forum
Need to stop Windows looking for damaged partition
I have a drive with two partitions. One of the partitions is damaged in some way. That partition contained programs that I could not fit onto my SSD. The other partition I believe is fine but I cannot access it easily because if I start Windows with the drive connected, Windows is so slow as to be...
Hardware & Devices
Can not delete Ubuntu partition after uninstalling Ubuntu
I insalled Ubuntu along side windows 7 , and then i removed it using the command prompt by typing the two commands ( i used windwos 7 DVD installtion disk) bootrec /fixboot bootrec fixmbr and now when my computer starts it boots to windows 7...but when i try to delete the partition that...
Backup and Restore
Boot damaged after Ubuntu was removed
So today I removed Ubuntu today and now my Windows 7 won't boot, I remember a long time ago this happen and I fixed it with a line In command prop but I can't remember what the command was. Can anyone help me.
Installation & Setup
Change partition size of Ubuntu in Windows 7
i have Ubuntu dual booted with windows 7 32 bit, i am running out of space on my hard drive and am not using the 100 gigabytes i partitioned of for Ubuntu, i was hoping that someone might know how to change the partition size as i cant find out how to do it. Thanks very much
General Discussion
Set up a partition to dual-boot Windows 7 and Ubuntu
Hi I have a small query about this whole partitioning business. I'm trying to set up a partition so I can dual-boot Windows 7 and Ubuntu. My computer came with a Dell Recovery partition and an OEM partition as well as the main C: drive, which are all primaries. I've created a new logical...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:47.
Twitter Facebook