BootCamp fails to boot

Far too long; tons of diagnostics/review, know very little about this space. Questions at end...


SUMMARY:

Win7 BootCamp partition fails to boot, appears unmountable. Accessible (and mounts) from bootable MAC OS partition, but NTFS flagged as dirty. Cannot proceed through Win7 automated or manual options via either HDD or install DVD. Windows Diagnostics memory test runs from HDD; hence, parts of boot options are accessible, OS is not.


IDEA (naïve, known almost zero):

HW related (above OS level, heat or?) forced reboot while laptop was not being used, rebooted while in Win7 with internal HDD partition/system set to optimize for speed versus removal, exposing unwritten cache. Subsequent testing (with MemTest) returned bad RAM stick (details far below), possible contributor to forced shutdown problems. Now Win7 partition marked as dirty, problems with Win7 boot environment (BCD, bad sector, MFT entries incorrectly marked as used, something).


35% battery; recharged within Win7. No new software/changes, updates manual. White screen, indicative of MAC OS boot. System direct boots to Win7, maybe HW/system forced shutdown above OS level. Power button reboot resulted in failing Win7 boot loop (flash Blue SOD and reboot every 5 minutes). Win7 install DVD, selected Windows Setup (only OS option), returned:

Windows failed to start. Recent HW or SW change might be cause. Insert Win7 install disk, restart, select Repair...

File: \Boot\BCD Status: 0xc00000001

Info: Error trying to read the boot configuration data

Rebooted install DVD per instructions, returned current situation.


Win7 BootCamp partition boot returns:

Blue SOD: UNMOUNTABLE_BOOT_VOLUME: STOP 0xED. 2nd of 4 parameters is 0x9c (bad block/sector perhaps)


Mid 2010 MacBook Pro 17, 8 (2x4) GB RAM, 500 GB SATA internal HDD – straight from store

Mac OS - Snow Leopard 10.6.3 install DVD – upgraded to 10.6.4

BootCamp created 2nd partition with Win7 64 Pro (retail full DVD purchase)

Directly boots Win7 with no interim steps; updates set to manual

Built 2010, never altered. Only used Win7, never boot/touch MAC OS, no problems. No 3rd party or startup items in MAC OS. Very limited 3rd party in Win7; used exclusively for MS Office and data backup (haha).


Attempt Win7 via HDD and Install DVD: Normal Boot, F2 - Windows Boot Manager, F8 – Advanced Boot Options

One OS choice listed/referenced in F2 and F8: HDD is Windows 7, DVD is Windows Setup [EMS enabled]

F2 and F8 text-based, nothing progresses to GUI

F8 options include: 3 Safe Modes, Enable Boot Logging, LKGC, Debugging Mode, etc. HDD additionally has Repair Computer as first selection. After 5 minutes, all choices produce same results:

HDD: flashed Blue SOD and reboot

DVD: stalled (overnight) Black SOD with low resolution mouse pointer

Guessing DVD doesn’t provide install, etc options upon recognition of unbootable Win7 install on partition


MAC OS partition itself acts/appears fine, and interacts with Win7 partition. Win7 partition info ok/correct (mounted, NTFS, SMART verified, used space, total space, etc), icon displayed on desktop, see directories, copy files over wireless network to another PC.


Upon MAC OS normal boot, Win7 partition listed flagged as dirty. Boot log info below.

Note my abbreviation: NTFS-WARN = NTFS-fs warning (device /dev/disk0s3, pid #)

Note my abbreviation: NTFS-ERROR = NTFS-fs error (device /dev/disk0s3, pid #)

  1. 2.15.23am NTFS driver 3.2 [Flags: R/W]
  2. 2.15.25am NTFS volume name BOOTCAMP, version 3.1
  3. 2.15.25am NTFS-WARN: ntfs_system_inodes_get(): NTFS volume is dirty. You should unmount it and run chkdsk


66 minute normal boot; preoccupied dealing with BootCamp partition (2 boot attempt samples, within 10 seconds total time, kernel message repeats 205 and 213 times respectively, about every 19 seconds):

  1. 2.15.45am disk 0s3: I/O error
  2. 2.15.45am (my comment – empty line in kernel log – printed each time)
  3. 2.15.45am (my comment – empty line in kernel log – printed each time)
  4. 2.15.45am NTFS-ERROR: ntfs_pagein(): Failed (cluster_pagein_ext(), error 5)
  5. 2.15.45am NTFS-ERROR: ntfs_page_map_ext(): Failed to read page (error 5)


Boot successfully completes; no apparent log of successful mount, exit from attempts or similar. Win7 partition visible, mounted, accessible, etc.


Within MAC OS, accessing Win7 partition (per action - moving through directories, copying files, etc) results in same 19 second pause starting with I/O error which repeated during boot, with following message:

Disk0s3: I/O error

NTFS-ERROR: ntfs_mft_record_map_ext(): Failed to read buffer of mft record 0x7bc (error 5)

NTFS-ERROR: ntfs_inode_read(): Failed to map mft record

NTFS-ERROR: ntfs_inode_read(): Failed (error 5) for inode 0x7bc. Run chkdsk.

NTFS-ERROR: ntfs_vnop_lookup(): Failed to get inode 0x7bc (error 5)


Then action completes successfully. First 10 actions reference record 0x7bc (under either of 2 login samples), then cycle through 5 additional record references repeatedly, regardless of number of actions.


RAM ISSUE:

2 sticks - Win7 DVD – Memory Diagnostics – Extended Memory Test, 2 passes, 6 hours, no errors

2 sticks - Apple Hardware Test (AHT) – fails with 4MEM/60/....

1 stick - AHT, rotating slots, either stick - no errors

2 sticks - MemTest – fails second half of tests (copy/compare), isolated single stick returning errors both slots

1 stick - MemTest – good stick multiple passes both slots, 15 passes over 8 hours, continue with 1 stick

Note: everything remained same on system overall both before and after stick removal


APPLE STEPS:

Repaired disk and permissions from MAC OS install DVD, ran AHT, reset SMC and NVRAM, reset home folder permissions and ACLS, booted Safe Mode. Booted Single User Mode to run fsck –fy –d on MAC partition, no problems.

Ran fsck with –r to rebuild catalog tree.

Invalid volume file count - (It should be 407050 instead of 406481)

Invalid directory count - (It should be 133011 instead of 132946)

Invalid volume free count - (It should be 56205259 instead of 56213776)

Invalid VHB nextCatalogID

Volume header needs minor repair

(2,0)

Verify Status: VIStat.....

** Repairing volume

** Rechecking volume

** The volume Macintosh HD was repaired successfully

***** File System was modified *****


Ran fsck again, no problems.


GUESSES:

MAC OS partition, GPT and Hybrid MBR ok; boot sequence inside Win7 partition is corrupted. Bad sector, bad MFT, bad BCD, something – trips Win7 boot/repair options badly enough to entirely fail, yet allows MAC OS to interact with Win7 partition eventually. Maybe Win7 fails quickly with boot problems, whereas MAC OS cycles through MFT records until it finds something acceptable. Slow interaction from MAC OS to Win7 partition due to MAC OS constantly negotiating NTFS flags. Bad shutdown left MFT records marked as in use (not properly closed/destroyed upon shutdown) from NTFS, MAC OS sees as dirty and forces chkdsk from NTFS, MAC OS addresses subsequent MFT record. Repeats/cycles over marked in use MFT records.


MAC OS thinks it addressed inconsistency, but might have MFT record marked in use, not referenced from anywhere. MAC OS hopes chkdsk will recover MFT record by linking it somewhere or properly freeing it. Cannot get anywhere to run chkdsk, but if chkdsk leaves record marked in use, MAC OS will again detect corruption and end in circle anyways.



  1. 1. Data immaterial, but want to preserve MS Office installation on Win7 partition
  2. 2. Naively seems like OS internals are ok, need to correct step(s) to access good areas
  3. 3. Why does original full retail Windows 7 DVD, which boots, fail to progress under any options?
  4. 4. Why does unmountable Win7 partition eventually mount under Mac OS boot?
  5. 5. Want to run chkdsk, bootrec options within Win7, but cannot access space to do so...


Know nothing about this space; can TestDisk, Easy BCD or similar simply address this – without causing problems with the BootCamp implementation?

MacBook Pro, Mac OS X (10.6.3)

Posted on Feb 16, 2016 3:48 AM

Reply
1 reply

Feb 16, 2016 4:01 AM in response to NYY2000

In case it's useful, ridiculous amount of various info:


sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [1 - 409639] <Unknown ID>

2: AF 1023 254 63 - 1023 254 63 [409640 - 488632816] HFS+

*3: 07 1023 254 63 - 1023 254 63 [489310208 - 487462912] HPFS/QNX/AUX



diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 250.2 GB disk0s2

3: Microsoft Basic Data BOOTCAMP 249.6 GB disk0s3



sudo gpt -r -vv show disk0

gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 976773167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 488632816 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

489042456 267752

489310208 487462912 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 15

976773135 32 Sec GPT table

976773167 1 Sec GPT header



sudo gdisk -l /dev/disk0

GPT fdisk (gdisk) version 1.0.1

Warning: Devices opened with shared lock will not have their partition table automatically reloaded!

Partition table scan:

MBR: hybrid

BSD: not present

APM: not present

GPT: present


Found valid GPT with hybrid MBR; using GPT.

Disk /dev/disk0: 976773168 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 00007D1C-7EA9-0000-2321-0000426E0000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 267773 sectors (130.7 MiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 489042455 233.0 GiB AF00 Customer

3 489310208 976773119 232.4 GiB 0700 BOOTCAMP

diskutil info disk0

Device Identifier: disk0

Device Node: /dev/disk0

Part Of Whole: disk0

Device/Media Name: Hitachi HTS545050B9SA02 Media

Volume Name:

Escaped with Unicode:

Mounted: No

File System: None

Partition Type: GUID_partition_scheme

Bootable: Not bootable

Media Type: Generic

Protocol: SATA

SMART Status: Verified

Total Size: 500.1 GB (500107862016 Bytes) (exactly 976773168 512-Byte-Blocks)

Volume Free Space: Not Applicable

Read-Only Media: No

Read-Only Volume: Not applicable (no filesystem)

Ejectable: No

Whole: Yes

Internal: Yes

OS 9 Drivers: No

Low Level Format: Not Supported

diskutil info disk0s2

Device Identifier: disk0s2

Device Node: /dev/disk0s2

Part Of Whole: disk0

Device/Media Name: Customer

Volume Name: Macintosh HD

Escaped with Unicode: Macintosh%FF%FE%20%00HD

Mounted: Yes

Mount Point: /

Escaped with Unicode: /

File System: Journaled HFS+

Type: hfs

Name: Mac OS Extended (Journaled)

Journal: Journal size 40960 KB at offset 0x1638e000

Owners: Enabled

Partition Type: Apple_HFS

Bootable: Is bootable

Media Type: Generic

Protocol: SATA

SMART Status: Verified

Volume UUID: 1F6BAFC5-E093-34FD-B021-2886AC7E0165

Total Size: 250.2 GB (250180001792 Bytes) (exactly 488632816 512-Byte-Blocks)

Volume Free Space: 228.5 GB (228515446784 Bytes) (exactly 446319232 512-Byte-Blocks)

Read-Only Media: No

Read-Only Volume: No

Ejectable: No

Whole: No

Internal: Yes



diskutil info disk0s3

Device Identifier: disk0s3

Device Node: /dev/disk0s3

Part Of Whole: disk0

Device/Media Name: BOOTCAMP

Volume Name: BOOTCAMP

Escaped with Unicode: BOOTCAMP

Mounted: Yes

Mount Point: /Volumes/BOOTCAMP

Escaped with Unicode: /Volumes/BOOTCAMP

File System: NTFS

Type: ntfs

Name: Windows NT File System (NTFS)

Partition Type: Microsoft Basic Data

Bootable: Is bootable

Media Type: Generic

Protocol: SATA

SMART Status: Verified

Volume UUID: BEACB276-1A7F-4319-A452-5FFE257F7AE4

Total Size: 249.6 GB (249581010944 Bytes) (exactly 487462912 512-Byte-Blocks)

Volume Free Space: 51.6 GB (51632648192 Bytes) (exactly 100845016 512-Byte-Blocks)

Read-Only Media: No

Read-Only Volume: Yes

Ejectable: No

Whole: No

Internal: Yes



sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|

00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 48 2a 1d |........?....H*.|

00000020 00 00 00 00 80 00 80 00 ff 17 0e 1d 00 00 00 00 |................|

00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|

00000040 f6 00 00 00 01 00 00 00 41 83 f3 f4 be f3 f4 b2 |........A.......|

00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|

00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|

00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|

00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|

00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|

000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|

000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|

000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|

000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|

000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|

000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|

00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|

00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|

00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|

00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|

00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|

00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|

00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|

00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|

00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |

00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |

000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|

000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|

000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|

000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|

000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|

000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

BootCamp fails to boot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.