myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.46k stars 1.11k forks source link

BigSur boot #524

Closed adiantek closed 2 years ago

adiantek commented 2 years ago

Hi,

I installed catalina, upgraded to Big Sur. After shut down and start I see macOS Utilities (recovery): image

I must click "Startup disk" and select "macOS - Data" to run MacOS BigSur. How can I change to automatically and always boot "macOS - Data"? image

myspaghetti commented 2 years ago

You can change the boot disk in any of these ways:

You only need to perform one of these.

adiantek commented 2 years ago

1) I had it before: image 3) I removed Catalina_bootable_installer.vdi and got panic from MacOS image 4) There is my startup.nsh - what I should change? image and run fs5:\System\Library\CoreServices\boot.efi: image it's the same crash which I got when I removed Catalina_bootable_installer.vdi.

My VBox version: Oracle VM VirtualBox VM Selector v6.1.22_Ubuntu. My extpacks:

vboxmanage list extpacks
Extension Packs: 2
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      6.1.22
Revision:     144080
Edition:      
Description:  Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 

Pack no. 1:   VNC
Version:      6.1.22
Revision:     144080
Edition:      
Description:  VNC plugin module
VRDE Module:  VBoxVNC
Usable:       true 
Why unusable: 
myspaghetti commented 2 years ago

Since Big Sur boots with the Catalina installer disk attached but fails if it's the only disk, the problem is definitely minor and probably somewhere in com.apple.Boot.plist. However if you don't feel like delving into macOS boot internals, you can try:

The proper solution would be fixing Big Sur's boot settings, or, if the VM has nothing on it, deleting the VM and making a new one, then upgrading to Big Sur when it's the only attached bootable disk so the boot sequence doesn't get complicated. Another way, if you still have the Big Sur installer on the disk, is manually creating another 12GB virtual disk and creating a Big Sur installer on it, then using that installer to fix the boot sequence.

Again, the problem is probably very minor and I'm giving these hacky solutions so I don't have to look into com.apple.Boot.plist, but it's probably the source of the issue and it's probably very simple to fix it.