aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-09-11 21:35:35 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-09-11 21:35:35 +0000
commit955533beaf30ff65be18b3e5c1e3909928dd169a (patch)
treeed52a9832d7dcf2d6cbdb556054b8191dd753e4c /chapter08
parentc94dd38cc7fe0ec74ad95516eb6a8c3efe9d0fc6 (diff)
Removed LILO and Bin86. Replaced them with Grub
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2774 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/chapter08.xml2
-rw-r--r--chapter08/grub.xml8
-rw-r--r--chapter08/lilo.xml48
3 files changed, 9 insertions, 49 deletions
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;
</chapter>
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 @@
+<sect1 id="ch08-grub">
+<title>Making the LFS system bootable</title>
+<?dbhtml filename="grub.html" dir="chapter08"?>
+
+<para>(To be filled in)</para>
+
+</sect1>
+
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 @@
-<sect1 id="ch08-lilo">
-<title>Making the LFS system bootable</title>
-<?dbhtml filename="lilo.html" dir="chapter08"?>
-
-<para>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).</para>
-
-<para>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).</para>
-
-<para>First we'll exit chroot and copy the lfskernel file to the host
-system:</para>
-
-<para><screen><userinput>logout</userinput>
-<userinput>cp $LFS/boot/lfskernel /boot</userinput></screen></para>
-
-<para>The next step is adding an entry to /etc/lilo.conf so that we can
-choose LFS when booting the computer:</para>
-
-<para><screen><userinput>cat &gt;&gt; /etc/lilo.conf &lt;&lt; "EOF"</userinput>
-image=/boot/lfskernel
- label=lfs
- root=&lt;partition&gt;
- read-only
-<userinput>EOF</userinput></screen></para>
-
-<para>&lt;partition&gt; must be replaced with the LFS
-partition's designation.</para>
-
-<para>Also note that if you are using reiserfs for your root partition,
-the line <userinput>read-only</userinput> should be changed to
-<userinput>read-write</userinput>.</para>
-
-<para>Now, update the boot loader by running:</para>
-
-<para><screen><userinput>/sbin/lilo -v</userinput></screen></para>
-
-<para>The last step is synchronizing the host system's lilo
-configuration files with the LFS system's:</para>
-
-<para><screen><userinput>cp /etc/lilo.conf $LFS/etc
-cp $(grep "image.*=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot</userinput></screen></para>
-
-</sect1>
-