Showing posts with label GRUB. Show all posts
Showing posts with label GRUB. Show all posts

March 5, 2013

The Wonderful World of Arch (Part 3)

This is the continuation of my previous posts found here and here.

We left off having created a standard user, and now it's time to install the bootloader. I have decided to use GRUB.
First, install GRUB for BIOS systems:

pacman -S grub-bios

***NOTE*** The following process is for BIOS systems only. If your system uses UEFI, please refer to the documentation found in the Arch Beginners' Guide.

Next, open a virtual console with Alt+F2 and type root at the archiso login: prompt.
Now, create a BIOS boot partition as follows:

cgdisk /dev/sda

Select the 1007.0KiB empty partition and choose new (n).
Hit Enter twice, and when asked for the filesystem type, enter EF02. Do not name the partition.
Hit w to write the filesystem, and quit cgdisk.

Switch back to the original console with Alt+F1 and run grub-install like so:

grub-install --target=i386-pc --recheck /dev/sda
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo


Now to configure GRUB, there's not actually much for you to do here, except run a command.

grub-mkconfig -o /boot/grub/grub.cfg

Now onto rebooting! type exit to exit the chroot environment, and unmount the partitions:

umount /mnt/{home,}

...and then reboot:

reboot

...sacrifice your best goat and chicken to the Arch Gods (and remove your installation media)...
...And hopefully it'll boot back up! Mine did!
Next post is about some post-installation stuff. Coming soon! Here!