- Timestamp:
- 05/24/2016 09:24:59 PM (8 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 77ab7f3
- Parents:
- 11ebea6
- Location:
- chapter08
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/fstab.xml
r11ebea6 r1118b17 20 20 file systems table like this:</para> 21 21 22 <screen ><userinput>cat > /etc/fstab << "EOF"22 <screen revision="sysv"><userinput>cat > /etc/fstab << "EOF" 23 23 <literal># Begin /etc/fstab 24 24 … … 37 37 EOF</userinput></screen> 38 38 39 <screen revision="systemd"><userinput>cat > /etc/fstab << "EOF" 40 <literal># Begin /etc/fstab 41 42 # file system mount-point type options dump fsck 43 # order 44 45 /dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 46 /dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 47 48 # End /etc/fstab</literal> 49 EOF</userinput></screen> 50 39 51 <para>Replace <replaceable><xxx></replaceable>, 40 52 <replaceable><yyy></replaceable>, and <replaceable><fff></replaceable> … … 44 56 class="filesystem">ext4</systemitem>. For details on the six 45 57 fields in this file, see <command>man 5 fstab</command>.</para> 46 47 <!--48 <para>The <filename class="directory">/dev/shm</filename> mount point49 for <systemitem class="filesystem">tmpfs</systemitem> is included to50 allow enabling POSIX-shared memory. The kernel must have the required51 support built into it for this to work (more about this is in the next52 section). Please note that very little software currently uses53 POSIX-shared memory. Therefore, consider the <filename54 class="directory">/dev/shm</filename> mount point optional. For more55 information, see56 <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel57 source tree.</para>58 -->59 58 60 59 <para>Filesystems with MS-DOS or Windows origin (i.e.: vfat, ntfs, smbfs, cifs, … … 97 96 There is no way to specify these settings for the 98 97 ntfs filesystem at kernel compilation time.</para> 99 <!-- Personally, I find it more foolproof to always specify the iocharset and100 codepage in /etc/fstab for MS-based filesystems - Alexander E. Patrakov -->101 98 102 99 <para>It is possible to make the ext3 filesystem reliable across power -
chapter08/grub.xml
r11ebea6 r1118b17 40 40 41 41 <note><para>Most newer systems now come with system firmware that is in 42 UEFI ( (Unified Extensible Firmware Interface) mode by default.To boot LFS42 UEFI (Unified Extensible Firmware Interface) mode by default. To boot LFS 43 43 on these systems using the instructions here, the UEFI Mode and Secure Boot 44 capabilities need to be turned off. 45 capabilities still enabled, but are not covered here. For details, see46 <ulink47 url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"> the48 lfs-uefi.txt hint</ulink> at44 capabilities need to be turned off. There are ways to boot with these 45 capabilities still enabled, but then are not covered here. For details, 46 see <ulink 47 url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"> 48 the lfs-uefi.txt hint</ulink> at 49 49 http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.</para></note> 50 50 -
chapter08/kernel.xml
r11ebea6 r1118b17 66 66 <ulink url="http://www.kroah.com/lkn/"/> </para> 67 67 68 <note><para>A good starting place for setting up the kernel configuration 69 is to run <command>make defconfig</command>. This will set the base 70 configuration to a good state that takes your current system architecture 71 into account.</para> 72 73 <para>Be sure to configure the following features as shown:</para> 74 75 <screen role="nodump"> 68 <note> 69 70 <para>A good starting place for setting up the kernel configuration is to 71 run <command>make defconfig</command>. This will set the base 72 configuration to a good state that takes your current system architecture 73 into account.</para> 74 75 <para>Be sure to enable or disable following features or the system might 76 not work correctly or boot at all:</para> 77 78 <screen role="nodump" revision="sysv"> 76 79 Device Drivers ---> 77 80 Generic Driver Options ---> 78 81 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 79 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen></note> 80 81 <para>There are several other options that may be desired depending 82 on the requirements for the system. For a list of options needed 83 for BLFS packages, see the <ulink 84 url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS 85 Index of Kernel Settings</ulink> 82 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen> 83 84 <screen role="nodump" revision="systemd"> 85 [*] open by fhandle syscalls [CONFIG_FHANDLE] 86 [ ] Auditing support [CONFIG_AUDIT] 87 [*] Control Group support [CONFIG_CGROUPS] 88 Processor type and features ---> 89 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] 90 Networking support ---> 91 Networking options ---> 92 <*> The IPv6 protocol [CONFIG_IPV6] 93 Device Drivers ---> 94 Generic Driver Options ---> 95 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 96 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 97 [ ] Fallback user-helper invocation for firmware loading [CONFIG_FW_LOADER_USER_HELPER] 98 Firmware Drivers ---> 99 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 100 File systems ---> 101 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] 102 <*> Kernel automounter version 4 support (also supports v3) [CONFIG_AUTOFS4_FS] 103 Pseudo filesystems ---> 104 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL] 105 [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR]</screen> 106 107 </note> 108 109 <note revision="systemd"> 110 <para>While "The IPv6 Protocol" is not strictly 111 required, it is highly recommended by the systemd developers.</para> 112 </note> 113 114 <para revision="sysv">There are several other options that may be desired 115 depending on the requirements for the system. For a list of options needed 116 for BLFS packages, see the <ulink 117 url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS 118 Index of Kernel Settings</ulink> 86 119 (&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index).</para> 87 120
Note:
See TracChangeset
for help on using the changeset viewer.