NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46149: Multiboot man page does not mention how to boot with Grub2 ( patch included )

>Number:         46149
>Category:       kern
>Synopsis:       Multiboot man page does not mention how to boot with Grub2 ( 
>patch included )
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 06 20:35:02 +0000 2012
>Originator:     Emmanuel Kasper
>Release:        5.1.2
My Org
NetBSD 5.1.2 NetBSD 5.1.2 (KVM) #1: Sat Feb 11 15:05:52 CET 
2012  manu@leonard:/home/manu/Projects/netbsd/src/sys/arch/i386/compile/obj/KVM 

NetBSD multiboot man page does not mention how to use the GRUB2 bootloader, 
which the most popular multiboot boot loader by now. Only GRUB legacy is 
This issue has been discussed in the following thread:
man multiboot
Index: multiboot.8
RCS file: /cvsroot/src/share/man/man8/man8.i386/multiboot.8,v
retrieving revision 1.3
diff -u -r1.3 multiboot.8
--- multiboot.8 30 Apr 2008 13:10:57 -0000      1.3
+++ multiboot.8 6 Mar 2012 20:12:14 -0000
@@ -45,9 +45,7 @@
 .Cd options MULTIBOOT
 (the default in the
 Unlike when using the native boot loader, the
@@ -95,14 +93,29 @@
 .Sq root=wd0e .
 .Ss Booting with GRUB Legacy
-GRUB Legacy is the most popular bootloader that supports Multiboot.
 You can boot a
-kernel (assuming it is compiled with Multiboot support) with a line
+kernel with a line
 similar to the following one:
 .Bd -literal
 kernel (fd0)/netbsd.gz -c console=pc root=wd0e
+.Ss Booting with GRUB 2
+You can boot a
+kernel with the 
+following commands from the GRUB 2 prompt:
+.Bd -literal
+insmod ufs2
+set root=(hd0,msdos1)
+multiboot /netbsd
+Note that the kernel assumes the behavior of GRUB Legacy and drops the
+first argument. In order to pass extra arguments you should write:
+.Bd -literal
+multiboot /netbsd /netbsd console=pc root=wd0e
 .Xr options 4

Home | Main Index | Thread Index | Old Index