AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
936 stars 125 forks source link

Screen Resolution #33

Closed mrahmadt closed 5 years ago

mrahmadt commented 5 years ago

Finally, I managed to run Mojave in Virtualbox :)

Thanks for the excellent work.

Just one small issue, how can I change the resolution of the guest? currently, I can not see any option other than 1680x1050 (even if I press "option"), the current resolution is very big for my screen.

nampdn commented 5 years ago

You can try this:

VBoxManage setextradata "MacOS" "CustomVideoMode1" "1680x1050x32"

Where MacOS is the VirtualBox machine name!

AlexanderWillner commented 5 years ago

The screen resolution in https://github.com/AlexanderWillner/runMacOSinVirtualBox/blob/master/config.plist also has to be updated accordingly.

IanSavchenko commented 5 years ago

@AlexanderWillner Do we also need to recreate the machine?

AlexanderWillner commented 5 years ago

Only the Boot image

n1kk commented 5 years ago

I'v changed resolution in the plist and via terminal command to "1440x900" and rebuild clover image but this is what I got in the end: screen shot 2018-11-07 at 4 21 02 pm

AlexanderWillner commented 5 years ago

You also have to modify the screen resolution of the VM:

    VBoxManage setextradata "macOS-Mojave" "CustomVideoMode1" "1440x900x32"
    VBoxManage setextradata "macOS-Mojave" VBoxInternal2/EfiGraphicsResolution "1440x900"
AlexanderWillner commented 5 years ago

What about setting the screen resolution via boot flag using e.g. -v "Graphics Mode"="1280x800x32@60Hz"

AlexanderWillner commented 5 years ago

I removed clover from the setup. So might be fixed now.