[HOWTO] Increase/Change Resolution of Mac OS X Leopard inside VirtualBox

I have installed iATKOS S3 v2 inside VirtualBox running on Debian. It can be simply installed like any other Operating Systems, but if you choose Operating System as Mac OS X Server, you must uncheck Enable EFI in the settings dialog.

If you wish to install, make sure to install latest VirtualBox (at least v3.2.x) first.

After the installation is ready, I was having problems with resolution. The only resolution that was available was 1024×768. To change it, I performed the following process.

I. Change com.apple.Boot.plist
1. Open up Finder from the dock (left most icon by default).
2. Open the Partition where you have installed Mac OS X under Devices.
3. Now, if you have an Extras directory in root, look for com.apple.Boot.plist. If you don’t, go to /Library/Preferences/SystemConfiguration/. You should see com.apple.Boot.plist
4. Copy the file com.apple.Boot.plist to Desktop.
5. Open the file on the Desktop with text editor (TextEdit).
6. Look for the following text:

<key>GraphicsEnabler</key>

If this value exists, the next line should have something like this:

 <string>1280x768x32</string>

Change it to whatever resolution your monitor supports.
If the value does not exist, add the following before </dict>

        <key>Graphics Mode</key>
        <string>1360x768x32</string>
        <key>GraphicsEnabler</key>
        <string>y</string>

Make sure, you have entered proper resolution for your monitor.

The following is my complete com.apple.Boot.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel</key>
	<string>mach_kernel</string>
	<key>Kernel Flags</key>
	<string></string>
	<key>Boot Graphics</key>
	<string>Yes</string>
        <key>Quiet Boot</key>
        <string>No</string>
        <key>Timeout</key>
        <string>5</string>
        <key>Graphics Mode</key>
        <string>1360x768x32</string>
        <key>GraphicsEnabler</key>
        <string>y</string>
</dict>
</plist>

7. Save the file to Desktop and close TextEdit.
8. Now, drag the file on the Desktop to the folder you copied it from. Confirm to Authenticate and Enter your password. Confirm to replace file.
9. Shut down Mac OS X.

II. Add Custom Video Mode as extradata to VirtualBox Configuration
1. Note your Virtual Machine Name for Mac OS X and quit VirtualBox. It is the name displayed in the Left Pane of the VirtualBox window.
2. Now, open up Terminal (or command prompt if you are using Windows) and run the following command (not as it is, make sure to make modifications. See below):

VBoxManage setextradata "Virtual Machine Name" "CustomVideoMode1" "_required_X_resolution_X_colordepth"

For example, if you have a virtual machine named “Mac Test” and want to set a resolution of 1440×900, you must run the following command:

VBoxManage setextradata "Mac Test" "CustomVideoMode1" "1440x900x32"

Now, start VirtualBox and start the Virtual Machine, Mac OS X should now use the new resolution.

Hope this helps.

If you enjoyed this post, make sure you subscribe to my RSS feed!
  • hackint0sh

    im stuck at a gray screen =( during installation

  • Laloneitor99

    wow! thanks! :D:D:D:D:D:D i stuck too at gray screen but you can use -v option at start and it fix it. (sorry for may english :S)

  • Zitstif

    Thank you very much! Worked for me! πŸ™‚Β 

  • Kulfon

    Thanks a lot. You are great!

  • ???

    didn’t work for me it change but not to that resolution i wrote.

  • Spamgetter99

    OMG I HAVE DONE 2 DAYS OF RESEARCH AND THIS DIDNT WORK EITHER WTF I NEED SERIOUS HELP

  • Dasda

    You have to do both steps in order for this to work.
    It will work 100% regardless of what resolution.
    First install Mac OS X on Virtualbox, but don’t change the .plist file yet.
    Close VirtualBox and do method 2, after that, start the virtualbox and start your OS X, then proceed with changing the .plist
    then you have to restart and see the changes :DBut enabling QE/CI is.. i think.. impossible on virtualbox πŸ™

  • Grzegorz Nowak

    worked perfectly, BUT instead of machine name I had to use machine uuid.Β 
    List your machines with” VBoxManage list vms” and use the uuid hash subscribed with your macOs machine.

  • Anonymous

    Thanks! Worked Perfectly!!!

  • aeros

    Works for me. Thank you!

    My machine: Win7 x64, i5 Processor 2generation, VirtualBox version is 4.2.6

  • IncomingTech

    Why can i just not get this to work ? Any reply or help would be appreciated πŸ™‚ Thanks

    • aloola

      I have the same problem. Something has changes in virtualbox probably since this tutorial was written. Cannot understand what.

      • IncomingTech

        I have actually got it to work now , let me know if you still havent , and I can tell you how to fix it πŸ™‚