Dual booting openbsd with linux, is it complicated? reddit / BSD ---------------------------------------------------------------------- B99fanboy · 2021-04-06 04:56 Hi, I use linux as my daily driver. I'd like to know what OpenBSD feels like. Is dual booting openbsd with linux (in my case Arch Linux) and using preinstalled grub a painful thing to do? Is there a guide I can use? A few other questions, can I just clone a git repository and compile the code using the makefile to use on OpenBSD as I do in Linux? Also, does OpenBSD work like by using an init system like systemd/busybox on linux? Does OpenBSD also use X11 system? Where does the OpenBSD kernel reside? I looked at the github source and could not find a /boot folder as in linux. EDIT : Thank you so much for your input guys!! ---------------------------------------------------------------------- 86me · 2021-04-06 05:33 [https://www.openbsd.org/faq/faq4.html#Install](https://www.openbsd.or g/faq/faq4.html#Install) [https://forums.freebsd.org/threads/dual-booting-linux-freebsd-how-to- restore-grub-if-bootmgr-wipes-it- out.5113/](https://forums.freebsd.org/threads/dual-booting-linux- freebsd-how-to-restore-grub-if-bootmgr-wipes-it-out.5113/) RTFM Good luck! ---------------------------------------------------------------------- jeuk_ · 2021-04-06 10:51 last time i tried, the manual said something like "dualbooting with linux is hard and not within the scope of the openbsd project. you are on your own" i actually have yet to successfully install openbsd in any form, so that's my 2 cents ---------------------------------------------------------------------- northrupthebandgeek · 2021-04-06 12:27 > Is dual booting openbsd with linux (in my case Arch Linux) and using preinstalled grub a painful thing to do? I haven't tried it, but in principle it shouldn't be any worse than e.g. a Linux/Windows dual boot - i.e. it's just a matter of installing both operating systems, then configuring an OpenBSD boot option in GRUB that chainloads the bootsector in OpenBSD's partition. > Is there a guide I can use? Here's one: https://srobb.net/openbsdmultiboot.html > can I just clone a git repository and compile the code using the makefile to use on OpenBSD as I do in Linux? Usually, yeah. Keep in mind, though, that BSD `make` is different from GNU `make`; if the Makefile expects GNU `make` (which is usually the case these days), you can invoke it with `gmake` instead. > Also, does OpenBSD work like by using an init system like systemd/busybox on linux? Yep. The BSDs (OpenBSD included) use `rc` as their init system. The [relevant manpage](https://man.openbsd.org/rc.8) should help you get your bearings. > Does OpenBSD also use X11 system? Yep. > Where does the OpenBSD kernel reside? Once it's installed, it'll live in a file called `bsd` in your root directory. There's also a separate copy of the kernel called `bsd.rd`, which is basically the same kernel the installer uses, and is intended for things like system upgrades. ---------------------------------------------------------------------- crocflamingo · 2021-04-06 14:06 > A few other questions, can I just clone a git repository and compile the code using the makefile to use on OpenBSD as I do in Linux? quite often you can, but every once in awhile you will have to edit the makefile. Like with st and dwm you have to comment and uncomment a couple lines in the Makefile. > Also, does OpenBSD work like by using an init system like systemd/busybox on linux? Openbsd uses their own init system. > Does OpenBSD also use X11 system? Yes they do, they actually use their own security enhanced fork of X11(but all your typical programs and window managers should work just fine) ---------------------------------------------------------------------- Nykal_ · 2021-04-06 21:00 >i actually have yet to successfully install openbsd in any form Why? Driver issues? ---------------------------------------------------------------------- artequilibrium · 2021-04-07 01:09 Been awhile since I had openbsd running on a sparc pizza box as my firewall. Feels like the real Unix philosophy. ---------------------------------------------------------------------- jurimasa · 2021-04-09 04:35 Install BSD, then install Linux, hopefully on different physical hard disks. Let grub from linux detect the BSD boot sector on your second HD. It works, I've done it. ---------------------------------------------------------------------- Mgladiethor · 2021-04-09 17:03 Not Worth it try on vm ---------------------------------------------------------------------- Bceverly · 2021-04-10 14:04 Here’s a blog post I wrote about multi booting OpenBSD and lots of other stuff: https://functionallyparanoid.com/2017/06/30/boot-all- the-things/