New
#1
Error 0xc0000225 after resizing partition, can't boot
Hi,
I tried to resize the second partition on a friend's notebook from 252 GB to 75 GB – the partition where Windows 7 is installed (it's a Lenovo IdeaPad U550). I did this with KDE Partition Manager from a Linux Mint 9 KDE LiveUSB after I couldn't find the partitioning utility in Windows 7 in Control Panel, where I read it was supposed to be...
Something went terribly wrong, and now I can't boot into Windows 7 anymore. I'm not sure why though, because KDE Partition Manager didn't report any errors, I went through the log as I always do.
What I did was to shrink that partition from 252 GB to 75 GB, and accidentally, I also moved it to the left by 2,5MB (towards the first 200 MB partition, the boot partition.), which might have caused the problem, I don't know...
I'm posting here because I have almost no experience with Windows 7 (the last Windows I was using was XP) and the boot stuff is a lot different, so I don't want to screw things up (more than they already are).
This is the error I'm getting before Windows starts (more or less; I found this error googling and it seems to correspond to the one I'm getting in Czech):
"Windows did not start correctly. A recent hardware or software change might
be the cause. To fix the problem:
1. insert your windows installation cd and restart your computer
2.choose your language settings and click next
3.click repair your computer
If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.
Status: 0xc0000225”
What options do I have now?
- There is no install disk for Windows 7, it came pre-installed.
- I couldn't fix this with the Linux utilities – neither GPartEd nor KDE Partition Manager detect any errors, and fsck.ntfs doesn't exist yet, apparently.
- Linux-based LiveCD I've been booting from trying to fix this (Clonezilla, GPartEd LiveCD) report “dirty” /dev/sda2, which is the second partition, and suggest using chkdsk, which I can't do, besause I can't boot into Windows.
- I've been considering to install GRUB 2 which would only boot into Windows, however I first have to figure out how to do that, exactly. And then there's the fact that I don't know anything about the Windows 7 bootloader. Could somebody explain to me how that boot partition works (those first 200MB on the hard disk), if there is a backup of it somewhere, and how I can restore it, if windows won't boot? Here's how the partition table on that notebook looks like:
1. partition: ntfs, 200 MB, flag "boot"
2. partition, ntfs, 75 GB, (Windows 7 is installed here). Clonezilla reports “dirty” (damaged?) filesystem, however I can mount it in Linux (LiveCD) with no problems. Maybe these warnings come from the fact that Windows 7 ntfs partitions needs to be checked by chkdsk after every resize, and the partition is fine apart from that...
unallocated space, 177 GB – where part of the second partition was before shrinking.
3. partition, extended, 30,33GB
5. partition, logical, ntfs, 30,33GB, Windows D Drive
4. partition, ntfs, 14 GB – this one might be some sort of a backup partition. It contains directories like “boot” (in there, there is a file called bcd, seems important), and there's also a “bootmgr”... and a pagefile.sys (wonder what it's doing there, another and bigger pagefile.sys is on the second partition, the one with the Windows install...)
Right now, I'm downloading a Windows 7 Recovery Disc from here:
Download Windows 7 System Recovery Discs — The NeoSmart Files
I hope I'll be able to run chkdsk from there or some sort of Install Repair...
But I really don't know what to do without causing even more damage.
- Install GRUB? (doesn't it damage this 200MB boot partition? How does that partition work anyway?)
- Wait for the Windows 7 Recovery Disc to download (this will take a while, I'm on GPRS right now) and run chkdsk/repair install?
- Try to build some live environment with Bart PE and Windows XP and run chkdsk from there? (probably a bad idea, XP NTFS and Windows 7 NTFS is not exactly the same, plus the bootloader problem doesn't go away, I guess)
- Find out if the 4. partition is really some backup and figure out how to restore it?
At this point I'm not even sure what the problem is. Corrupt filesystem of the second partition or a broken bootloader, or both?
Please help, I'd be really grateful, my friend is probably going to kill me, and I don't even know where to start...