Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 07-28-2007, 07:28 PM   #1
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Anyone booted OpenBSD natively from Grub?

I mean not as a chainloader. Thanks.
Old 07-30-2007, 09:36 AM   #2
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
What's your (presumably sensible) objection to chainloading?

Do you bother to Google, esp. Linux Google, for the answer? I found 3 good links in the 1st 3 results.

Old 08-03-2007, 08:54 PM   #3
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Do you mean like:

root (hdx,x)
kernel /boot/loader ?
Old 08-06-2007, 06:00 AM   #4
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 54
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.

Old 08-28-2007, 02:09 AM   #5
LQ Addict
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,291

Rep: Reputation: Disabled
from the grub manual

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

The booting instruction is exactly the same as for NetBSD (see NetBSD).

2) so it looks like chainloader is the best afterall?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DualBooting with Mepis and GRUB ; Error message of 'Kernel must be booted' blooperspree Linux - Kernel 1 10-31-2006 03:49 AM
Can't get server booted with raid, get "grub" error Sc0rian Linux - Software 9 02-09-2005 05:53 PM
Getting GRUB to Load Last Booted bjmurph Linux - Software 2 10-25-2004 09:49 PM
running Descent 3 natively ptesone Linux - Software 1 04-14-2004 07:53 PM
grub.conf ?: RedHat 7.3 & OpenBSD 3.0 frozenicicle Linux - Software 10 07-29-2002 09:05 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration