User Tools

Site Tools


qemu_with_working_gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qemu_with_working_gui [2025/05/01 21:06] adminqemu_with_working_gui [2026/03/08 16:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 **A short list of instructions** **A short list of instructions**
  
-* I use macports - install latest qemu and qemu-utils.+  * I use macports - install latest qemu and qemu-utils.
  
-* Download 2024-10-22-raspios-bullseye-armhf.img.xz. Unpack this with Archiver, and mount it as a drive (right click on the newly created .img file). You might need to change your Finder settings to view all drives.+  * Download 2024-10-22-raspios-bullseye-armhf.img.xz. Unpack this with Archiver, and mount it as a drive (right click on the newly created .img file). You might need to change your Finder settings to view all drives.
  
-* Create a new directory somewhere (for tidiness) and copy initramfs8, kernel8.img, bcm2710-rpi-3-b.dtb into this new directory.+  * Create a new directory somewhere (for tidiness) and copy initramfs8, kernel8.img, bcm2710-rpi-3-b.dtb into this new directory.
  
-* To use ssh (I presume you do), In Terminal in the mounted bullseye drive (probably at /Volumes/bootfs), run 'touch ssh'. This creates an empty file which signals to raspios to start the ssh server on first boot.+  * To use ssh (I presume you do), In Terminal in the mounted bullseye drive (probably at /Volumes/bootfs), run 'touch ssh'. This creates an empty file which signals to raspios to start the ssh server on first boot.
  
-* Unmount the bootfs drive in Finder, and copy the bullseye image into your new directory with the other files.+  * Unmount the bootfs drive in Finder, and copy the bullseye image into your new directory with the other files.
  
-* Open a text editor and copy this code to create a file (I called mine rpi.sh). Change permissions to be executable with 'chmod a+x rpi.sh'.+  * Open a text editor and copy this code to create a file (I called mine rpi.sh). Change permissions to be executable with 'chmod a+x rpi.sh'.
  
 <code bash> <code bash>
Line 27: Line 27:
 </code> </code>
  
-* Run this script! You will be able to ssh to the emulated raspi3b at localhost:2222, as well as direct at 10.0.2.15 (default address for first DHCP machine on the QEMU virtual network).+  * Run this script! You will be able to ssh to the emulated raspi3b at localhost:2222, as well as direct at 10.0.2.15 (default address for first DHCP machine on the QEMU virtual network).
  
 **NB** You will probably get a warning about the 'Image format was not specified...'. format=raw is meant to solve this after the filename, but it gave me an error. I ignore this warning, YMMV. **NB** You will probably get a warning about the 'Image format was not specified...'. format=raw is meant to solve this after the filename, but it gave me an error. I ignore this warning, YMMV.
qemu_with_working_gui.1746133606.txt.gz · Last modified: (external edit)