Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter11/reboot.xml

    r56587fc r029f725  
    8282
    8383  <para>Now that we have said that, let's move on to booting our shiny new LFS
    84   installation for the first time! First exit from the chroot environment:</para>
     84  installation for the first time!</para>
    8585
    86 <screen><userinput>logout</userinput></screen>
    87 <!-- We need to show the user the details...
    88   <para>Unmount the LFS file system hierarchy:</para>
     86  <para>Unmount the boot partition:</para>
    8987
    90 <screen><userinput>umount -Rv $LFS</userinput></screen>
    91 -->
     88<screen role="nodump"><userinput>umount /boot</userinput></screen>
    9289
    93   <para>Then unmount the virtual file systems:</para>
     90  <para>Synchronize cached writes to prevent data loss on reboot without a
     91  fully functional <command>init</command> process:</para>
    9492
    95 <screen><userinput>umount -v $LFS/dev/pts
    96 umount -v $LFS/dev
    97 umount -v $LFS/run
    98 umount -v $LFS/proc
    99 umount -v $LFS/sys</userinput></screen>
    100 
    101   <para>If multiple partitions were created, unmount the other
    102   partitions before unmounting the main one, like this:</para>
    103 
    104 <screen role="nodump"><userinput>umount -v $LFS/usr
    105 umount -v $LFS/home
    106 umount -v $LFS</userinput></screen>
    107 
    108   <para>Unmount the LFS file system itself:</para>
    109 
    110 <screen role="nodump"><userinput>umount -v $LFS</userinput></screen>
     93<screen role="nodump"><userinput>sync</userinput></screen>
    11194
    11295  <para>Now, reboot the system with:</para>
    11396
    114 <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
     97<screen role="nodump"><userinput>reboot -ff</userinput></screen>
     98
     99  <para><parameter>-ff</parameter> option allows to reboot the system
     100  without support from the <command>init</command> process.</para>
    115101
    116102  <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
Note: See TracChangeset for help on using the changeset viewer.