Jump to content

P7H55-M LX :: Disk Tool can not erase disk (resolved)


osx151212
 Share

5 posts in this topic

Recommended Posts

Hello,

I have P7H55-M LX board which has 6 SATA connectors with WD 80GB or WD 500GB HDDs.

I attempt to install Mojave, 'Disk Tool' fails to erase disk with an error 'Unable to write to the last block of the device'.

BIOS has limited options - HDDs configured to use AHCI.

Some reading gave me several leads to similar problem link 1, link 2, link 3

AppleAHCIPort
Find    --> 40600200
Replace --> 00000000

In clover bootloader 'Kexts to patch'

			<dict>
				<key>Comment</key>
				<string>ALPM IO Error AppleAHCIPort</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				QGACAA==
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				AAAAAA==
				</data>
			</dict>

The patch was added in 'Clover configurator' (config.plist) but the problem did not go away.

Some suspicion was born about the disk itself, I tried to use another HDD with same outcome.

If the disk is connected to USB port through 'USB to SATA' adapter then disk can be erased in 'Disk Tool' and installation proceed as expected. I believe that the problem related to SATA controller not activated properly or SATA driver does not work with SATA controller. 'Disk Tool' sees SATA HDD but can not use/access it properly.

Is there any solution to the problem?

 

NOTE #1: If I boot Knoppix 8.1 from USB then I have no problem to partition the disk. I have attempted to wipe up HDD with zeros few hundred MB of the disk with 'dd if=/dev/zero of=/dev/diskX' in Linux -- the problem still persist. In 'Disk Tool' selected 'All drives' and operation to erase drive -- ends with above mentioned error.

NOTE #2: Next webpage (in Russian) states that H55 chipsets not much different from ICH10. 

Thank you,
osx151212

Edited by osx151212
Link to comment
Share on other sites

Hi,

the issue has been resolved with following patch

		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>fix IO error ICH10 for 10.13, credit SunKi</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RYX2D5XCiciD4P5mhcl4D4TSdQs=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				iciD4P5mhckPmMFBCMyQkJCQdQs=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>fix hotplug ICH10 for 10.13, credit SunKi</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				icglQGACAD1AIAAAdQyB4b9///+Ji1EBAAA=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				kJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJA=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
			</dict>
		</array>

Special thanks to crazybirdy, sunKi and all of you out there that make this happens.

osx151212

Link to comment
Share on other sites

19 hours ago, styrian said:

Hello!

 

......... but your signature. Please follow this before next post: https://www.insanelymac.com/forum/topic/336486-video-how-to-add-a-signature/?tab=comments#comment-2647874

 

Have fun.

Good job TRYING to get people to add signature , too bad it can't be made mandatory to do so when people join up.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

I have several Hackintoshes (some multiboot OSX/Windows/Linux) and my signature will be sprinkled with multiple configurations (mostly old computers).

I do not think that it will help much -- when I talk about a computer I try to put specification in first post.

Otherwise I have to edit 'signature' multiple times what could even further make very opaque the description of the problem.

osx151212

Link to comment
Share on other sites

 Share

×
×
  • Create New...