{"id":28961843,"url":"https://github.com/mhatxotic/bootcampfix","last_synced_at":"2025-06-24T02:05:37.804Z","repository":{"id":300067583,"uuid":"1005108492","full_name":"Mhatxotic/BootCampFix","owner":"Mhatxotic","description":"A little hack to make I/O on Windows 7 faster with the old iMac Mid-2011 using BootCamp.","archived":false,"fork":false,"pushed_at":"2025-06-19T17:32:50.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-19T18:40:08.528Z","etag":null,"topics":["2011","ahci","apple","bootcamp","driver","faster","fix","hack","hdd","imac","io","mid","performance","win7","windows","windows7"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mhatxotic.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-19T17:21:43.000Z","updated_at":"2025-06-19T17:32:53.000Z","dependencies_parsed_at":"2025-06-19T18:52:31.552Z","dependency_job_id":null,"html_url":"https://github.com/Mhatxotic/BootCampFix","commit_stats":null,"previous_names":["mhatxotic/bootcampfix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mhatxotic/BootCampFix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhatxotic%2FBootCampFix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhatxotic%2FBootCampFix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhatxotic%2FBootCampFix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhatxotic%2FBootCampFix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mhatxotic","download_url":"https://codeload.github.com/Mhatxotic/BootCampFix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhatxotic%2FBootCampFix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261589933,"owners_count":23181438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2011","ahci","apple","bootcamp","driver","faster","fix","hack","hdd","imac","io","mid","performance","win7","windows","windows7"],"created_at":"2025-06-24T02:05:36.943Z","updated_at":"2025-06-24T02:05:37.739Z","avatar_url":"https://github.com/Mhatxotic.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# iMac Mid-2011 MBR hack…\n\n## What is it?\nThis is hack of the 440 byte Master Boot Record sector for the old `iMac Mid-2011` computer which will give a slight boost to I/O disk performance under Windows 7. I did not create this hack so I do not *exactly* what it does but I used it happily for many years with much increased SATA disk performance. Only what I do know is it changes Windows 7 to see the `Intel SATA AHCI Controller Driver` instead of a 'standard' more compatible one.\n\n## Warning!!!\nThis is potentially a destructive operation. I only ever used this hack on a second mechanical hard disk drive that came built-in with the Mac which was completely formatted with NTFS with an MBR partition. I cannot recommend using this on your primary and only disk drive unless you know exactly what you are doing.\n\n## Procedure…\nIt is better to have a fully working Windows 7 installation first with all the latest up-to-date drivers installed, then do the following proecdure using a Linux based LiveCD to do this too…\n\n1. Set `Start` to `0` on these in the Windows registry to prevent a possible crash at startup...\n   `HKLM\\System\\CurrentControlSet\\Services\\msahci`.\n   `HKLM\\System\\CurrentControlSet\\Services\\Iastor`.\n   `HKLM\\System\\CurrentControlSet\\Services\\IastorV`.\n\n2. Save your old MBR with this command…\n   `sudo dd if=/dev/disk1 of=bootcamp.old bs=440 count=1`.\n\n3. Write your new MBR with this command…\n   `sudo dd if=bootcamp.new of=/dev/disk1 bs=440 count=1`.\n\n## Delta patch information…\n```\nVCDIFF version:               0\nVCDIFF header size:           34\nVCDIFF header indicator:      VCD_SECONDARY VCD_APPHEADER\nVCDIFF secondary compressor:  lzma\nVCDIFF application header:    bootcamp.new//bootcamp.old/\nXDELTA filename (output):     bootcamp.new\nXDELTA filename (source):     bootcamp.old\nVCDIFF window number:         0\nVCDIFF window indicator:      VCD_SOURCE VCD_ADLER32\nVCDIFF adler32 checksum:      F55EB2D9\nVCDIFF delta indicator:       VCD_DATACOMP VCD_INSTCOMP\nVCDIFF copy window length:    437\nVCDIFF copy window offset:    0\nVCDIFF delta encoding length: 134\nVCDIFF target window length:  440\nVCDIFF data section length:   46\nVCDIFF inst section length:   15\nVCDIFF addr section length:   7\n  Offset Code Type1 Size1  @Addr1 + Type2 Size2 @Addr2\n  000000 019  CPY_0    226 S@0\n  000226 004  ADD        3\n  000229 019  CPY_0    126 S@229\n  000355 001  ADD       21\n  000376 040  CPY_1      8 T@358\n  000384 009  ADD        8\n  000392 036  CPY_1      4 T@363\n  000396 012  ADD       11\n  000407 067  CPY_3     30 S@407\n  000437 004  ADD        3\n```\n## Diff…\n```\n15c15\n\u003c 000000e0: 00fb b800 bbcd 1a66 23c0 753b 6681 fb54  .......f#.u;f..T\n---\n\u003e 000000e0: 00fb e97e 00cd 1a66 23c0 753b 6681 fb54  ...~...f#.u;f..T\n23,26c23,26\n\u003c 00000160: 2402 c349 6e76 616c 6964 2070 6172 7469  $..Invalid parti\n\u003c 00000170: 7469 6f6e 2074 6162 6c65 0045 7272 6f72  tion table.Error\n\u003c 00000180: 206c 6f61 6469 6e67 206f 7065 7261 7469   loading operati\n\u003c 00000190: 6e67 2073 7973 7465 6d00 4d69 7373 696e  ng system.Missin\n---\n\u003e 00000160: 2402 c366 b890 fa00 80ba f80c 66ef b860  $..f........f..`\n\u003e 00000170: 00ba fc0c ef66 b824 fa00 80ba f80c 66ef  .....f.$......f.\n\u003e 00000180: 66b8 0000 a08f bafc 0c66 efb8 00bb e954  f........f.....T\n\u003e 00000190: ff49 0045 004d 0065 6d00 4d69 7373 696e  .I.E.M.em.Missin\n28c28\n\u003c 000001b0: 656d 0000 0063 7b9a                      em...c{.\n---\n\u003e 000001b0: 656d 0000 0091 939a                      em......\n```\n\n## [Disclaimer](#disclaimer)…\n\n**Always make backups!** This information is provided to the public *AS IS* with *NO* warranty given of any kind. By using this knowledge you disclaim the author all liability in the event that the reader mistakes or misuses any part of it for any reason that might result in any sort of negative consequence.\n\n## That's all folks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhatxotic%2Fbootcampfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhatxotic%2Fbootcampfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhatxotic%2Fbootcampfix/lists"}