aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/reboot.xml
blob: 99bca049e49293e958716dfdda3af07c0384c824 (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
<sect1 id="ch-finish-reboot">
<title>Rebooting the system</title>
<?dbhtml filename="reboot.html" dir="chapter09"?>

<para>Now that all of the software has been installed, it is time to reboot
your 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/proc</userinput></screen>    

<para>And unmount the LFS file system:</para>

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

<para>If at the start you decided to create multiple partitions, you'll need to
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 your 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 &milestone;</emphasis> automatically.</para>

<para>When the reboot is complete, your LFS system is ready for use and you
can start adding your own software.</para>

</sect1>