[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: openbsd-2.9/3.1 doesn't boot directly under grub-0.91
From: |
raf |
Subject: |
Re: openbsd-2.9/3.1 doesn't boot directly under grub-0.91 |
Date: |
Fri, 13 Sep 2002 23:13:47 +1000 |
address@hidden wrote:
> not true;
yes true. grub can boot openbsd indirectly, but not directly
like the doco claims it can. the grub doco gives instructions
for booting netbsd and openbsd directly but those instructions
don't work (and haven't for 5 years, apparently). it would be
nice for the doco to be updated to contain valid instructions
such as the following.
> This works fine;
> # For booting OpenBSD
> title Open->BSD
> root (hd0,0)
> makeactive
> chainloader +1
>
> #For booting NetBSD
> title Net->BSD
> root (hd0,1)
> makeactive
> chainloader +1
>
> #For FreeBSD
> title Free->BSD
> root (hd0,2,a)
> kernel /boot/loader
>
> best Regards,
> address@hidden
below is a patch.
cheers,
raf
diff -durp grub.texi.orig/grub.texi grub.texi/grub.texi
--- grub.texi.orig/grub.texi Mon Apr 29 10:34:43 2002
+++ grub.texi/grub.texi Fri Sep 13 23:08:35 2002
@@ -861,35 +861,31 @@ grub> @kbd{boot}
@node NetBSD
@subsection NetBSD
-GRUB can load NetBSD a.out and ELF directly, follow these steps:
-
address@hidden
address@hidden
-Set GRUB's root device with @command{root} (@pxref{root}).
-
address@hidden
-Load the kernel with @command{kernel} (@pxref{kernel}). You should
-append the ugly option @option{--type=netbsd}, if you want to load an
-ELF kernel, like this:
+GRUB cannot boot NetBSD directly, so you must use chain-loading
+(@pxref{Chain-loading}):
@example
-grub> @kbd{kernel --type=netbsd /netbsd-elf}
address@hidden
+grub> @kbd{root (hd0,1)}
+grub> @kbd{chainloader +1}
+grub> @kbd{boot}
address@hidden group
@end example
address@hidden
-Run @command{boot} (@pxref{boot}).
address@hidden enumerate
-
-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 @ref{Chain-loading}.
-
@node OpenBSD
@subsection OpenBSD
-The booting instruction is exactly the same as for NetBSD
-(@pxref{NetBSD}).
+GRUB cannot boot OpenBSD directly, so you must use chain-loading
+(@pxref{Chain-loading}):
+
address@hidden
address@hidden
+grub> @kbd{root (hd0,1)}
+grub> @kbd{chainloader +1}
+grub> @kbd{boot}
address@hidden group
address@hidden example
@node DOS/Windows