Since my girlfriend and her kids have moved in, I am letting her use my macbook pro for all her website stuff, so the kids can have the chromebook. During this time I have started missing my macbook pro. I thought setting up ssh and remotely doing things would cure the hunger of not using my machine. I looked all over and came up with this idea of using virtualbox with Mac oS X downloaded from my itunes account. I did not know if this was ossble So I researched it and found a lot of information. First i needed to download the actual installer using itunes. This is what I did after a little research..

Setting up the disk image for usage on virtualbox

/Applications/Install\ macOS\ High\ Sierra.app

Next I needed to create an empty work space. We can do this using hdiutil

Typical Mac Install disk is around 7 gigs so I chose 8 gigs to be safe

hdiutil create -o /Users/sexymac/highsierra.cdr -size 8000m -layout SPUD -fs HFS+J

now we attach to the new image

hdiutil attach /Users/sexymac/highsierra.cdr -noverify -nobrowse -mountpoint /Volumes/mysierra

This attaches and makes a new volume labled mysierra

Now we need to copy the Base system to the new volumee Note: This changes the volume name to OS X Base System

asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/mysierra -noprompt -noverify -erase

This will take a few to copy over. Get a coffee or make a snack. After its done copying you detach from the volume

hdiutil detach /Volumes/OS\ X\ Base\ System

Now we need to convert the image to an iso

hdiutil convert /Users/sexymac/highsierra.cdr -format UDTO -o /Users/sexymac/highsierra.iso

rename the new image to /Users/sexymac/highsierra.iso from /Users/sexymac/highsierra.cdr.iso

Virtual Box settings

System: 4 processors and PIIX chipset

Video memory maxed out appears to be 128

Virtual Box commands (must be done with virtual box not running)

Now to make the virtualbox install. I tried 3 different ones and these ones below finally got me into the High Sierra install screen.

VBoxManage.exe modifyvm "High Sierra" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff

VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"

VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"

VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"

VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"

VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1