📄 reboot.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 13.3. Rebooting the System </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-x86"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86 </h4> <h3> Chapter 13. The End </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="getcounted.html" title= "Get Counted">Prev</a> <p> Get Counted </p> </li> <li class="next"> <a accesskey="n" href="whatnow.html" title="What Now?">Next</a> <p> What Now? </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 13. The End">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86"> Home</a> </li> </ul> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 13.3. Rebooting the System </h1> </div> <p> If you built your final system using the boot method, just run <span><strong class="command">shutdown -r now</strong></span> to reboot again, using your newly-built kernel instead of the miminal one currently in use. If you chrooted, there are a few more steps. </p> <p> The system you have created in this book is quite minimal, and most likely will not have the functionality you would need to be able to continue forward. By installing a few extra packages from the BLFS book while still in our current chroot environment, you can leave yourself in a much better position to continue on once you reboot into your new LFS installation. Installing a text mode web browser, such as Lynx, you can easily view the BLFS book in one virtual terminal, while building packages in another. The GPM package will also allow you to perform copy/paste actions in your virtual terminals. Lastly, if you are in a situation where static IP configuration does not meet your networking requirements, installing packages such as Dhcpcd or PPP at this point might also be useful. </p> <p> Now that we have said that, lets move on to booting our shiny new LFS installation for the first time! First exit from the chroot environment: </p> <pre class="userinput"><kbd class="command">logout</kbd></pre> <p> Then unmount the virtual file systems: </p> <pre class="userinput"><kbd class="command">umount $LFS/dev/ptsumount $LFS/dev/shmumount $LFS/devumount $LFS/procumount $LFS/sys</kbd></pre> <p> Unmount the LFS file system itself: </p> <pre class="userinput"><kbd class="command">umount $LFS</kbd></pre> <p> If multiple partitions were created, unmount the other partitions before unmounting the main one, like this: </p> <pre class="userinput"><kbd class="command">umount $LFS/usrumount $LFS/homeumount $LFS</kbd></pre> <p> Now, reboot the system with: </p> <pre class="userinput"><kbd class="command">shutdown -r now</kbd></pre> <p> Assuming the boot loader was set up as outlined earlier, <span class= "emphasis"><em>LFS CLFS-SVN-20060417</em></span> will boot automatically. </p> <p> When the reboot is complete, the LFS system is ready for use and more software may be added to suit your needs. </p> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="getcounted.html" title= "Get Counted">Prev</a> <p> Get Counted </p> </li> <li class="next"> <a accesskey="n" href="whatnow.html" title="What Now?">Next</a> <p> What Now? </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 13. The End">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -