opt/grub2
2023-12-27 18:30:01 -06:00
..
.footprint grub2: updated to version 2.12 2023-12-27 18:30:01 -06:00
.signature grub2: updated to version 2.12 2023-12-27 18:30:01 -06:00
csum_seed.diff grub2: added checksum seed patch for updated e2fsprogs default behavior 2023-07-06 19:47:17 -05:00
extra_deps.lst grub2: updated to version 2.12 2023-12-27 18:30:01 -06:00
grub.cfg.sample grub2: added sample configuration file, README, and GNU unifont 2012-12-10 10:30:36 -06:00
grub2-tweaks.diff grub2: updated to version 2.12 2023-12-27 18:30:01 -06:00
Pkgfile grub2: updated to version 2.12 2023-12-27 18:30:01 -06:00
README grub2: Added grub-mkconfig notes to README 2014-05-12 07:44:19 -05:00

INSTALLATION

	Once the grub2 port is installed, the boot loader itself can be installed
	like so:

	# grub-install /dev/<device>

	For example, to install grub2 into the master boot record of the first
	SCSI or SATA drive:

	# grub-install /dev/sda

	To install to the second partition of the first SCSI or SATA drive
	instead of the MBR:

	# grub-install /dev/sda2

CONFIGURATION

	A configuration menu file is required for grub2 to do more than display
	a command line. It can be created automatically using the 'grub-mkconfig'
	command like so:

	# grub-mkconfig > /boot/grub/grub.cfg

	NOTE: For grub-mkconfig to work properly the following conditions should
	      be met:

	      1) The kernel is expected to be named one of these ways:
	         /boot/vmlinuz-*
	         /vmlinuz-*
	         /boot/kernel-*

	         If the kernel is located somewhere else grub-mkconfig will NOT
	         find it! For example, '/boot/vmlinuz-3.10.28' is good and
	         '/boot/linux-3.10.28' would not be found.

	      2) When dual-booting with Linux installations on other partitions
	         or drives, grub-mkconfig will not find them without the extra
	         program 'os-prober' installed.

	The configuration file can also be created manually. A sample grub.cfg
	is included in the port.