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 --- chapter06/bin86-inst.xml | 26 -------------------------- chapter06/bin86.xml | 12 ------------ chapter06/chapter06.xml | 3 +-- chapter06/grub-inst.xml | 36 ++++++++++++++++++++++++++++++++++++ chapter06/grub.xml | 12 ++++++++++++ chapter06/lilo-inst.xml | 28 ---------------------------- chapter06/lilo.xml | 12 ------------ 7 files changed, 49 insertions(+), 80 deletions(-) delete mode 100644 chapter06/bin86-inst.xml delete mode 100644 chapter06/bin86.xml create mode 100644 chapter06/grub-inst.xml create mode 100644 chapter06/grub.xml delete mode 100644 chapter06/lilo-inst.xml delete mode 100644 chapter06/lilo.xml (limited to 'chapter06') diff --git a/chapter06/bin86-inst.xml b/chapter06/bin86-inst.xml deleted file mode 100644 index ee2fb4c3a..000000000 --- a/chapter06/bin86-inst.xml +++ /dev/null @@ -1,26 +0,0 @@ -   - - -Installation of Bin86 - -This package is only needed if you decide to use Lilo on your LFS -system. If you're going to use something else like Grub you won't need -bin86. Check the documentation for your favorite boot loader to see if -you need the bin86 package (usually only ld86 and/or as86 from this -package are required). - -Keep in mind, though, that it's not just boot -loaders that use the bin86 package. There is always the chance that some -other package needs programs from this package, so keep that in mind if -you decide to skip this. - -Compile the package: - -make - -And install it: - -make PREFIX=/usr install - - - diff --git a/chapter06/bin86.xml b/chapter06/bin86.xml deleted file mode 100644 index 34b663707..000000000 --- a/chapter06/bin86.xml +++ /dev/null @@ -1,12 +0,0 @@ - -Installing Bin86-&bin86-version; - - -Estimated build time: &bin86-time; -Estimated required disk space: &bin86-compsize; - -&aa-bin86-shortdesc; -&aa-bin86-dep; -&c6-bin86-inst; - - diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index b4d9ad8a9..fc943e5f6 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -41,16 +41,15 @@ &c6-bash; &c6-file; &c6-libtool; -&c6-bin86; &c6-bzip2; &c6-ed; &c6-kbd; &c6-diffutils; &c6-e2fsprogs; &c6-grep; +&c6-grub; &c6-gzip; &c6-man; -&c6-lilo; &c6-make; &c6-modutils; &c6-patch; diff --git a/chapter06/grub-inst.xml b/chapter06/grub-inst.xml new file mode 100644 index 000000000..de889e0d9 --- /dev/null +++ b/chapter06/grub-inst.xml @@ -0,0 +1,36 @@ +   + + +Installation of Grub + +Grub needs a patch applied that fixes a compile problem with +GCC-3.3.1: + +patch -Np1 -i ../grub-&grub-patch-version;.patch + +Prepare Grub for compilation: + +./configure --prefix=/usr + +Compile the package: + +make + +And install it: + +make install +mkdir /boot/grub +cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub + +Replace i386-pc with whatever +directory is appropriate for your hardware. + +The i386-pc directory also +contains a number of *stage1_5 files, different ones +for different filesystems. Have a look at the ones available and copy the +appropriate ones to the /boot/grub +directory. Most people will copy the e2fs_stage1_5 +and/or reiserfs_stage1_5 files. + + + diff --git a/chapter06/grub.xml b/chapter06/grub.xml new file mode 100644 index 000000000..1eadcb226 --- /dev/null +++ b/chapter06/grub.xml @@ -0,0 +1,12 @@ + +Installing Grub-&grub-version; + + +Estimated build time: &grub-time; +Estimated required disk space: &grub-compsize; + +&aa-grub-shortdesc; +&aa-grub-dep; +&c6-grub-inst; + + diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml deleted file mode 100644 index 0dc483e5f..000000000 --- a/chapter06/lilo-inst.xml +++ /dev/null @@ -1,28 +0,0 @@ -   - - -Installation of Lilo - -We have chosen Lilo as a boot loader because we feel comfortable with it, but you -may wish to choose another. Fabio Fracassi has written a hint on -GRUB, which is available at . - -Compile Lilo: - -make - -And install it: - -make install - -At the end of the installation, a message will appear stating that -/sbin/lilo has to be executed. This is pointless because -the /etc/lilo.conf file isn't present yet. We will -complete the installation of lilo in Chapter 8. - -The standard LILO prompt, or menu, may be replaced by the -LFS logo or any logo you like. Martin Imobersteg has written a -hint about this, which is located at -. - - diff --git a/chapter06/lilo.xml b/chapter06/lilo.xml deleted file mode 100644 index fe4e951c6..000000000 --- a/chapter06/lilo.xml +++ /dev/null @@ -1,12 +0,0 @@ - -Installing Lilo-&lilo-version; - - -Estimated build time: &lilo-time; -Estimated required disk space: &lilo-compsize; - -&aa-lilo-shortdesc; -&aa-lilo-dep; -&c6-lilo-inst; - - -- cgit v1.2.3-54-g00ecf