windows - Messed up partitions... system will not boot!
2014-04
I did a really dumb thing. cfdisk threw an error at me saying "FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder", so I installed Partition Table Doctor to see if I could fix the problem. When the program started up, it told me there were problems with my partitions, and asked if I wanted them fixed (cannot remember real message, but I believe it had something to do with the cylinder boundaries), so, blindly, without thinking of the consequences, I did.
Now, my system will not boot. I tried booting from the Windows 7 installation CD. I went to install a fresh copy, but it said that "No drives were found". I then opened up diskpart. According to diskpart, there is only one partition, containing one volume, assigned the letter "C". Before, I had four partitions! It is also saying that the file system is RAW.
Is there any way I can fix this? I have important data that I do not want to lose.
Later on... I tried fdisk with the option -l, which lists the partition table(s), and this is what I got:
Ignoring extra extended partition 4
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 64 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x163df116
Device Boot Start End Blocks Id System
/dev/sda1 6 18 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 18 7851 62918572+ 7 HPFS/NTFS
/dev/sda3 13073 30402 139196416 f W95 Ext'd (LBA)
/dev/sda3 13073 30402 139196416 f W95 Ext'd (LBA)
/dev/sda3 13073 30403 139203193 7 HPFS/NTFS
I don't know if this will help, but it's extra information, at least.
Also, this is how I had my partitions:
40MB (Unallocated)
100MB (System Reserved)
60GB (Windows, C:)
40GB (Was reserved for secondary OS)
~132GB (Home, E:)
You could try TestDisk on a liveCD if you have access to a second comptuter to burn a CD:
http://www.cgsecurity.org/wiki/TestDisk_Livecd
TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
The safest thing you can do: get Active Partition Recovery a portable hard disk the size of your current one and save each partition to it, i asume you have neither.
The second choice, just Active Partition Recovery run it saving the partitions it founds on your own hard disk and pray. Probably even if the partitions are recovered windows won't boot, with the windows installation disk using the repair option you'll be fine.
Third choice: get a ntfs file recovery disk and get your important files to a usb drive or something.
In all cases what you need is another working computer and download and burn (or install to a usb) the Hiren's Boot cd. You might skip the another computer if you have a live cd of any kind of course.
I had 2 partitions with 2 XP. I selected the 1st partition, formatted it, and installed Ubuntu 9.10 on it.
Now I can't boot into XP cz is showing me the XP loader of the XP that I deleted... I tried fixmbr and fixboot but with no effect.
In the beginning XP couldn't boot, but at least I could browse the folders from Linux. Now in the Disk Utility it's written unrecognised, unknown or unused.
Screenshots:
Here it is:
~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057
Device Boot Start End Blocks Id System
/dev/sda1 * 1 22508 180795478+ 83 Linux
/dev/sda2 22509 30400 63392490 f W95 Ext'd (LBA)
/dev/sda5 * 22752 30400 61440592+ 7 HPFS/NTFS
/dev/sda6 22509 22751 1951834+ 82 Linux swap / Solaris
~#
~# ntfsfix /dev/sda5
Mounting volume... $MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
FAILED
Attempting to correct errors... $MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
FAILED
Failed to startup volume: Input/output error.
Volume is corrupt. You should run chkdsk.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Update: after playing with some partition boot CDs:
root@ubuntu-tower:~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057
Device Boot Start End Blocks Id System
/dev/sda1 * 1 22508 180795478+ 83 Linux
/dev/sda3 22752 30400 61440592+ 7 HPFS/NTFS
Here's a screenshot of GParted and Disk Utility:
Any ideas?
I have same problem as you and Partition Table Doctor resolved it. Some time ago in work when WinXP can`t load I use fixmbr and fixboot commands from WinXP recovery console and it works too, here is tutorial
I believe you are right: the problem seems to be due to the XP bootloader "gone with the wind". Does any of these how-to help?