Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> Mac

คู่มือขั้นตอน: ติดตั้ง macOS Monterey ใน VirtualBox บน Windows 10/11

macOS 12 Monterey เป็น Major Update ที่นำฟีเจอร์ใหม่มามากมายสำหรับ Mac OS เช่น Live Text, Shortcuts, Universal Control, Focus Mode ฯลฯ คุณสามารถติดตั้ง OS บน Virtual Machine อย่าง VirtualBox บน Windows PC เพื่อลองใช้ หากคุณไม่มี Mac

เคล็ดลับ: นอกจากติดตั้งบน Virtual Machine แล้ว คุณยังสามารถติดตั้ง macOS บน Windows PC ได้โดยการสร้าง Hackintosh

ที่นี่เราจะแนะนำ ติดตั้ง macOS Monterey บน VirtualBox ซึ่งเป็น Virtual Machine ฟรีสำหรับการใช้งานส่วนตัว การศึกษา หรือการประเมิน

วิธีติดตั้ง macOS Monterey บน VirtualBox ใน Windows?

เพื่อติดตั้ง macOS Monterey บน VirtualBox คุณต้องตรวจสอบว่า Windows PC ตรงตามข้อกำหนดขั้นต่ำดังนี้

  • RAM: 4 GB (แนะนำ 8 GB)
  • พื้นที่ฮาร์ดดิสก์: 80 GB (แนะนำ 150 GB)
  • CPU: 2 Cores (แนะนำ 4)

หากไม่แน่ใจเกี่ยวกับสเปกฮาร์ดแวร์ PC คุณสามารถตรวจสอบได้ดังนี้:

  1. กด Ctrl + Shift + Esc เพื่อเปิด Task Manager
  2. เลือกแท็บ Performance
    คู่มือขั้นตอน: ติดตั้ง macOS Monterey ใน VirtualBox บน Windows 10/11
  3. ไฮไลท์ CPU, Memory หรือ Disk จากด้านซ้ายเพื่อดูข้อมูลเฉพาะ

หาก PC ตรงตามข้อกำหนด ให้ดำเนินการต่อตามขั้นตอนด้านล่างเพื่อ ดาวน์โหลดและติดตั้ง macOS Monterey บน VirtualBox บน Windows 11/10/8.1/Windows Server 2012-2022

  • ขั้นตอนที่ 1: ดาวน์โหลดไฟล์ที่จำเป็นสำหรับติดตั้ง macOS Monterey บน Windows
  • ขั้นตอนที่ 2: ติดตั้ง VirtualBox บน Windows PC
  • ขั้นตอนที่ 3: สร้างเครื่องเสมือน macOS Monterey
  • ขั้นตอนที่ 4: ปรับแต่งการตั้งค่าเครื่องเสมือน macOS Monterey VirtualBox
  • ขั้นตอนที่ 5: รันโค้ด VirtualBox ใน Command Prompt
  • ขั้นตอนที่ 6: ติดตั้ง macOS Monterey บน VirtualBox บน Windows PC

ขั้นตอนที่ 1: ดาวน์โหลดไฟล์ที่จำเป็นสำหรับติดตั้ง macOS Monterey บน Windows

นี่คือไฟล์ที่จำเป็นสำหรับการติดตั้ง คุณสามารถดาวน์โหลดก่อนเริ่มต้นได้

1. ดาวน์โหลด macOS Monterey ISO File

ไฟล์ ISO macOS Monterey เป็น Disk Image ที่มี Installer ของ macOS Monterey

2. ดาวน์โหลด Oracle VM VirtualBox และ Extension Pack

VirtualBox รองรับ Windows Hosts (64-bit) ต่อไปนี้:

  • Windows 8.1
  • Windows 10
  • Windows 11 21H2
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

เพื่อดาวน์โหลด VirtualBox คุณต้องได้ Base Package และ Extension Pack

  • Base Package: รวม Components แบบ Open-source ทั้งหมด License ภายใต้ GNU General Public License V2
  • Extension Pack: ขยายฟังก์ชันของ Oracle VM VirtualBox Base Package ด้วยฟีเจอร์อย่าง VirtualBox Remote Desktop Protocol (VRDP), Host Webcam Passthrough, Intel PXE Boot ROM, และ Disk Image Encryption ด้วย AES Algorithm

เปิดเว็บไซต์ คลิก "Windows hosts" เพื่อดาวน์โหลด Base Package สำหรับ Windows แล้วคลิก "All Supported Platforms" เพื่อดาวน์โหลด Extension Pack เพิ่มเติม ( ณ เวลาเขียนบทความ เวอร์ชันล่าสุดของ VirtualBox คือ 7.0.8

คู่มือขั้นตอน: ติดตั้ง macOS Monterey ใน VirtualBox บน Windows 10/11

ขั้นตอนที่ 2: ติดตั้ง VirtualBox บน Windows PC

ขั้นตอนที่ 3: สร้างเครื่องเสมือน macOS Monterey

ตอนนี้ VirtualBox ติดตั้งพร้อม Extension Pack บน PC แล้ว ขั้นตอนต่อไปคือสร้าง Virtual Machine ใหม่สำหรับ macOS Monterey

ขั้นตอนที่ 4: ปรับแต่งการตั้งค่า macOS Monterey VirtualBox

ขั้นตอนที่ 5: รันโค้ด VirtualBox ใน Command Prompt

เนื่องจาก macOS Monterey หมายทำให้ Mac เท่านั้น คุณต้องเปลี่ยนโค้ดสำหรับ VirtualBox ให้มันคิดว่ากำลังติดตั้ง macOS Monterey บน Mac ไม่ใช่ PC

ขั้นตอนที่ 6: ติดตั้ง macOS Monterey บน VirtualBox บน Windows PC

นี่คือขั้นตอนสุดท้ายสำหรับติดตั้ง macOS Monterey บน VirtualBox เริ่มกันเลย

Troubleshoot macOS Monterey VirtualBox ไม่ทำงาน

Failed to query SMC value from the host (VERR_INVALID_HANDLE):

หากคุณได้ข้อผิดพลาด "Failed to query SMC value from the host (VERR_INVALID_HANDLE)" เมื่อรัน macOS Monterey Virtual Machine ให้รันคำสั่งนี้ใน CMD เพื่อแก้ไข หลังจากแทนที่ VM Name ด้วยชื่อ Virtual Machine ของคุณ:

VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 0

Can't start macOS Monterey virtual machine:

หากค้างที่ Loop ของโค้ดสีดำ ให้เปลี่ยนจำนวน Processors กลับเป็น 1 แล้วรีสตาร์ท Virtual Machine และติดตั้ง macOS Monterey สามารถเปลี่ยนกลับภายหลังหลังติดตั้งเสร็จ

macOS Monterey VirtualBox Boot Loop:

เปิด CMD รันเป็น Administrator แล้วรันคำสั่ง:

VBoxManage setextradata "VM Name" "VBoxInternal/TM/TSCMode" "RealTSCOffset"

แชร์บทความนี้เพื่อช่วยผู้อื่นเรียนรู้วิธีติดตั้ง macOS Monterey บน Windows PC ด้วย VirtualBox

คำถามที่พบบ่อยเกี่ยวกับ macOS Monterey VirtualBox

คำถาม: รัน macOS บน VirtualBox ใน Windows PC ได้จริงไหม?

คำตอบ: ได้ สามารถรัน macOS บน VirtualBox บน Windows PC ได้ เพียงทำตามขั้นตอนในคู่มือนี้

คำถาม: รัน VirtualBox บน M1 Mac ได้ไหม?

คำตอบ: ได้ ไปที่เว็บ VirtualBox คลิก Downloads แล้วคลิก "Developer preview for macOS / Arm64 (M1/M2) hosts เพื่อได้ Package ที่ถูกต้อง