source: chapter09/reboot.xml@ e845fc2

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
Last change on this file since e845fc2 was 0c7e1dcb, checked in by Gerard Beekmans <gerard@…>, 21 years ago

Replaced 'static' instance with 'stage1'

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2614 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<sect1 id="ch09-reboot">
2<title>Rebooting the system</title>
3<?dbhtml filename="reboot.html" dir="chapter09"?>
4
5<para>Now that all of the software has been installed, it's time to reboot
6the computer. Before we reboot, let's unmount $LFS/proc and the LFS
7partition itself by running:</para>
8
9<para><screen><userinput>umount $LFS/proc
10umount $LFS</userinput></screen></para>
11
12<para>If you decided to create multiple partitions, you need to umount the
13other partitions before you umount $LFS, like this:</para>
14
15<para><screen><userinput>umount $LFS/proc
16umount $LFS/usr
17umount $LFS/home
18umount $LFS</userinput></screen></para>
19
20<para>And you can reboot your system by running something like:</para>
21
22<para><screen><userinput>/sbin/shutdown -r now</userinput></screen></para>
23
24<para>At the LILO: prompt make sure that you tell it to boot
25<emphasis>lfs</emphasis> and not the default entry which will boot your
26host system again.</para>
27
28<para>After you have rebooted, your LFS system is ready for use and you
29can start adding your own software.</para>
30
31<para>One final thing you may want to do is run lilo, now that you are
32booted into LFS. This way you will put the LFS version of LILO in the MBR
33rather than the one that's there right now from your host system.
34Depending on how old your host distribution is, the LFS version may have
35more advanced features you need/could use.</para>
36
37<para>Either way, run the following to make the lilo version installed
38on LFS active:</para>
39
40<para><screen><userinput>/sbin/lilo</userinput></screen></para>
41
42<para>You may now remove the stage1 directory. If you think you may
43need to redo Chapter 5, then you may wish to backup the directory before
44removing it. To remove the stage1 directory, type the following
45command:</para>
46
47<para><screen><userinput>rm -rf /stage1</userinput></screen></para>
48
49</sect1>
Note: See TracBrowser for help on using the repository browser.