Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter11/reboot.xml

    r029f725 r56587fc  
    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!</para>
     84  installation for the first time! First exit from the chroot environment:</para>
    8585
    86   <para>Unmount the boot partition:</para>
     86<screen><userinput>logout</userinput></screen>
     87<!-- We need to show the user the details...
     88  <para>Unmount the LFS file system hierarchy:</para>
    8789
    88 <screen role="nodump"><userinput>umount /boot</userinput></screen>
     90<screen><userinput>umount -Rv $LFS</userinput></screen>
     91-->
    8992
    90   <para>Synchronize cached writes to prevent data loss on reboot without a
    91   fully functional <command>init</command> process:</para>
     93  <para>Then unmount the virtual file systems:</para>
    9294
    93 <screen role="nodump"><userinput>sync</userinput></screen>
     95<screen><userinput>umount -v $LFS/dev/pts
     96umount -v $LFS/dev
     97umount -v $LFS/run
     98umount -v $LFS/proc
     99umount -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
     105umount -v $LFS/home
     106umount -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>
    94111
    95112  <para>Now, reboot the system with:</para>
    96113
    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>
     114<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
    101115
    102116  <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
Note: See TracChangeset for help on using the changeset viewer.