diff options
author | kmoore <kmoore@FreeBSD.org> | 2015-06-09 21:32:49 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2015-06-09 21:32:49 +0800 |
commit | 05dbc82886f0e0ff12f1d8a36bb637565c51d0ac (patch) | |
tree | fce0e277aa7e36aad6ae6e2759a5c45deb99da9b /sysutils/grub2-pcbsd | |
parent | 420591384c7af71747dc2ffff0ac8fc32c7a912b (diff) | |
download | freebsd-ports-gnome-05dbc82886f0e0ff12f1d8a36bb637565c51d0ac.tar.gz freebsd-ports-gnome-05dbc82886f0e0ff12f1d8a36bb637565c51d0ac.tar.zst freebsd-ports-gnome-05dbc82886f0e0ff12f1d8a36bb637565c51d0ac.zip |
- Update pkg-message with additional usage information
Diffstat (limited to 'sysutils/grub2-pcbsd')
-rw-r--r-- | sysutils/grub2-pcbsd/pkg-message | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/sysutils/grub2-pcbsd/pkg-message b/sysutils/grub2-pcbsd/pkg-message index 0add3bac5340..0241439b9748 100644 --- a/sysutils/grub2-pcbsd/pkg-message +++ b/sysutils/grub2-pcbsd/pkg-message @@ -1,16 +1,4 @@ -############################################################# -To install GRUB on the master boot record of your hard drive -use 'grub-install <drive-to-install>' command. - -A typical menu entry in /boot/grub/grub.cfg for FreeBSD: -menuentry "FreeBSD" { - set root="(hd0,msdos1,bsd1)" - kfreebsd /boot/loader -} -Or use grub-mkconfig to create the config file. -############################################################# - -This version of grub includes support for PC-BSD style boot +This version of GRUB includes support for PC-BSD style boot environments. For it to properly detect / populate your BE menus you must have your root zpool setup in the following manner: @@ -18,3 +6,14 @@ manner: <tank>/ROOT/<be> Where <tank> is your zpool, and <be> is your '/' mountpoint. +The "beadm" utility must be installed and working before using +GRUB utilities. + +Additionally, when using GPT, you must have a created a +"bios-boot" partition at install time. This partition is used +for GRUB's modules for GELI/ZFS and related bits. + +To install GRUB as your boot-loader, use the following command: + +# grub-install /dev/ada0 (replace ada0 with your disk) +# grub-mkconfig -o /boot/grub/grub.cfg |