blob: c9eb1806603ef9d845d19e12c7802ac78a21a9ce (
plain)
1 INSTALLATION
2
3 Once the grub2 port is installed, the boot loader itself can be installed
4 like so:
5
6 # grub-install /dev/<device>
7
8 For example, to install grub2 into the master boot record of the first
9 SCSI or SATA drive:
10
11 # grub-install /dev/sda
12
13 To install to the second partition of the first SCSI or SATA drive
14 instead of the MBR:
15
16 # grub-install /dev/sda2
17
18 CONFIGURATION
19
20 A configuration menu file is required for grub2 to do more than display
21 a command line. It can be created automatically using the 'grub-mkconfig'
22 command like so:
23
24 # grub-mkconfig > /boot/grub/grub.cfg
25
26 It can also be created manually. A sample grub.cfg file is included in the
27 port.
|