From f48e5aa6c824267aa6a61be5a5e212d0cab2bd27 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 11 Jan 2012 23:00:09 +0000 Subject: Add additional information about setting up a separate boot partition. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9708 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/grub.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'chapter08/grub.xml') diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 869a2f0ee..8221355fd 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -135,18 +135,25 @@ menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" { } EOF + From GRUB's perspective, the + kernel files are relative to the partition used. If you + used a separate /boot partition, remove /boot from the above + linux line. You will also need to change the + set root line to point to the boot partition. + + GRUB is an extremely powerful program and it provides a tremendous number of options for booting from a wide variety of devices, operating systems, and partition types. There are also many options for customization such as graphical splash screens, playing sounds, mouse input, etc. The details of these options are beyond the scope of this introduction. - There is a command, grub-mkconfig that + There is a command, grub-mkconfig, that can write a configuration file automatically. It uses a set of scripts in /etc/grub.d/ and will destroy any customizations that you make. These scripts are designed primarily for non-source distributions and are not recommended for LFS. If you install a commercial Linux distribution, there is a good chance - that this program will be run. Be sure to back up your grub.cfg file. + that this program will be run. Be sure to back up your grub.cfg file. -- cgit v1.2.3-54-g00ecf