diff options
| author | Bradley Taunt <bt@btxx.org> | 2025-03-12 14:05:51 -0400 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2025-03-12 14:05:51 -0400 |
| commit | 111c49bd5233062697f85aae85d351c39ba44b97 (patch) | |
| tree | c3bc93352136a08f838817dce85db61cd3817e44 | |
| parent | 038514e77b6d40b19242e1e8f1b65c2fac4374f9 (diff) | |
New post on OpenBSD for UTM, styling cleanup
| -rw-r--r-- | _drafts/react-os-vmm.md | 38 | ||||
| -rw-r--r-- | posts/openbsd-mac-utm.md | 49 | ||||
| -rw-r--r-- | public/images/openbsd-mac-utm.webp | bin | 0 -> 91750 bytes | |||
| -rw-r--r-- | public/style.css | 1 |
4 files changed, 49 insertions, 39 deletions
diff --git a/_drafts/react-os-vmm.md b/_drafts/react-os-vmm.md deleted file mode 100644 index b8ec522..0000000 --- a/_drafts/react-os-vmm.md +++ /dev/null @@ -1,38 +0,0 @@ -# Playing Old Windows Games on ReactOS Running Inside OpenBSD - -2025-03-10 - -* toc -{:toc} - -## Before We Begin - -I would like to begin this article (and/or tutorial) with a fitting quote from Jurassic Park: - -> Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should. -> -> · *Dr. Ian Malcolm (played by Jeff Goldblum)* - -We are not going to debate the merits of running a separate operating system inside OpenBSD's `vmm` in order to play games that mostly work running directly on OpenBSD itself. Where would the fun in that be? Instead, we going to dive right in - starting off by downloading the proper Boot CD and configuring `vmm` to launch into the installer. - -<div class="alert note"> - <span><b>Preface:</b> There are better ways to play old school games on OpenBSD. I did this for fun and because I felt like making things difficult for myself. Please put away your pitchforks...</span> -</div> - -For reference, my testing machine has the following specs: - -**X220 ThinkPad** - -- Intel Core i5 2540M @ 2.6 GHz -- 16GB RAM -- OpenBSD 7.6 running `dwm` - -## Getting the ReactOS Boot CD - -## Playing Some Games - -### Baldur's Gate 2 - -### Half-Life 2 - -### SimCity 3000
\ No newline at end of file diff --git a/posts/openbsd-mac-utm.md b/posts/openbsd-mac-utm.md new file mode 100644 index 0000000..4b2a60a --- /dev/null +++ b/posts/openbsd-mac-utm.md @@ -0,0 +1,49 @@ +# Setup an OpenBSD VM on macOS Using UTM + +2025-03-12 + +The [UTM app](https://mac.getutm.app) for macOS is an excellent piece of software for those wanting a streamlined GUI when working with virtual machines. Their existing [Gallery](https://mac.getutm.app/gallery/) of pre-built images is great, but it currently lacks any of the BSDs. Lucky for us, creating your own OpenBSD VM is very straightforward. + +<figure> + <img src="/public/images/openbsd-mac-utm.webp" alt="OpenBSD running inside UTM"> + <figcaption>OpenBSD 7.6 running inside UTM on macOS</figcaption> +</figure> + +## Download OpenBSD ISO + +Download the latest `arm64` OpenBSD install ISO from the official site: + +~~~sh +curl -O https://cdn.openbsd.org/pub/OpenBSD/7.6/arm64/install76.iso +~~~ + +## Create a UTM Virtual Machine + +1. Open UTM +2. Click create a **New Virtual Machine** +3. Select **Virtualize** → **Other** +4. Select **CD/DVD Image** and choose your ISO file +5. Set your **Storage** to your desired size (ie. `15GB`) +6. Set your **Shared Directory** (ie. `Downloads`) +7. Name your VM and click **Continue** + +## Tweaking VM Settings + +1. Edit the VM config under **QEMU** → **Display** and change it to `virtio-ramfb`. +2. Under **System** check the `Force Multicore` checkbox + +## Network & Display + +If you require network access, make sure you set `virtio-net-pci` under **Emulated Network Interface** in the **Network** settings tab. This is normally set correctly by default, but you should always double check. + +## Installing OpenBSD + +1. Start the VM +2. Boot from the OpenBSD install ISO +3. Follow the OpenBSD installation prompts + * I have a [step-by-step installation guide](/wiki/openbsd/installation/) (if required) +4. After installation choose `Halt` +5. Under **USB Drive** settings remove the ISO from path and set **Image Type** to *Disk Image* +6. Reboot into the OpenBSD VM + +Didn't I say it was easy? Now you can start playing with OpenBSD on your Mac! 🐡
\ No newline at end of file diff --git a/public/images/openbsd-mac-utm.webp b/public/images/openbsd-mac-utm.webp Binary files differnew file mode 100644 index 0000000..69f2c44 --- /dev/null +++ b/public/images/openbsd-mac-utm.webp diff --git a/public/style.css b/public/style.css index 3381ddd..1ed7723 100644 --- a/public/style.css +++ b/public/style.css @@ -176,7 +176,6 @@ figure { margin: 3rem; } figure img { - border: 1px solid; display: block; margin: 0 auto; padding: 4px; |
