diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-07-10 15:06:31 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-07-10 15:06:31 +0000 |
commit | 3229c6b8a21173d078d03094e1dfc931bd6146bc (patch) | |
tree | 18c04387a74a9559938b9c3a26bad21e80574c52 /chapter08 | |
parent | b4ffa369d68fbce4b8e9bc30474e01630a41f303 (diff) |
Changed literallayout's to screen's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/fstab.xml | 6 | ||||
-rw-r--r-- | chapter08/kernel.xml | 25 | ||||
-rw-r--r-- | chapter08/lilo.xml | 46 | ||||
-rw-r--r-- | chapter08/reboot.xml | 18 |
4 files changed, 55 insertions, 40 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index d896e5f77..f12ffae71 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -8,7 +8,8 @@ used. A new file <filename>/etc/fstab</filename> is created containing the following: </para> -<literallayout> +<para> +<screen> <userinput>cat > /etc/fstab << "EOF"</userinput> # Begin /etc/fstab @@ -18,7 +19,8 @@ proc /proc proc defaults 0 0 # End /etc/fstab <userinput>EOF</userinput> -</literallayout> +</screen> +</para> <para> <LFS-partition designation>, <swap-partition diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 54a1efa80..4fd0bf4a2 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -9,18 +9,19 @@ with the kernel source tree, and find out what the options are. The following commands are run to build the kernel: </para> -<blockquote><literallayout> - <userinput>cd /usr/src/linux &&</userinput> - <userinput>make mrproper &&</userinput> - <userinput>make menuconfig &&</userinput> - <userinput>make dep &&</userinput> - <userinput>make bzImage &&</userinput> - <userinput>make modules &&</userinput> - <userinput>make modules_install &&</userinput> - <userinput>cp arch/i386/boot/bzImage /boot/lfskernel && - </userinput> - <userinput>cp System.map /boot</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>cd /usr/src/linux &&</userinput> +<userinput>make mrproper &&</userinput> +<userinput>make menuconfig &&</userinput> +<userinput>make dep &&</userinput> +<userinput>make bzImage &&</userinput> +<userinput>make modules &&</userinput> +<userinput>make modules_install &&</userinput> +<userinput>cp arch/i386/boot/bzImage /boot/lfskernel &&</userinput> +<userinput>cp System.map /boot</userinput> +</screen> +</para> <para> Note: the arch/i386/boot/bzImage path may vary on different platforms. diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml index 98c4363fb..6abec4e89 100644 --- a/chapter08/lilo.xml +++ b/chapter08/lilo.xml @@ -18,24 +18,28 @@ the host system or the LFS system). First we'll exit chroot and copy the lfskernel file to the host system: </para> -<blockquote><literallayout> - <userinput>logout</userinput> - <userinput>cp $LFS/boot/lfskernel /boot</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>logout</userinput> +<userinput>cp $LFS/boot/lfskernel /boot</userinput> +</screen> +</para> <para> The next step is adding an entry to /etc/lilo.conf so that we can choose LFS when booting the computer: </para> -<literallayout> - <userinput>cat >> /etc/lilo.conf << "EOF"</userinput> - image=/boot/lfskernel - label=lfs - root=<partition> - read-only - <userinput>EOF</userinput> -</literallayout> +<para> +<screen> +<userinput>cat >> /etc/lilo.conf << "EOF"</userinput> +image=/boot/lfskernel + label=lfs + root=<partition> + read-only +<userinput>EOF</userinput> +</screen> +</para> <para> <partition> must be replaced by the LFS partition's designation. @@ -45,19 +49,23 @@ choose LFS when booting the computer: Now the boot loader gets updated by running: </para> -<blockquote><literallayout> - <userinput>/sbin/lilo</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>/sbin/lilo</userinput> +</screen> +</para> <para> The last step is syncing the host system lilo config. files with the LFS system: </para> -<blockquote><literallayout> - <userinput>cp /etc/lilo.conf $LFS/etc &&</userinput> - <userinput>cp <kernel images> $LFS/boot</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>cp /etc/lilo.conf $LFS/etc &&</userinput> +<userinput>cp <kernel images> $LFS/boot</userinput> +</screen> +</para> <para> To find out which kernel images files are being used, look at the diff --git a/chapter08/reboot.xml b/chapter08/reboot.xml index ef893ef1c..e55145af9 100644 --- a/chapter08/reboot.xml +++ b/chapter08/reboot.xml @@ -7,18 +7,22 @@ it's time to reboot the computer. Before we reboot let's exit the chroot'ed environment first and unmount the LFS partition by running: </para> -<blockquote><literallayout> - <userinput>umount $LFS/proc &&</userinput> - <userinput>umount $LFS</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>umount $LFS/proc &&</userinput> +<userinput>umount $LFS</userinput> +</screen> +</para> <para> And you can reboot your system by running something like: </para> -<blockquote><literallayout> - <userinput>/sbin/shutdown -r now</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>/sbin/shutdown -r now</userinput> +</screen> +</para> <para> At the LILO: prompt make sure that you tell it to boot |