LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 07-28-2007, 08:28 PM   #1
Randux
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, 10:36 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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.

h..p://www.google.com/search?q=grub+bsd
h..p://lists.freebsd.org/pipermail/freebsd-hackers/2004-May/006944.html
h..p://www.cyberciti.biz/tips/configure-ubuntu-grub-to-load-freebsd.html
h..p://www.gnu.org/software/grub/manual/html_node/FreeBSD.html
 
Old 08-03-2007, 09:54 PM   #3
jay73
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, 07:00 AM   #4
Randux
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.

Thanks,
Rand
 
Old 08-28-2007, 03:09 AM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
from the grub manual

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?
 
  


Reply


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 04:49 AM
Can't get server booted with raid, get "grub" error Sc0rian Linux - Software 9 02-09-2005 06:53 PM
Getting GRUB to Load Last Booted bjmurph Linux - Software 2 10-25-2004 10:49 PM
running Descent 3 natively ptesone Linux - Software 1 04-14-2004 08:53 PM
grub.conf ?: RedHat 7.3 & OpenBSD 3.0 frozenicicle Linux - Software 10 07-29-2002 10:05 PM


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

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