mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 19:59:20 +01:00
cross-ng: adjust reboot command for new clfs
This commit is contained in:
parent
3963a56a07
commit
fa8a0f2fc3
@ -81,37 +81,19 @@
|
||||
</itemizedlist>
|
||||
|
||||
<para>Now that we have said that, let's move on to booting our shiny new LFS
|
||||
installation for the first time! First exit from the chroot environment:</para>
|
||||
installation for the first time!</para>
|
||||
|
||||
<screen><userinput>logout</userinput></screen>
|
||||
<!-- We need to show the user the details...
|
||||
<para>Unmount the LFS file system hierarchy:</para>
|
||||
<para>Synchronize cached writes to prevent data loss on reboot without a
|
||||
fully functional <command>init</command> process:</para>
|
||||
|
||||
<screen><userinput>umount -Rv $LFS</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>Then unmount the virtual file systems:</para>
|
||||
|
||||
<screen><userinput>umount -v $LFS/dev/pts
|
||||
umount -v $LFS/dev
|
||||
umount -v $LFS/run
|
||||
umount -v $LFS/proc
|
||||
umount -v $LFS/sys</userinput></screen>
|
||||
|
||||
<para>If multiple partitions were created, unmount the other
|
||||
partitions before unmounting the main one, like this:</para>
|
||||
|
||||
<screen role="nodump"><userinput>umount -v $LFS/usr
|
||||
umount -v $LFS/home
|
||||
umount -v $LFS</userinput></screen>
|
||||
|
||||
<para>Unmount the LFS file system itself:</para>
|
||||
|
||||
<screen role="nodump"><userinput>umount -v $LFS</userinput></screen>
|
||||
<screen role="nodump"><userinput>sync</userinput></screen>
|
||||
|
||||
<para>Now, reboot the system with:</para>
|
||||
|
||||
<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
||||
<screen role="nodump"><userinput>reboot -ff</userinput></screen>
|
||||
|
||||
<para><parameter>-ff</parameter> option allows to reboot the system
|
||||
without support from the <command>init</command> process.</para>
|
||||
|
||||
<para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
||||
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user