diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-27 22:17:43 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-27 22:17:43 +0000 |
commit | 5ba705410bea94bf86a2b2ccbf0ec1764ba32bcc (patch) | |
tree | dc6a392d4821f23343237e5cc6307d03345f0672 /chapter09 | |
parent | de5bb5967d433a280fbb56315ec679b3110f399f (diff) |
Added reboot in chap9
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1070 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter09')
-rw-r--r-- | chapter09/chapter09.xml | 1 | ||||
-rw-r--r-- | chapter09/reboot.xml | 50 | ||||
-rw-r--r-- | chapter09/theend.xml | 11 |
3 files changed, 59 insertions, 3 deletions
diff --git a/chapter09/chapter09.xml b/chapter09/chapter09.xml index dd2048bc8..ac84eec1d 100644 --- a/chapter09/chapter09.xml +++ b/chapter09/chapter09.xml @@ -2,6 +2,7 @@ <title>The End</title> &c9-theend; +&c9-reboot; </chapter> diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml new file mode 100644 index 000000000..39669eeb3 --- /dev/null +++ b/chapter09/reboot.xml @@ -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 &&</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> + diff --git a/chapter09/theend.xml b/chapter09/theend.xml index 586cb34a9..db4b5c14c 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -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> -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 |