Diese Kommandos sind von LFS Linux From Scratch. Für diese Kommandos gilt diese Lizenz: Copyright © 1999-2026 Gerard Beekmans Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. cat > /etc/systemd/network/10-eth-static.network << "EOF" [Match] Name=enp0s20f0u4 [Network] Address=192.168.3.14/24 Gateway=192.168.3.1 DNS=192.168.3.1 Domains=daniel-schildt.de EOF cat > /etc/resolv.conf << "EOF" # Begin /etc/resolv.conf domain daniel-schildt.de nameserver 192.168.3.1 nameserver 8.8.8.8 # End /etc/resolv.conf EOF echo "Betriebsystem" > /etc/hostname cat > /etc/hosts << "EOF" # Begin /etc/hosts 192.168.3.14 daniel-schildt.de ::1 ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters # End /etc/hosts EOF cat > /etc/adjtime << "EOF" 0.0 0 0.0 0 LOCAL EOF echo FONT=Lat2-Terminus16 > /etc/vconsole.conf cat > /etc/vconsole.conf << "EOF" KEYMAP=de-latin1 FONT=Lat2-Terminus16 EOF cat > /etc/locale.conf << "EOF" LANG=de_DE.utf8 EOF cat > /etc/profile << "EOF" # Begin /etc/profile for i in $(locale); do unset ${i%=*} done if [[ "$TERM" = linux ]]; then export LANG=C.UTF-8 else source /etc/locale.conf for i in $(locale); do key=${i%=*} if [[ -v $key ]]; then export $key fi done fi # End /etc/profile EOF cat > /etc/inputrc << "EOF" # Begin /etc/inputrc # Modified by Chris Lynn # Allow the command prompt to wrap to the next line set horizontal-scroll-mode Off # Enable 8-bit input set meta-flag On set input-meta On # Turns off 8th bit stripping set convert-meta Off # Keep the 8th bit for display set output-meta On # none, visible or audible set bell-style none # All of the following map the escape sequence of the value # contained in the 1st argument to the readline specific functions "\eOd": backward-word "\eOc": forward-word # for linux console "\e[1~": beginning-of-line "\e[4~": end-of-line "\e[5~": beginning-of-history "\e[6~": end-of-history "\e[3~": delete-char "\e[2~": quoted-insert # for xterm "\eOH": beginning-of-line "\eOF": end-of-line # for Konsole "\e[H": beginning-of-line "\e[F": end-of-line # End /etc/inputrc EOF cat > /etc/shells << "EOF" # Begin /etc/shells /bin/sh /bin/bash # End /etc/shells EOF # vi /etc/fstab /dev/nvme0n1p1 /boot/efi vfat defaults 1 0 /dev/nvme0n1p2 swap swap defaults 0 0 /dev/nvme0n1p3 / ext4 defaults 1 1