mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
Finish review/update to cross2 book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
4234aea632
commit
37b5ac1293
@ -20,12 +20,11 @@
|
||||
<title>Introduction</title>
|
||||
|
||||
<warning><para>Configuring GRUB incorrectly can render your system
|
||||
inoperable without an alternate boot device such as a CD-ROM. This
|
||||
section is not required to boot your LFS system. You may just
|
||||
want to modify your current boot loader, e.g. Grub-Legacy, GRUB2, or
|
||||
inoperable without an alternate boot device such as a CD-ROM or bootable
|
||||
USB drive. This section is not required to boot your LFS system. You may
|
||||
just want to modify your current boot loader, e.g. Grub-Legacy, GRUB2, or
|
||||
LILO.</para></warning>
|
||||
|
||||
|
||||
<para> Ensure that an emergency boot disk is ready to <quote>rescue</quote>
|
||||
the computer if the computer becomes unusable (un-bootable). If you do not
|
||||
already have a boot device, you can create one. In order for the procedure
|
||||
@ -83,7 +82,7 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></
|
||||
|
||||
<para>The location of the boot partition is a choice of the user that
|
||||
affects the configuration. One recommendation is to have a separate small
|
||||
(suggested size is 100 MB) partition just for boot information. That way
|
||||
(suggested size is 200 MB) partition just for boot information. That way
|
||||
each build, whether LFS or some commercial distro, can access the same boot
|
||||
files and access can be made from any booted system. If you choose to do
|
||||
this, you will need to mount the separate partition, move all files in the
|
||||
|
@ -11,7 +11,7 @@
|
||||
<title>Introduction</title>
|
||||
|
||||
<para>It is time to make the LFS system bootable. This chapter
|
||||
discusses creating an <filename>fstab</filename> file, building a
|
||||
discusses creating the <filename>/etc/fstab</filename> file, building a
|
||||
kernel for the new LFS system, and installing the GRUB boot loader so
|
||||
that the LFS system can be selected for booting at startup.</para>
|
||||
|
||||
|
@ -89,10 +89,6 @@ umount -v $LFS/run
|
||||
umount -v $LFS/proc
|
||||
umount -v $LFS/sys</userinput></screen>
|
||||
|
||||
<para>Unmount the LFS file system itself:</para>
|
||||
|
||||
<screen><userinput>umount -v $LFS</userinput></screen>
|
||||
|
||||
<para>If multiple partitions were created, unmount the other
|
||||
partitions before unmounting the main one, like this:</para>
|
||||
|
||||
@ -100,6 +96,10 @@ umount -v $LFS/sys</userinput></screen>
|
||||
umount -v $LFS/home
|
||||
umount -v $LFS</userinput></screen>
|
||||
|
||||
<para>Unmount the LFS file system itself:</para>
|
||||
|
||||
<screen><userinput>umount -v $LFS</userinput></screen>
|
||||
|
||||
<para>Now, reboot the system with:</para>
|
||||
|
||||
<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
||||
|
||||
<para>Two files describing the installed system may be used by packages
|
||||
that will be installed on the system, either in binary form or by building
|
||||
that can be installed on the system later, either in binary form or by building
|
||||
them.</para>
|
||||
|
||||
<para>The first one shows the status of your
|
||||
|
@ -57,7 +57,7 @@
|
||||
|
||||
<para>The Beyond Linux From Scratch book covers installation
|
||||
procedures for a wide range of software beyond the scope of the LFS
|
||||
Book. The BLFS project is located at <ulink url="&blfs-root;"/>.</para>
|
||||
Book. The BLFS project is located at <ulink url="&blfs-book;"/>.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
<para>The LFS Hints are a collection of educational documents
|
||||
submitted by volunteers in the LFS community. The hints are available
|
||||
at <ulink url="&hints-index;"/>.</para>
|
||||
at <ulink url="&hints-root;"/>.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user