Changeset 036393e1 for postlfs


Ignore:
Timestamp:
04/09/2003 12:10:43 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
8a0cee4
Parents:
2537aba
Message:

more corner sweeping

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@838 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/bootdisk.xml

    r2537aba r036393e1  
    3232the following command works well, as I only have the devices I use
    3333anyway.  If you used MAKEDEV to create your devices, you'll want to
    34 trim the /mnt/loop1/dev directory to reclaim the inode space wasted
    35 by all of the devices in the dev directory you don't use.</para>
     34trim the <filename>/mnt/loop1/dev</filename> directory to reclaim the inode space wasted
     35by all of the devices in the <filename>dev</filename> directory you don't use.</para>
    3636<para><screen><userinput>cp -dpR /dev/* /mnt/loop1/dev</userinput></screen></para>
    37 <para>Now to tend to the /etc directory.  To start, all we will do is use
     37<para>Now to tend to the <filename>/etc</filename> directory.  To start, all we will do is use
    3838the passwd and group file that worked for our static chroot environment
    3939when we built LFS.  We'll also copy the startup scripts over and a few other files
     
    6161To prevent automatic mounting of hard drive partitions,
    6262make sure to add the noauto option in their fstab entry.  Also, add the
    63 following entries to the /mnt/loop1/etc/fstab to assist with mounting our
     63following entries to the <filename>/mnt/loop1/etc/fstab</filename> to assist with mounting our
    6464floppy and the ram image</para>
    6565<para><screen>/dev/ram0       /               ext2    defaults
    6666/dev/fd0        /               ext2    defaults</screen></para>
    6767
    68 <para>Next, we will install <ulink url="http://www.busybox.net/downloads/busybox-0.60.4.tar.bz2">busybox</ulink> onto the image.  Busybox incorporates many of the *nix functions into a single small executable file.</para>
     68<para>Next, we will install <ulink
     69url="http://www.busybox.net/downloads/busybox-0.60.4.tar.bz2">busybox</ulink>
     70onto the image.  Busybox incorporates many of the unix functions into a single small executable file.</para>
    6971<screen><userinput>make &amp;&amp;
    7072make PREFIX=/mnt/loop1 install &amp;&amp;
     
    8991<para>
    9092We will also need to set up an rc script to handle the devfsd startup.
    91 Put this in <filename>/mnt/loop1/etc/init.d/rcS</filename></para>
     93Put this in <filename>/mnt/loop1/etc/init.d/rcS</filename>.</para>
    9294<screen>#!/bin/sh
    9395mount -t devfs devfs /dev
     
    100102<screen><userinput>ls -l rootfs.gz</userinput> to make sure it will fit on the diskette.</screen>
    101103<para>
    102 make a custom kernel that is optimized for size.  Include only those features
     104Make a custom kernel that is optimized for size.  Include only those features
    103105you will need to rescue your system.  no sense in building in support for things
    104106like xfree86 dri, etc, as most rescues are performed from the command prompt.
     
    113115<para>In this example the rescueimage(KERNEL) was 429+1 blocks in size.
    114116We will remember this for the next command.  We now write the root file
    115 system right after the kernel on the floppy. by doing 16384+429+1=
    116 16814 </para>
     117system right after the kernel on the floppy by doing 16384+429+1=
     11816814.</para>
    117119<screen><userinput>rdev -r /dev/floppy/0 16814</userinput></screen>
    118120
  • postlfs/config/profile.xml

    r2537aba r036393e1  
    99
    1010<para>An interactive login shell is started after a successful login by
    11 <filename>/bin/login</filename> by reading the /etc/passwd file.  An
     11<filename>/bin/login</filename> by reading the
     12<filename>/etc/passwd</filename> file.  An
    1213interactive non-login shell is started at the command line (e.g.
    1314[prompt]$<userinput>/bin/bash</userinput>).  A non-interactive shell is
  • postlfs/security/shadow/shadow-inst.xml

    r2537aba r036393e1  
    55<xref linkend="Linux_PAM"/></screen>
    66
    7 <para>Download the patch for shadow from <ulink url="&hfile-root;"/></para>
     7<para>Download the patch for shadow from <ulink url="&hfile-root;"/>.</para>
    88
    99<para>Reinstall shadow by running the following commands:</para>
Note: See TracChangeset for help on using the changeset viewer.