Jump to content

Compaq Presario SR5310F with Pentium Dual-Core E2140, OpenCore - Snow Leopard


Lost-Entrepreneur439

Recommended Posts

I know this system is absolutely ancient and almost no one is hackintoshing it, but this thing was a real challenge to Hackintosh so I decided to make a guide for the random person who may also want to Hackintosh this computer.

image.png.eeeed01b50930217b4cc9ddbfcddd61e.png

System specs:

  • CPU: Intel Pentium Dual-Core E2140
  • GPU: Intel GMA 950
  • RAM: 1GB 667MHz DDR2
  • Make/Model: Compaq Presario SR5310F
  • Audio Codec: Realtek ALC888
  • Ethernet: Realtek RTL8139
  • Wi-Fi/Bluetooth: None
  • Touchpad: None
  • BIOS: v5.19

Current issues:

  • NVRAM is not working, even when emulated.
  • Sleep does not work.
  • Reboot does not work

Set BIOS settings:

  • Power -> XD (Execute Disable) -> Enabled

Preparations: 

You will need a computer already running macOS, it is not possible to make a Snow Leopard installer on Windows or Linux. The macOS version doesn't matter, and it doesnt matter what hardware you're using (real Mac, Hackintosh, VM, etc.). You will need a USB drive that's at least 8GB. Make sure your computer is on BIOS v5.19, unexpected issues may occur otherwise. Compaq's website is obviously long dead, but you can find the BIOS from other sources (i forgot where I downloaded 5.19 from)

Creating the USB:

Grab a copy of Mac OS X Snow Leopard (https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install-dmg.html has two downloads for 10.6), after it's downloaded, format your USB using Disk Utility, format it as Mac OS Extended (Journaled) with the GUID Partition Map, and name it "MyVolume". Mount the 10.6 DMG and run the following command in a terminal

sudo asr restore -source /Volumes/Mac\ OS\ X\ Install\ DVD -target /Volumes/MyVolume -erase -noverify

Once that finishes, grab a copy of OpenCorePkg (get the RELEASE version), then extract it, and go to Utilities/LegacyBoot, and run "BootInstall_X64.tool". Select your USB, and press enter. This will write the boot sector to your USB, and mount the EFI partition. Now, grab my EFI and copy the EFI folder to the EFI partition.

 

config.plist modifications

On the EFI partition, go to EFI/OC, and open config.plist with ProperTree, go to PlatformInfo -> Generic, and now grab a copy of GenSMBIOS, run GenSMBIOS.command, select option 1, afterwards, select option 3 and type "Macmini1,1 1", then go to Apple's Check Coverage page, and put "Serial" in the Serial number section, if it gives you a real Mac Mini, you need to generate a new SMBIOS (option 3 then "Macmini1,1 1" again until you get an invalid SMBIOS). If it returns the error "Please enter a valid serial number.", then you can proceed with that SMBIOS. Copy "Serial" to "SystemSerialNumber", "Board Serial" to "MLB", "SmUUID" to "SystemUUID", and "Apple ROM" to "ROM". Now go to UEFI -> Resolution in the config.plist, and set "Resolution" to the resolution of your monitor. Do not set the value to "Max", while this is what you're supposed to do, there is a current bug in OpenCore resulting in the error "Input Not Supported" if you're using a VGA output and your resolution is set to "Max", so you need to specify the resolution. Once you do that, you can save the config.plist and eject the USB.

 

Install:

Insert your USB into any port (all USB ports on the SR5310F are USB 2.0), turn it on, then press ESC until the boot menu loads, and then select your USB. Select your USB (should be called something like "Install Mac OS X (External)", if this option is not present, press space.). Once the installer loads, go to Utilities -> Disk Utility, select your disk, then format as Mac OS Extended (Journaled) with GUID Partition Map, then exit disk utility, and continue with the installer. Keep your USB connected as Mac OS X installs and reboots, when Mac OS X is finished installing, grab my EFI mounting script, put it on your system, open terminal, run "chmod +x [location to mountefi.sh]" then drag the script to your terminal, and mount your USB's EFI (if your USB is disk2s1, you'd type 2 to mount the EFI". Copy the EFI folder anywhere on your computer, then remove the USB. Grab OpenCorePkg, go to Utilities -> LegacyBoot and run BootInstall_X64.tool again, select your Compaq's HDD, then copy your EFI folder to your HDD's EFI partition. You should now have a Snow Leopard hack on your Presario SR5310F!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...