blob: 4b46dd6d6f06d397a72ca681e8489e7461890325 (
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
|
<sect1 id="ch09-reboot">
<title>Rebooting the system</title>
<?dbhtml filename="reboot.html" dir="chapter09"?>
<para>Now that all of the software has been installed, it's time to exit the
chroot environment and reboot the computer. Before we exit the chroot
environment, let's unmount any mounted virtual file systems by running:</para>
<screen><userinput>umount /proc
umount /dev/pts</userinput></screen>
<para>Exit the chroot environment:</para>
<screen><userinput>logout</userinput></screen>
<para>Before we reboot, let's unmount the LFS partition itself:</para>
<screen><userinput>umount $LFS</userinput></screen>
<para>If you earlier decided to create multiple partitions, you'll need to
unmount the other partitions before you unmount $LFS, like this:</para>
<screen><userinput>umount $LFS/usr
umount $LFS/home
umount $LFS</userinput></screen>
<para>And now you can reboot your system by running something like:</para>
<screen><userinput>/sbin/shutdown -r now</userinput></screen>
<para>At the Grub menu 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>
</sect1>
|