LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07:28 PM   #1
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

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


I mean not as a chainloader. Thanks.
 
Old 07-30-2007, 09: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: 234Reputation: 234Reputation: 234
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, 08:54 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Do you mean like:

root (hdx,x)
kernel /boot/loader ?
 
Old 08-06-2007, 06: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: 55
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, 02:09 AM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

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



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

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:03 AM.

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
Open Source Consulting | Domain Registration