Changeset 821f799
- Timestamp:
- 10/16/2003 01:02:39 AM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 234c74e
- Parents:
- 1fb160c
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r1fb160c r821f799 97 97 </listitem> 98 98 99 <listitem><para>October 13th, 2003 [greg]: Chapter 8 - Making the LFS system 99 <listitem><para>October 15th, 2003 [greg]: Chapter 9: Reworked final strip 100 command. Relocated paragraphs about directory removal from Chapter 101 6.</para></listitem> 102 103 <listitem><para>October 14th, 2003 [greg]: Chapter 8 - Making the LFS system 100 104 bootable: Expand Grub details and add a warning.</para></listitem> 101 105 -
chapter06/revisedchroot.xml
r1fb160c r821f799 11 11 /bin/bash --login</userinput></screen> 12 12 13 <para>Additionally, now that all software has been installed, there is no longer 14 a need for the <filename class="directory">/tools</filename> directory. You may 15 delete it. As this will also remove the temporary copies of Tcl, Expect and 16 DejaGnu, which were used for running the toolchain tests, you will need to 17 recompile and re-install them on your LFS system if you want to use these 18 programs later.</para> 19 20 <para>Also you may now want to move the contents of 21 <filename class="directory">/sources</filename> to 22 <filename class="directory">/usr/src/packages</filename> or something similar 23 (or simply delete them if you've burned them on a CD) and delete the 24 directory.</para> 13 <para>The reason being there is no longer any need to use programs from the 14 <filename class="directory">/tools</filename> directory. However, we don't 15 want to remove the <filename class="directory">/tools</filename> directory 16 just yet. There is still some use for it towards the end of the book.</para> 25 17 26 18 </sect1> -
chapter08/grub.xml
r1fb160c r821f799 87 87 88 88 # The first entry is for LFS. 89 title LFS 5.089 title LFS &milestone; 90 90 root (hd0,3) 91 91 kernel /boot/lfskernel root=/dev/hda4 ro -
chapter09/reboot.xml
r1fb160c r821f799 12 12 <para>Exit the chroot environment:</para> 13 13 <screen><userinput>logout</userinput></screen> 14 15 <para>Additionally, now that all software has been installed, there is no longer 16 a need for the <filename class="directory">/tools</filename> directory. You may 17 delete it. As this will also remove the temporary copies of Tcl, Expect and 18 DejaGnu, which were used for running the toolchain tests, you will need to 19 recompile and re-install them on your LFS system if you want to use these 20 programs later.</para> 21 22 <para>Also you may now want to move the contents of 23 <filename class="directory">/sources</filename> to 24 <filename class="directory">/usr/src/packages</filename> or something similar 25 (or simply delete them if you've burned them on a CD) and delete the 26 directory.</para> 14 27 15 28 <para>Before we reboot, let's unmount the LFS partition itself:</para> … … 28 41 <screen><userinput>/sbin/shutdown -r now</userinput></screen> 29 42 30 <para>A t the Grub menu make sure that you tell it to boot31 <emphasis>lfs</emphasis> and not the default entry which will boot your 32 host system again.</para>43 <para>Assuming the Grub boot loader was set up as outlined earlier, the 44 default menu should be set to boot <emphasis>LFS &milestone;</emphasis> 45 automatically.</para> 33 46 34 47 <para>After you have rebooted, your LFS system is ready for use and you -
chapter09/theend.xml
r1fb160c r821f799 31 31 on the safe side.</para> 32 32 33 <screen><userinput>find $LFS/{,usr/,usr/local/}{bin,sbin,lib} -type f \ 34 -exec /usr/bin/strip --strip-debug '{}' ';'</userinput></screen> 33 <para>If you are planning to go ahead and perform the strip, special care is 34 needed to ensure you're not running any binaries that are about to be stripped 35 -- including the active bash shell. Therefore you'll need to exit the chroot 36 environemnt and reenter it using a modified chroot command:</para> 35 37 36 <para>It may be a good idea to create the $LFS/etc/lfs file. By 38 <screen><userinput>logout 39 chroot $LFS /tools/bin/env -i \ 40 HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ 41 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 42 /tools/bin/bash --login</userinput></screen> 43 44 <para>Now run the following command:</para> 45 46 <screen><userinput>/tools/bin/find /{,usr/,usr/local/}{bin,sbin,lib} -type f \ 47 -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen> 48 49 <para>Quite a number of files will be reported as having their file format not 50 recognized. Most of these are scripts instead of binaries. These warnings can 51 be safely ignored.</para> 52 53 <para>It's a good idea to create an /etc/lfs file. By 37 54 having this file it is very easy for you (and for us if you are going to ask 38 55 for help with something at some point) to find out which LFS version 39 you have installed on your system. Create the $LFS/etc/lfs file by56 you have installed on your system. Create the /etc/lfs file by 40 57 running the following command:</para> 41 58 42 <screen><userinput>echo &version; > $LFS/etc/lfs</userinput></screen>59 <screen><userinput>echo &version; > /etc/lfs</userinput></screen> 43 60 44 61 </sect1> -
index.xml
r1fb160c r821f799 4 4 5 5 6 <!ENTITY version "20031015"> 7 <!ENTITY releasedate "October 15th, 2003"> 6 <!ENTITY version "20031016"> 7 <!ENTITY releasedate "October 16th, 2003"> 8 <!ENTITY milestone "5.0"> 8 9 <!ENTITY nbsp " "> 9 10 … … 15 16 <!ENTITY hints-index "http://www.linuxfromscratch.org/hints/list.html"> 16 17 <!ENTITY blfs-root "http://www.linuxfromscratch.org/blfs/"> 17 <!ENTITY patches-root "http://www.linuxfromscratch.org/patches/lfs/ 5.0/">18 <!ENTITY patches-root "http://www.linuxfromscratch.org/patches/lfs/&milestone;/"> 18 19 <!ENTITY tldp-root "http://www.tldp.org/"> 19 20
Note:
See TracChangeset
for help on using the changeset viewer.