*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
Hi guys,
Thanks for the links/examples, but all that information is for FreeBSD which I am already booting directly with Grub. OpenBSD doesn't work the same way. That information doesn't apply.
NetBSD
GRUB can load NetBSD a.out and ELF directly, follow these steps:
Set GRUB's root device with root (see root).
Load the kernel with kernel (see kernel). You should append the ugly option --type=netbsd, if you want to load an ELF kernel, like this:
grub> kernel --type=netbsd /netbsd-elf
Run boot (see boot).
For now, however, GRUB doesn't allow you to pass kernel parameters, so it may be better to chain-load it instead. For more information, please see Chain-loading.
Node: OpenBSD, Next: DOS/Windows, Previous: NetBSD, Up: OS-specific notes
OpenBSD
The booting instruction is exactly the same as for NetBSD (see NetBSD).
2) so it looks like chainloader is the best afterall?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.