On Sat, Aug 20, 2022 at 03:19:09PM -0400, Nick Holland wrote: > On 8/20/22 09:50, Quattroporte wrote: > > Hello arm@openbsd, > > > > I would like to install -current on the internal ssd that has macOS. I am a > > little unclear as to what disk choice I should make in the installer. The > > Asahi docs say choosing (W)hole disk option is fine > > https://asahilinux.org/2022/07/july-2022-release/ > > > > Has anyone tried? Would (W)hole install OpenBSD in the free space only? > > > > Thanks! > > > > <JokeMode> > Assuming that you mean "free space" in the BOFH sense, sure. > User: "I'm out of free space!" > BOFH: *clickety-click* there, now you got lots of free space." > User: "MY FILES ARE GONE!" > BOFH: "you got lots of free space, like you asked for" > </JokeMode> > > Unless something is special about that platform for OpenBSD, "whole disk" > means "whole disk". NOT just the part you were aiming for. > I haven't worked with that platform, but in general, if you want to share > the disk between OSs, you will have to make some free space before > installing OpenBSD, then create an OpenBSD partition in that free space.
There is something special. from fdisk(8) -A: "Modifies the GPT partition table entries on disk to put all available space not taken by -b into a single OpenBSD partition. The available space is first maximized by deleting all existing partition entries except those for APFS ISC, APFS, APFS Recovery, BIOS Boot, HiFive FSBL and HiFive BBL partitions. If APFS ISC, APFS, or APFS Recovery partitions are detected then existing EFI system partitions are also preserved. If the preserved EFI system partition has fewer blocks than the number requested with -b, the modified GPT is discarded." unlike most other machines some amount of apple bits need to be on disk https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs That said, I don't have an apple arm machine and have never done an install on one.