Added reboot in chap9

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1070 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-08-27 22:17:43 +00:00
parent de5bb5967d
commit 5ba705410b
3 changed files with 59 additions and 3 deletions

View File

@ -2,6 +2,7 @@
<title>The End</title>
&c9-theend;
&c9-reboot;
</chapter>

50
chapter09/reboot.xml Normal file
View File

@ -0,0 +1,50 @@
<sect1 id="ch08-reboot">
<title>Rebooting the system</title>
<para>Now that all software has been installed, bootscripts have been created,
it's time to reboot the computer. Before we reboot let's exit the
chroot'ed environment first and unmount the LFS partition by running:</para>
<para><screen><userinput>umount $LFS/proc &amp;&amp;</userinput>
<userinput>umount $LFS</userinput></screen></para>
<para>And you can reboot your system by running something like:</para>
<para><screen><userinput>/sbin/shutdown -r now</userinput></screen></para>
<para>At the LILO: prompt make sure that you tell it to boot
<emphasis>lfs</emphasis> and not the default entry which will boot your
host system again.</para>
<para>After you have rebooted, your LFS system is ready for use and you
can start adding your own software.</para>
<para>One final thing you may want to do is run lilo, now that you are
booted into LFS. This way you will put the LFS version of LILO in the MBR
rather than the one that's there right now from your host system.
Depending on how old your host distribution is, the LFS version may have
more advanced features you need/could use.</para>
<para>Either way, run the following to make the lilo version installed
on LFS active:</para>
<para><screen><userinput>/sbin/lilo</userinput></screen></para>
<para>If you are wondering: "Well, where to go now?" you'll be glad to
hear that someone has written an LFS hint on the subject at <ulink
url="&hint-root;afterlfs.txt">&hint-root;afterlfs.txt</ulink>.
On a same note, if you are not only newbie to LFS, but also
newbie to Linux in general, you may find the newbie hint at <ulink
url="&hint-root;newbie.txt">&hint-root;newbie.txt</ulink>
very interesting.</para>
<para>Don't forget there are several LFS mailinglists you can subscribe
to if you are in need of help, advice, etc. See
<ulink url="ch01-maillists.html">Chapter 1 - Mailinglists</ulink> for
more information.</para>
<para>Again, we thank you for using the LFS Book and hope you found this
book useful and worth your time.</para>
</sect1>

View File

@ -29,16 +29,21 @@ the strip man page for other strip options you can use. The general idea
is to not run strip on libraries (other than --strip-debug) just to be
on the safe side.</para>
<para><screen><userinput>find / -type f -exec strip --strip-debug '{}' ';'</userinput></screen></para>
<para><screen><userinput>find $LFS/{,usr,usr/local}/{bin,sbin,lib} -type
f \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;-exec /usr/bin/strip --strip-debug '{}'
';'</userinput></screen></para>
<para>If you plan to ever upgrade to a newer LFS version in the future it
will be a good idea to create the /etc/lfs-&version; file. By having
will be a good idea to create the $LFS/etc/lfs-&version; file. By having
this file it is very easy for you (and for us if you are going to ask
for help with something at some point) to find out which LFS version
you have installed on your system. This can just be a null-byte file by
running:</para>
<para><screen><userinput>touch /etc/lfs-&version;</userinput></screen></para>
<para><screen><userinput>touch $LFS/etc/lfs-&version;</userinput></screen></para>
<para>Let's reboot into LFS now...</para>
<para>One final thing you may want to do is run lilo now that you are booted
into LFS. This way you will put the LFS version of LILO in the MBR