2011-10-15

Installation of Grub2 in Gentoo

I'm bothered to use LILO and want something new.
I've decided to install GRUB2.

1. Unmask package:
echo ">=sys-boot/grub-1.99-r2" >> /etc/portage/package.unmask

2. Build
emerge grub

3. Setup
 grub2-mkconfig -o /boot/grub2/grub.cfg

4. Checking if configuration looks good.
grub2-install --grub-setup=/bin/true /dev/sda

5. Installing
grub2-install /dev/sda

6. Rebooting
reboot.

No comments:

Post a Comment