Jump to content

Why my macOS Monterey raw image does not boot in VirtualBOX using the dd image file of the opencore USB disk ?


4 posts in this topic

Recommended Posts

Hello to everyone.

 

Currently I'm using FreeBSD 13.1-RELEASE,but sometimes I enjoy myself using MacOS Monterey that I have installed in one of my SSD disk. Precisely,this is the SSD disk where I have installed it :

 

=>       34  976773101  ada1  GPT  (466G)
         34          6        - free -  (3.0K)      
         40     409600     1  efi  (200M)
     409640  488543392     2  apple-apfs  (233G) 
  488953032  487820096     3  apple-apfs  (233G)
  976773128          7        - free -  (3.5K)

 

and this is the USB stick where I have installed opencore :


34 120845233 da5 GPT (58G)
34 6 - free - (3.0K)
40 409600 1 efi (200M)
409640 28625096 2 apple-hfs (14G)
29034736 91810531 - free - (44G)


Now I would like to boot Monterey that I have installed on ada1,that usually is capable to boot physically using the USB stick that I've created following the opencore tutorial,directly in VirtualBOX,giving the USB stick as a OPTICAL disk and the SSD disk as SATA disk.

 

r/macOSVMs - Why my macOS Monterey raw image does not boot in VirtualBOX using the dd image file of the opencore USB disk ?
r/macOSVMs - Why my macOS Monterey raw image does not boot in VirtualBOX using the dd image file of the opencore USB disk ?

 

This is what I did to be able to accomplish the task :

 

# VBoxManage internalcommands createrawvmdk -filename "/root/VirtualBox VMs/EVO.vmdk" -rawdisk /dev/ada1

# VBoxManage internalcommands createrawvmdk -filename "/root/VirtualBox VMs/opencore.vmdk" -rawdisk /dev/da5

 

but it fails to boot. So,I tried another approach,doing :

 

dd if=/dev/da5 of=opencore.iso

 

and I've attached the ISO file to the VirtualBOX / Monterey VM created previously. Unfortunately also in this case,it does not boot. I've read that an img file is basically the same as an iso file. So,why it fails to boot ?

Link to comment
Share on other sites

How did you make the OC iso?

Maybe you done it wrong

Edited by STLVNUB
Link to comment
Share on other sites

  • 2 weeks later...

I've installed Monterey physically on the ada1 SATA disk by dd ing the olarila monterey image that you can find here :

 

https://www.olarila.com/topic/6278-hackintosh-and-macintosh-olarila-vanilla-images-macos-installer/

 

to the USB stick da5 and then I've installed Monterey on the ada1 disk using the opencore bootloader installed on that USB stick.

 

The OC folder on the USB stick can't be wrong because it allowed me to install monterey on the ada1 disk and it works correctly.

on that disk I have installed Monterey and Ventura as you can see :

  409640  488543392     2  apple-apfs  (233G) 
  488953032  487820096     3  apple-apfs  (233G)

 

both works. Do you want to give a look to the OC folder stored on the USB stick ?

Edited by marietto2008
Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...