Sign in with
Sign up | Sign in
Your question

Can't boot Windows - blinking underscore

Tags:
  • Blinking underscore
  • Windows XP
  • Windows
  • Boot
  • Windows 7
  • Hard Drives
  • Western Digital
Last response: in Windows 7
Share
January 20, 2014 5:20:33 PM

Hi all, I'm really worried, and could do with your help.

I'm sorry, but this is a very long story, so if you want you to skip to the end I've put a summary. I have also split it into three parts.

Part one is about what I did a few days ago, which may still be causing the problem, but the computer has been working fine until now, so I don't think it has much to do with it. Part two is about what I did yesterday and today. Part three is about what I've since Windows 7 has stopped being bootable. Click on the 'spoiler' button if you want to read part one.

I have two hard-drives, and I'm referring to them here as hard-drive 1 and 2.

Before I started messing about I had a computer running Windows 7 Ultimate 64-bit (installed on hard-drive 1), and I was using hard-drive 2 for storing files.

I haven't done a back-up recently, so the main thing I want to do is recover my files.

My hardware:
Motherboard: Asus P8Z68-V PRO/GEN3
Graphics Card: XFX ATI Radeon HD 6870 (this one)
Hard-drive 1: WD Caviar 3TB Green
Hard-drive 2: WD 3TB Desktop Green

I was trying to do a dual-boot of Windows 7 (Ultimate 64-bit), XP (Professional 32-bit) and Linux Mint (version 16 64-bit).

Part one:

Spoiler
A few days ago I tried to install Windows XP onto hard-drive 2. Before I did this I made two partitions on hard-drive 2 using the Windows 7 Disk Management tool. Both were 100gb. I named one of them Windows XP (and gave it the letter X) and named the other Linux (and gave it the letter L).

I booted into the XP CD, and it could see both hard-drives, but couldn't access them. I found out that this was because of Sata drivers (I was in AHCI mode). I tried slipstreaming the sata drivers into the XP CD but it still didn't work.

In the end I switched to IDE mode in my BIOS. By mistake I booted into Windows 7 and it installed IDE drivers, but that didn't seem to do any harm, as it still worked in AHCI mode.

In IDE mode the Windows XP CD could access the hard-drives, but couldn't see the partitions I had made. To be on the save size I unplugged hard-drive 1. I then let XP format all of the hard-drive 2, and I made a new 100gb partition (using the XP CD). After that I installed XP.

The only odd thing that happened when it was installing was that after copying the Windows files to the computer, it rebooted and copied them again. This meant that: 1) When I booted into Windows XP it showed a dual-boot menu with two Windows XP's on it. I always clicked on the top one, and XP would turn on. and 2) in the XP C: folder there was a folder called Windows and a folder called Windows0.

I started to install drivers for XP (from my USB flash drive) but couldn't install the Sata drivers (because they needed Microsoft Net Framework 3, which wouldn't install), and couldn't install the graphics card driver because I couldn't find the driver disc (which I found today) and the software from the manufacturers website for downloading the driver didn't want to open on XP.

Next I wanted to boot back into Windows 7 (I can’t remember why). So I went back into AHCI mode, plugged hard-drive 1 back in and booted on.
Next I installed Linux Mint (on hard-drive 2), and that all went well.

I rebooted after the install and GRUB came up with Window 7, XP and Linux.
I wanted to edit GRUB’s config file to make Windows 7 the default OS and to get it to skip the bootloader unless I held down the SHIFT key.
Well, I made two mistakes. For a start I forgot that GRUB counts the first OS as 0 (not 1), so I made XP the default instead of Windows 7. And secondly I should have got GRUB to wait a second before loading the default OS, as it never opened when I held down (or repeatedly pressed) the SHIFT key. I was still in AHCI so it tried to boot Windows XP, but couldn’t and I got a BSOD.
GRUB was on hard-drive 1 and the Windows XP bootloader was on hard-drive 2, so both hard-drives would only boot into XP (and couldn’t load that because I was in AHCI mode).
To get back to Windows 7 I booted into the Windows 7 DVD, opened Commanded Prompt and ran the following commands:
bootrec /FixMbr this said it had completed successfully
bootrec /FixBoot this also said it had completed successfully
bootrec /RebulidBcd this had some sort of error (I think it said something about the device not being found or something), but I tried rebooting and Windows 7 booted on, so I didn’t worry about it.

I tried many times and many ways to repair or replace GRUB. One of the ways I tried was to delete the Linux partition and reinstall it. This time it didn’t find Windows 7 or XP when it was installing which I thought was odd.

In the end I installed EasyBcd on Windows 7, and added Linux and XP to the Windows 7 bootloader. Booting into Windows 7 worked nicely, but if I tried to boot into Linux I got a GRUB recovery screen, and if I tried to boot into XP (in IDE mode) it came up with some message about missing an OEM file (I think), and not being able to turn on.

So…Using EasyBCD I deleted Windows XP and Linux from Windows 7s bootloader, and a day or two later used KILLDISK to wipe hard-drive 2.

I then read up about Windows XP not seeing partitions when installing, and read that I should use Gparted Live to make an active partition with a boot flag on it. I did this on hard-drive 2.

Part two:
Yesterday I was (on Windows 7) getting ready to try installing XP again, and was looking at the drivers. By mistake I opened a Microsoft Net Framework 3 (or it might have been 2) installer that was included with one of the Sata drivers. It extracted (twice!) all the install files. I wasn’t sure where they were extracted to, but later I think I saw them in the Windows folder, but didn’t delete them.

Today I tried installing Windows XP again (again in IDE mode) and this time it saw the 100gb partition I made on hard-drive 2 for it (see ‘Part one’ for more info). I clicked enter for it to install on that partition, but it came up with a message saying it would have format the Windows 7 C: drive to continue, so I cancelled the install. Then I unplugged hard-drive 1, booted back into the XP CD and tried again. This time it seemed to install fine.

I turned XP one, and installed my graphics card driver from the CD that came with it. After installing it asked me if I wanted to reboot now, and I said no, as I was going to install the other drivers first. The other drivers were on my USB flash drive. I plugged it in and the computer saw it but said it was empty and asked me if I wanted to format it. I decided to boot back into Windows 7 and see if I could view the files there.

I booted into the BIOS and changed the boot order to boot into hard-drive 1 (Windows 7), and then remembered I was still in IDE mode, so I booted back into the BIOS and when back into AHCI mode.

I rebooted the computer, but all that happened was a black screen with a blinking underscore. The Windows 7 logo didn't come up at all. :( 
I found this picture online of what it looks like:

Part three:
My first idea was to repair the bootloader with the Windows 7 DVD. I booted into it, opened the commanded prompt and tried the following (which didn’t fix it):
bootrec /FixMbr this said it had completed successfully.
bootrec /FixBoot this said ‘Element not found’.
bootrec /RebulidBcd this said it had completed successfully, but also said that it found 0 windows installations.

That made me panic a bit! I tried the ‘Startup repair’ option on the Windows 7 DVD, and left it for about an hour but it was still going, so I stopped it to try other things.

I then booted into my Gparted Live CD and a pop-up came up with “Libparted Bug Found! Invalid partition table - Recursive partition /dev/sda”. Gparted then sees hard-drive 1 all as unallocated space, but sees hard-drive 2 normally.

Other things I tied (and a bit more info):
Spoiler
I clicked the “Attempt Data Recovery” button on Gparted, but it doesn’t go pass the pop-up where you have to click OK.

I used Gparted to remove the boot flag from the Windows XP partition as I read somewhere that sometimes having more than one boot flag can stop Windows from working properly, but that didn’t do anything.

When I try to boot into hard-drive 2 (XP) it says “Reboot and select proper boot device or insert boot media in selected boot device and press a key”, but that might be because I removed the boot flag.

I made a bootable USB of the Knoppix CD, as I had read online it was good for file recovery. It opens up fine, but there isn't a hard-drive folder on the desktop.

I booted into my Linux Mint live DVD. Hard-drive 1 is listed in Computer, but if I try to open it, it says ‘Cannot mount drive’.

I ran a ‘Quick search’ on TestDisk and picked Intel (is that right?), and got the following:
HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]
HPFS - NTFS 12 223 20 267349 89 4 4294760448

One of them had a * at the beginning, and one of them had a P, but I can't remember which was which, so I'm running it again (it's at 90% at the moment).

I ran fdisk -l, but didn't understand it. If it might be helpful I'll run it again when TestDisk is done and post the results here.

Summary:
- I had a working computer with Windows 7 (Ultimate 64-bit) installed
- I tried to do a dual-boot of Windows 7 (Ultimate 64-bit) and XP (Professional 32-bit), but something went wrong.
- Now when I try to boot into Windows 7 all I get is a black screen with a blinking underscore.

I've given -up on the dual-boot idea. I just want a working PC with my files back now!

I'm really desperate to save my files, even if I have to reinstall Windows 7 afterwards. What's the best thing for me to do?

I'm sorry again that this is so long. I didn't know what was important to include, and what wasn't.

Thank you.

More about : boot windows blinking underscore

January 20, 2014 8:25:50 PM

I would unplug my hard drives and connect them to a working pc( like an external hard drive) and then hopefully all your files are still there save them. if the files are not there run recuva
m
0
l
a b $ Windows 7
January 20, 2014 11:32:35 PM

Remember what I said about installation order? XP then 7 then linux. Now that the I told you so is out of the way let's get you squared away, it's not time to panic...yet.

Your win7 recovery console should give you an option to check the file system, if you don't see it, from the command line type chkdsk c: /r
Hopefully this is all you need to get 7 back.

If that doesn't work then let's recover your files. Mint couldn't mount your 7 partition because it didn't turn off correctly and 7 put up a flag. You'll have to force the mount.

Here's a good tutorial on how to force mount

Once mounted transfer your files wherever you want.

I still think you're best off with a dual boot of 7 and mint and XP in a virtual box.

m
0
l
Related resources
January 20, 2014 11:54:50 PM

stillblue said:
Remember what I said about installation order? XP then 7 then linux. Now that the I told you so is out of the way let's get you squared away, it's not time to panic...yet.

Your win7 recovery console should give you an option to check the file system, if you don't see it, from the command line type chkdsk c: /r
Hopefully this is all you need to get 7 back.

If that doesn't work then let's recover your files. Mint couldn't mount your 7 partition because it didn't turn off correctly and 7 put up a flag. You'll have to force the mount.

Here's a good tutorial on how to force mount

Once mounted transfer your files wherever you want.

I still think you're best off with a dual boot of 7 and mint and XP in a virtual box.


You indeed did tell me so!

I'll go now and try the chkdsk c: /r.

I can't see the link you posted for the tutorial to do a force mount. Could you post it again.

Thank you!
m
0
l
January 21, 2014 1:10:49 AM

stillblue said:
Sorry.
http://blog.arvixe.com/how-to-force-mount-unclean-shutd...

Do this after check disk if you still need it.


Thank you for the link.

I ran chkdsk c: /r and it said:

Quote:
The type of the file system is RAW.
CHKDSK is not available for RAW drives.


Is it time to panic yet? ;) 

I'll try the mounting thing now. I'm wondering if I should use TestDisk to write me a new partition table, but it's a bit odd that it didn't see the first partition as a OS.
m
0
l
January 21, 2014 1:19:54 AM

stillblue said:
Sorry.
http://blog.arvixe.com/how-to-force-mount-unclean-shutd...

Do this after check disk if you still need it.


Thank you again for the link. I was following it, but have stopped because fdisk is showing my hard-drive as FAT16, when it should be NTFS.

Here's what fdisk told me:

Quote:
mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000001

Device Boot Start End Blocks Id System
/dev/sda1 * 0 1565565871 782782936 4 FAT16 <32M

Disk /dev/sda1: 801.6 GB, 801569726464 bytes
255 heads, 63 sectors/track, 97451 cylinders, total 1565565872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000001

Device Boot Start End Blocks Id System
/dev/sda1p1 * 0 1565565871 782782936 4 FAT16 <32M


Any idea's what I should do?

m
0
l
a b $ Windows 7
January 21, 2014 2:19:30 AM

Try force mounting /dev/sda1 . do not try to make a table.
m
0
l
January 21, 2014 2:35:12 AM

stillblue said:
Try force mounting /dev/sda1 . do not try to make a table.

Should I try force mounting it as FAT16 or NTSF? Or can I not specify the filesystem and let it work it out for itself?
m
0
l
a b $ Windows 7
January 21, 2014 4:26:32 AM

It should be NTFS. I hope it's NTFS. If it's not time to panic
m
0
l
January 21, 2014 4:44:52 AM

stillblue said:
It should be NTFS. I hope it's NTFS. If it's not time to panic


Well, it's time to panic then.

I tried it, and here's what happened:

Quote:
mint@mint ~ $ sudo mount -t ntfs-3g /dev/sda1 /media/mymounteddrive -o force
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


m
0
l
January 21, 2014 4:55:38 AM

I then tried mounting it as vfat, just in case that worked, but I got this error:

Quote:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

m
0
l
a b $ Windows 7
January 21, 2014 5:05:12 AM

Testdisk the drive and see if it'll show you the files. After quick search for partitions select the big windows one. hit p to list the folders and files if it can and copy to another drive.
m
0
l
January 21, 2014 5:09:32 AM

stillblue said:
Testdisk the drive and see if it'll show you the files. After quick search for partitions select the big windows one. hit p to list the folders and files if it can and copy to another drive.


Thank you. I'll give this ago. It'll take a few hours to do the search, so I'll get write later (hopfully) with a bit of good news!

m
0
l
January 21, 2014 9:35:33 AM

stillblue said:
Testdisk the drive and see if it'll show you the files. After quick search for partitions select the big windows one. hit p to list the folders and files if it can and copy to another drive.


Hi,

I've done this twice now. It will let me view files in the [System Reserved] partition, but if I press P on the other partition it glitches out (what happens is that a mint@mint ~ $ appears at the bottom of the screen, but I can't type in it.)

Here's what it looked like:


I've got four ideas at the moment.

1)Try saving my files with PhotoRec
2) Do a deep search with TestDisk (and see if it maybe finds the OS)
3) Make a anti-virus live CD (maybe Kaspersky) in case there's a virus somewhere stopping Windows from booting
4) Taking it to my local computer shop and seeing what they can do

Do you think any of these are good idea? What do you think I should do?

Thank you :) 

m
0
l
January 21, 2014 9:47:39 AM

In case it's useful, here's the TestDisk log:

Spoiler


Tue Jan 21 14:26:41 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.11.0-12-generic (#19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013) x86_64
Compiler: GCC 4.8
Compilation date: 2013-08-23T17:34:40
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 5860533168 sectors
/dev/sda: user_max 5860533168 sectors
/dev/sda: native_max 5860533168 sectors
/dev/sdb: LBA, HPA, LBA48, DCO support
/dev/sdb: size 5860533168 sectors
/dev/sdb: user_max 5860533168 sectors
/dev/sdb: native_max 5860533168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
/dev/sr0 is not an ATA disk
Hard disk list
Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00MMMB0, S/N:WD-WCAWZ2438226, FW:80.00A80
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00D8PB0, S/N:WD-WMC4N0316084, FW:80.00A80
Disk /dev/sr0 - 1252 MB / 1194 MiB - 611408 sectors (RO), sector size=2048 - HL-DT-ST BD-RE BH10LS38, S/N:K87BCSG1603, FW:1.00

Partition table type (auto): Intel
Disk /dev/sda - 3000 GB / 2794 GiB - WDC WD30EZRX-00MMMB0
Partition table type: Intel

Analyse Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63
Geometry from i386 MBR: head=255 sector=63


test_FAT()
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
sector_size 190
cluster_size 124
reserved 191
fats 6
dir_entries 185
sectors 64514
media F3
fat_length 20644
secs_track 7272
heads 51974
hidden 309755
total_sect 2147991229
check_part_i386 failed for partition type 04
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
Invalid FAT boot sector
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
m
0
l
a b $ Windows 7
January 21, 2014 9:54:05 AM

2 1 then 4, can't imagine 3 doing Anything.
m
0
l
a b $ Windows 7
January 21, 2014 10:01:13 AM

My phone doesn't seem to want to open the test disk report. I'll be able to look in about 13 hours. Life in the third world.
m
0
l
January 21, 2014 11:03:39 AM

stillblue said:
2 1 then 4, can't imagine 3 doing Anything.


I've started a 'deep search' (at the moment it's 17% done). I'll post the results of that when it's done.

stillblue said:
My phone doesn't seem to want to open the test disk report. I'll be able to look in about 13 hours. Life in the third world.


Thank you. :)  Here's a copy of it that you don't have to open:

Tue Jan 21 14:26:41 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.11.0-12-generic (#19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013) x86_64
Compiler: GCC 4.8
Compilation date: 2013-08-23T17:34:40
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 5860533168 sectors
/dev/sda: user_max 5860533168 sectors
/dev/sda: native_max 5860533168 sectors
/dev/sdb: LBA, HPA, LBA48, DCO support
/dev/sdb: size 5860533168 sectors
/dev/sdb: user_max 5860533168 sectors
/dev/sdb: native_max 5860533168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
/dev/sr0 is not an ATA disk
Hard disk list
Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00MMMB0, S/N:WD-WCAWZ2438226, FW:80.00A80
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00D8PB0, S/N:WD-WMC4N0316084, FW:80.00A80
Disk /dev/sr0 - 1252 MB / 1194 MiB - 611408 sectors (RO), sector size=2048 - HL-DT-ST BD-RE BH10LS38, S/N:K87BCSG1603, FW:1.00

Partition table type (auto): Intel
Disk /dev/sda - 3000 GB / 2794 GiB - WDC WD30EZRX-00MMMB0
Partition table type: Intel

Analyse Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63
Geometry from i386 MBR: head=255 sector=63


test_FAT()
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
sector_size 190
cluster_size 124
reserved 191
fats 6
dir_entries 185
sectors 64514
media F3
fat_length 20644
secs_track 7272
heads 51974
hidden 309755
total_sect 2147991229
check_part_i386 failed for partition type 04
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
Invalid FAT boot sector
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
m
0
l
January 22, 2014 1:24:35 AM

Well, the deeper search had this to say:



When I click continue the next page was the same as the one I posted before.

I'm about to run PhotoRec to see if I can save any of the files.

Do you think there's anything else that can be done?

Oh, and here's the new log:


Tue Jan 21 17:50:55 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.11.0-12-generic (#19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013) x86_64
Compiler: GCC 4.8
Compilation date: 2013-08-23T17:34:40
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 5860533168 sectors
/dev/sda: user_max 5860533168 sectors
/dev/sda: native_max 5860533168 sectors
/dev/sdb: LBA, HPA, LBA48, DCO support
/dev/sdb: size 5860533168 sectors
/dev/sdb: user_max 5860533168 sectors
/dev/sdb: native_max 5860533168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
/dev/sr0 is not an ATA disk
Hard disk list
Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00MMMB0, S/N:WD-WCAWZ2438226, FW:80.00A80
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - WDC WD30EZRX-00D8PB0, S/N:WD-WMC4N0316084, FW:80.00A80
Disk /dev/sr0 - 1252 MB / 1194 MiB - 611408 sectors (RO), sector size=2048 - HL-DT-ST BD-RE BH10LS38, S/N:K87BCSG1603, FW:1.00

Partition table type (auto): Intel
Disk /dev/sda - 3000 GB / 2794 GiB - WDC WD30EZRX-00MMMB0
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63


test_FAT()
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
sector_size 190
cluster_size 124
reserved 191
fats 6
dir_entries 185
sectors 64514
media F3
fat_length 20644
secs_track 7272
heads 51974
hidden 309755
total_sect 2147991229
check_part_i386 failed for partition type 04
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
New options :
Dump : No
Align partition: Yes
Expert mode : No

Analyse Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63
Geometry from i386 MBR: head=255 sector=63


test_FAT()
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
sector_size 190
cluster_size 124
reserved 191
fats 6
dir_entries 185
sectors 64514
media F3
fat_length 20644
secs_track 7272
heads 51974
hidden 309755
total_sect 2147991229
check_part_i386 failed for partition type 04
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
Invalid FAT boot sector
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872
1 * FAT16 <32M 0 0 1 97451 246 59 1565565872

search_part()
Disk /dev/sda - 3000 GB / 2794 GiB - CHS 364801 255 63
NTFS at 0/32/33
filesystem size 204800
sectors_per_cluster 8
mft_lcn 8533
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]
NTFS, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/223/20
filesystem size 4294760448
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 12 223 20 267349 89 4 4294760448
NTFS, blocksize=4096, 2198 GB / 2047 GiB
Search for partition aborted

Results
* HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]
NTFS, blocksize=4096, 104 MB / 100 MiB
P HPFS - NTFS 12 223 20 267349 89 4 4294760448
NTFS, blocksize=4096, 2198 GB / 2047 GiB
ntfs_device_testdisk_io_ioctl() unimplemented


dir_partition inode=5
* HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]
NTFS, blocksize=4096, 104 MB / 100 MiB
Directory /
5 dr-xr-xr-x 0 0 0 12-Jan-2014 17:16 .
5 dr-xr-xr-x 0 0 0 12-Jan-2014 17:16 ..
35 dr-xr-xr-x 0 0 0 14-Jun-2013 17:26 Boot
97 dr-xr-xr-x 0 0 0 19-Dec-2012 01:32 System Volume Information
96 -r--r--r-- 0 0 8192 19-Dec-2012 09:31 BOOTSECT.BAK
103 -r--r--r-- 0 0 345 12-Jan-2014 16:35 Boot.ini
105 -r--r--r-- 0 0 297072 12-Jan-2014 17:16 NTLDR
99 -r--r--r-- 0 0 206312 19-Dec-2012 01:47 XELDZ
85 -r--r--r-- 0 0 383786 20-Nov-2010 12:40 bootmgr
106 -r--r--r-- 0 0 345 12-Jan-2014 17:16 ebcd.001
104 -r--r--r-- 0 0 47772 12-Jan-2014 17:16 ntdetect.com

interface_write()
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]
2 P HPFS - NTFS 12 223 20 267349 89 4 4294760448
m
0
l
January 28, 2014 9:23:41 AM

Hi all,

Well, after making a back-up of everything I could using PhotoRec I took my computer to my local computer shop.

He repaired the partition table using TestDisk, and then tried to repair the MBR and the boot-loader with the Windows 7 DVD. That didn't work because (for some reason) the Windows 7 DVD was seeing the C drive as a D drive.

He changed it back to C, repaired the MBR and everything worked! My pinned tabs were even still there!

It costed me £20, but I'm so happy he was able to fix it.

I have learnt my lesson and have bought two external hard drives to do full back-ups a lot more often, and I also plan to back-up my most important stuff online.

Thank you stillblue for helping me.
m
0
l
!