Friday, July 14, 2017

windows 7 - Reboot fails with "Invalid partition"


My laptop can boot, but it can't reboot. Any time something restarts the laptop (e.g. to apply Windows updates, or Start Menu->Restart, etc), the computer sits at a black screen with the message "Invalid partition" displayed in console text. When this happens, I power off the computer, then power it back on, and it boots up fine.


OK, now the history behind this:


This laptop is a new Dell. The day I got it, I used gparted to reclaim 30 GB of disk space that had been allocated to a "recovery partition" in the middle of the laptop's primary drive. (I have DVDs for recovery and I didn't want to waste 30 GB of SSD space on recovery data.)


So I used gparted to delete the recovery partition and resize the primary Windows partition to use up the new free space. As expected when resizing a boot partition, the computer would no longer boot. I used Windows Recovery Console to fix the boot process:


FIXMBR C:
FIXBOOT C:
BOOTCFG /rebuild

This worked fine and the computer boots up fine. But, as mentioned earlier, the laptop still can't reboot. Any idea on how to fix this without completely reformatting the disk and reinstalling Windows from scratch?


It's Windows 7.


Answer



I assume you use Windows 7, since it's this version of windows that is a little cranky when it comes to partition resizing.


Resizing a partition, especially if you move the initial header around, and if it's the boot partition, is very risky business. You should expect it to fail as a rule of thumb. I recommend you just back your data up, clear the partition table and repartition the drive from scratch.


For what it's worth, Windows 7 is able to resize NTFS partitions natively, and it appears that by using the built in tool problems such as yours can sometimes be averted. Rumours are there are tiny differences between the NTFS version most non-microsoft tools were coded upon, and the NTFS implementation Windows 7 uses. As such, I recommend you use the Windows 7 installation disk to partition your drives to avoid any problems.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...