Install/run Raspberry Os in Virtual machin(VM)
เริ่มจาก Download RPi OS Desktop image และ Download install VirtualBox
เว็บที่ใช้ในการ Download
Raspberry Pi
เว็บที่ใช้ในการ Download
Virtualbox
Configure a new virtual machine for RPi OS เลือก ชนิด Linux และรุ่น Debian(64-bit) และเลือกขนาด ของหน่วยจำให้มากกว่า1024MBจะเท่าไหร่ก็ได้พอเลือกได้แล้วกด “ถัดไป”
เลือก”ฮาร์ดดิสก์เสมือนขึ้นมาใหม่” แล้วกด”สร้าง” แล้ว เลือก “VDI(VirtualBox Disk Image)” แล้วกด “ถัดไป”
เลือก “จัดสรรแบบพลวัต” แล้วกด “ถัดไป” และ ตั้งค่าที่อยู่และขนาดไฟล์ตามต้องการ พอเสร็จให้กด”สร้าง”
?
สุดท้ายจะได้หน้าอย่างนี้
Add the RPi OS image to your VM ให้กดเข้าไปที่ “การตั้งค่า”
ไปเมนู หน่วยเก็บข้อมูล กดเข้าไปที่ “ว่าง”ด้านล่างตัวควบคุมIDE ไปตรงออปคิคัสไดร์ฟ กดเครื่องหมายวงกลมสีฟ้า เลือกตัวที่ดาวโหลดมาRPi OS Desktop image
Start and install the OS on the VM แล้ว เลือก Graphical installแล้ว enter
เลือกภาษาตามต้องการ แล้วกด continue
เลือก Guided - use entire disk แล้วกด continue
เลือกdisk แล้ว continue
เลือก all files in one parition (recommended for new users)แล้วกด continue
เลือก Finish paritioning and write changes to disk แล้วกด continue
กดเลือก Yes แล้ว Continue
กดเลือก Yes แล้ว Continue
เลือก device แล้ว Continue
กด continue
ตั้งค่า Country,language และtimezoneตามความต้องการ ทำเครื่องหมายถูก ทั้งสองตัวเลือกแล้วกด Next
สร้างUser ตั้งUsernameและpassword ตั้งเสร็จแล้วกด Next
กด Next เพื่อยืนยันการUpdate Software
พอเสร็จแล้วจะมันถามว่าRestartไหม กดRestart เท่ากับจบขั้นตอนการติดตั้งสามารถใช้ได้แล้ว
เมื่อลองใช้คำสั่ง ls
การติดตั้ง Raspberry Pi Imager ใช้คำสั่ง sudo apt install rpi-imager เป็นการ install on Raspberry Pi OS ใน Terminal Window