aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/reboot.xml
blob: 126487a60885a6e5eb5b02dff8c59483740456a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>
<sect1 id="ch-finish-reboot">
<title>Rebooting the system</title>
<?dbhtml filename="reboot.html"?>

<!--
<para>Now that all of the software has been installed, it is time to
reboot the computer. First exit from the chroot environment:</para>
-->

<screen><userinput>logout</userinput></screen>

<!--
<para>Then unmount the virtual files systems:</para>
-->

<screen><userinput>umount $LFS/dev/pts
umount $LFS/dev/shm
umount $LFS/dev
umount $LFS/proc
umount $LFS/sys</userinput></screen>    

<!--
<para>Unmount the LFS file system itself:</para>
-->

<screen><userinput>umount $LFS</userinput></screen>

<para>If multiple partitions were created, unmount the other
partitions before unmounting the main one, like this:</para>

<screen><userinput>umount $LFS/usr
umount $LFS/home
umount $LFS</userinput></screen>

<!--
<para>Now, reboot the system with:</para>
-->

<screen><userinput>shutdown -r now</userinput></screen>

<!--
<para>Assuming the Grub boot loader was set up as outlined earlier, the menu
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>

<para>When the reboot is complete, the LFS system is ready for use and
software can be added.</para>
-->

</sect1>