From 955533beaf30ff65be18b3e5c1e3909928dd169a Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 11 Sep 2003 21:35:35 +0000 Subject: Removed LILO and Bin86. Replaced them with Grub git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2774 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/chapter08.xml | 2 +- chapter08/grub.xml | 8 ++++++++ chapter08/lilo.xml | 48 ------------------------------------------------ 3 files changed, 9 insertions(+), 49 deletions(-) create mode 100644 chapter08/grub.xml delete mode 100644 chapter08/lilo.xml (limited to 'chapter08') diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 2b6e70ab7..90ef69e72 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -5,6 +5,6 @@ &c8-introduction; &c8-fstab; &c8-kernel; -&c8-lilo; +&c8-grub; diff --git a/chapter08/grub.xml b/chapter08/grub.xml new file mode 100644 index 000000000..8585aad12 --- /dev/null +++ b/chapter08/grub.xml @@ -0,0 +1,8 @@ + +Making the LFS system bootable + + +(To be filled in) + + + diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml deleted file mode 100644 index 4c7cb1fa0..000000000 --- a/chapter08/lilo.xml +++ /dev/null @@ -1,48 +0,0 @@ - -Making the LFS system bootable - - -In order to be able to boot the LFS system, we need to update our -bootloader. We're assuming that your host system is using Lilo (since -that's the most commonly used boot loader at the moment). - -We will not be running the lilo program inside chroot. Running lilo -inside chroot can have fatal side-effects which render your MBR useless -and you'd need a boot disk to be able to start any Linux system (either -the host system or the LFS system). - -First we'll exit chroot and copy the lfskernel file to the host -system: - -logout -cp $LFS/boot/lfskernel /boot - -The next step is adding an entry to /etc/lilo.conf so that we can -choose LFS when booting the computer: - -cat >> /etc/lilo.conf << "EOF" -image=/boot/lfskernel - label=lfs - root=<partition> - read-only -EOF - -<partition> must be replaced with the LFS -partition's designation. - -Also note that if you are using reiserfs for your root partition, -the line read-only should be changed to -read-write. - -Now, update the boot loader by running: - -/sbin/lilo -v - -The last step is synchronizing the host system's lilo -configuration files with the LFS system's: - -cp /etc/lilo.conf $LFS/etc -cp $(grep "image.*=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot - - - -- cgit v1.2.3-54-g00ecf