2002-04-16 02:24:54 +02:00
|
|
|
===========================================================================
|
2006-12-17 20:21:42 +01:00
|
|
|
$NetBSD: MESSAGE,v 1.6 2006/12/17 19:21:42 jmmv Exp $
|
Import new package grub. Submitted by jgoerzen@complete.org in
pkg/15065. I updated it to 0.91 and removed patch-aa which
the submitter already sent to the grub people.
GRUB is the GRand Unified Bootloader. Briefly, bootloader is the first
software program that runs when a computer starts. It is responsible for
loading and transferring control to the operating system kernel software
(such as NetBSD orLinux). GRUB understands ffs, FAT{16,32}, ext2fs,
ReiserFS, minixfs, and VSTafs. It can directly boot NetBSD, FreeBSD,
OpenBSD and Linux without any other bootloader, loading a.out and ELF
kernels from the disk and passing along necessary arguments (in most cases).
It can also boot any operating system (the above, plus eg Windows, OS/2) by
chaining to that operating system's specific loader. Grub features a
runtime command line and loads its configuration at boot rather than
requiring rerunning of a separate utility. Other features are TFTP booting,
serial console support, large disk support, support for both DOS MBR label
and BSD disklabel simultaneously, booting from hard drive or floppy.
GRUB is available for the i386 architecture only.
2002-04-11 21:53:25 +02:00
|
|
|
|
2005-02-19 11:23:13 +01:00
|
|
|
If your root filesystem is of a type not supported directly by grub
|
|
|
|
(e.g., lfs), you may have difficulties. See the info docs for more
|
|
|
|
details.
|
2002-04-16 02:24:54 +02:00
|
|
|
|
|
|
|
GRUB is not actually installed on your disk until you run a command
|
|
|
|
such as
|
|
|
|
grub-install /dev/wd0d
|
Import new package grub. Submitted by jgoerzen@complete.org in
pkg/15065. I updated it to 0.91 and removed patch-aa which
the submitter already sent to the grub people.
GRUB is the GRand Unified Bootloader. Briefly, bootloader is the first
software program that runs when a computer starts. It is responsible for
loading and transferring control to the operating system kernel software
(such as NetBSD orLinux). GRUB understands ffs, FAT{16,32}, ext2fs,
ReiserFS, minixfs, and VSTafs. It can directly boot NetBSD, FreeBSD,
OpenBSD and Linux without any other bootloader, loading a.out and ELF
kernels from the disk and passing along necessary arguments (in most cases).
It can also boot any operating system (the above, plus eg Windows, OS/2) by
chaining to that operating system's specific loader. Grub features a
runtime command line and loads its configuration at boot rather than
requiring rerunning of a separate utility. Other features are TFTP booting,
serial console support, large disk support, support for both DOS MBR label
and BSD disklabel simultaneously, booting from hard drive or floppy.
GRUB is available for the i386 architecture only.
2002-04-11 21:53:25 +02:00
|
|
|
or
|
2002-04-16 02:24:54 +02:00
|
|
|
grub-install '(hd0)'
|
|
|
|
|
2004-12-29 11:08:04 +01:00
|
|
|
To boot NetBSD, put something similar to these lines into /grub/menu.lst:
|
|
|
|
|
|
|
|
title NetBSD
|
2004-12-29 15:38:18 +01:00
|
|
|
root (hd0,0,a) # NetBSD on 1st MBR partition of 1st IDE disk
|
2004-12-29 11:08:04 +01:00
|
|
|
chainloader +1
|
|
|
|
|
2006-12-17 20:21:42 +01:00
|
|
|
Alternatively, for NetBSD 4.x kernels and above, you can use the following
|
|
|
|
provided that your kernel was built with "options MULTIBOOT" (the default):
|
|
|
|
|
|
|
|
title NetBSD
|
|
|
|
root (hd0,0,a) # NetBSD on 1st MBR partition of 1st IDE disk
|
|
|
|
kernel /netbsd
|
|
|
|
|
2002-04-16 02:24:54 +02:00
|
|
|
===========================================================================
|