26 ms·
OpenBSD boots multi-user on Apple M1 hardware
- 1vuio0pswjnm7 6y agoLooks like he is booting from USB stick.
- sigjuice 6y agoNeed to start somewhere.
- 1vuio0pswjnm7 6y agoThat's the preferred method for me on NetBSD.
- spijdar 6y agoRelevant I guess since, besides the GPU, I'd expect one of the hardest parts of porting to the M1 would be full support for its very non-standard storage interfaces. Still impressive, but installing on or booting off the internal storage will be a big milestone for an prospective OS.
- Maursault 6y agoResponding to children, not the parent... and yet I have replied to the parent. This is interesting because (last I heard) Apple doesn't let M1 Macs boot macOS off an external drive.
- alsetmusic 6y agoSo much for the many remarks made on HN claiming that Apple would use the M1 to further exert control over users’ ability to boot an alternative OS. Between this and Asahi Linux, I’d say things are off to a good start. Btw, Asahi has a Patreon page for anyone who wants to contribute. I’m tossing twelve bucks a month and recommend any Mac users with interest in booting alternative OSes support such projects. Now I’m gonna see if there’s an option to throw money at this.
- asveikau 6y agoTo be fair that wasn't the only type of knee jerk negative reaction here on this topic. IIRC there was another, more Apple-fan style commentary of "a free OS will never run on this bespoke Apple product, and shouldn't". I for one am glad people are making progress.
- djrogers 6y agoI’ve read just about every M1 story and thread on HN since launch, and one of us is apparently mis-reading some posts here. I have never seen anything that I could remotely interpret as matching that sentiment.
- mhh__ 6y agoI didn't see it on the M1 threads but there have been some bizarrely "Corporations are not only people, but my friend"-ish arguments about "sideloading" (i.e. running software on a device you paid for!) on Apple products in general. In short, "But think of my Grandma" as opposed to think of the children.
- dooglius 6y agoIs there something about multi-user that makes it harder than single-user? If it boots, it's all software at that point, no?
- sitzkrieg 6y agofull stretch of a dmesg really
- monadic5 6y agoIn the sense that single user mode is used as a failure mode for the boot process, it indicates that the system was successfully able to bootstrap from the EFI to its own (critical) drivers successfully.
- tedunangst 6y agoImplies a level of stability greater than getting to the "press enter for sh" prompt. Virtual memory is working, filesytems are working, etc.
- spijdar 6y agoAlso probably tests things like signals/job control. I ran into an issue bootstrapping ppcle (on linux) where everything but the signal handler (and vDSO) were working, but context switching from a kernel to a signal handler ended in SIGILL. Booting multi-user probably wouldn't work without working signals.
- AdamJacobMuller 6y agolots more context switching which is a big thing on a new architecture. It goes from "it boots as a toy" to "actually useful"
- messe 6y agoFantastic. OpenBSD on an M1 Mac Mini would be a great home server. As for desktop, I love cwm on my thinkpads, but macbook touchpads have won me over. That said, if arcan gets to a usable state on OpenBSD, I wouldn't mind sinking a few weekends (and/or crates of beer) into helping with improving touchpad/gesture support. X11 is just too daunting to have me bothered.
- etaioinshrdlu 6y agoI don't mean to be dismissive, but isn't almost anything a decent home server nowadays? As long as your'e OK with the performance, size, cost, storage, there are just myriad options available. Just about any PC or mac would do. Finally, we all have our own preferences, but I'm not sure why one would really want to use OpenBSD for a home server. There's less driver support or application support than just about any other choice. It sounds like an ideal choice if you like to spend countless hours fiddling with things. I'm really curious what you see to like in this setup.
- cat199 6y agoHave you actually used OpenBSD? Agree available drivers/applications might be less than a mainstream linux, but for what is there, things work completely solidly and require basically negative fiddling
- dannyw 6y agoIf you have a mainstream motherboard, you'll likely have Realtek Ethernet drivers. These do not reliably work in OpenBSD and will hang if you try to use it as a NAS.
- hedora 6y agoI’ve found when shopping for a motherboard, it’s usually $10-20 more for intel ethernet, which is a much better experience under Linux and *BSD
- GoOnThenDoTell 6y agoSome of us really like Mac hardware, but don’t like macOS A fully working setup of Linux on a Mac is the dream for me
- pjmlp 6y agoWhat about sponsoring BSD OEMs to achieve the same level of hardware quality? https://www.tuxedocomputers.com/index.php https://www.tuxedocomputers.com/index.php
- bch 6y agoThis is what I love about OpenBSD (as an observer, and being adjacent via NetBSD) - in surprising ways, when they want something, they leap on it. Forefront of wireless chips, accelerated gfx (perplexing to me, but happily so), and now this? Keep it up, OpenBSD. This is impressive.
- rgovostes 6y agoRunning an alternative OS "natively" on a Mac doesn't seem very appealing to me. It's almost guaranteed you will never fully get Wi-Fi, audio, graphics acceleration, the trackpad, etc. working flawlessly, especially on the M1 where almost every component is Apple proprietary and it's not a matter of loading, say, some common Intel graphics driver. On the other hand, virtualization _already_ lets you run whatever arm64 BSD, Linux, or Windows that you want. The trackpad and everything else will work flawlessly thanks to guest additions. Yes, you make some tradeoffs -- you sacrifice a core, a few GB of RAM, some disk space for an OS you don't _really_ want to be running. But I'm skeptical that these are not better tradeoffs than constantly using a hacked-together and half-broken OS. To me the ideal solution is not that Corellium or Marcan or whoever reverse engineers the drivers to a sufficient degree. I'd rather see Apple (or the Hackintosh types) release a tiny variant of macOS that contains hardware drivers and Hypervisor.framework and not much else. It could be the next generation of Boot Camp and it would probably take less engineering effort for them to maintain while satisfying the small segment of customers interested in running other operating systems.
- sedatk 6y ago> you will never fully get Wi-Fi, audio, graphics acceleration, the trackpad, etc I agree with your sentiment, but that isn't as serious as you say on, say, M1 Minis used as servers and that's probably where OpenBSD would shine.
- Wowfunhappy 6y agoI absolutely expect Asahi to get all of those things working in due course. Lots of smart people are working on it.