Linux-Installation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 27: | Zeile 27: | ||
<pre> | <pre> | ||
LABEL=fs.bullseye / btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,subvol=@rootfs 0 0 | LABEL=fs.bullseye / btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,subvol=@rootfs 0 0 | ||
LABEL=fs. | LABEL=fs.sys /media/fs.sys btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvolid=5 0 0 | ||
LABEL=fs.cave /media/fs.cave btrfs noatime,nodiratime,compress= | LABEL=fs.cave /media/fs.cave btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvolid=5 0 0 | ||
LABEL=fs.cave /opt btrfs noatime,nodiratime,compress= | LABEL=fs.cave /opt btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/opt 0 1 | ||
LABEL=fs.cave /home btrfs noatime,nodiratime,compress= | LABEL=fs.cave /home btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/home 0 1 | ||
LABEL=fs.cave /media/space btrfs noatime,nodiratime,compress= | LABEL=fs.cave /media/space btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/space 0 1 | ||
/dev/sda5 /media/fs.exchange auto rw,noatime,nodiratime,user_id=1000,group_id=1000,allow_other 0 1 | /dev/sda5 /media/fs.exchange auto rw,noatime,nodiratime,user_id=1000,group_id=1000,allow_other 0 1 | ||
#LABEL=bench /media/bench ext4 defaults,noatime,nodiratime 0 0 | #LABEL=bench /media/bench ext4 defaults,noatime,nodiratime 0 0 | ||
Zeile 39: | Zeile 39: | ||
#//192.168.2.129/Downloads /media/tmp cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000 1 1 | #//192.168.2.129/Downloads /media/tmp cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000 1 1 | ||
remote_server:/home /media/remote/home nfs noauto,ro,rsize=8192,wsize=8192,hard,intr 0 1 | remote_server:/home /media/remote/home nfs noauto,ro,rsize=8192,wsize=8192,hard,intr 0 1 | ||
</pre> | |||
= Aktueller Kernel = | |||
* Eintrag in /etc/apt/sources.list: | |||
<pre> | |||
deb http://debian.mirror.lrz.de/debian/ bookworm-backports main non-free-firmware | |||
</pre> | |||
<pre> | |||
apt update | |||
apt install linux-image-6.4.0-0.deb12.2-amd64-unsigned | |||
</pre> | </pre> |
Aktuelle Version vom 30. September 2023, 12:59 Uhr
Blitzinstallation[Bearbeiten]
DEBIAN_NAME=bookworm
vi /etc/sudoers
sed -i 's/deb cdrom:/# deb cdrom:/' /etc/apt/sources.list
apt update
apt install rsync wget
wget -O /tmp/basic_install.sh https://public.hamatoma.de/basic_install.sh
bash /tmp/basic_install.sh
touch /etc/pyrshell/backup.conf
systemctl disable pymonitor
btrfs filesystem label / fs.system.1t
mkdir -p /media/fs.system.1t /media/fs.cave
echo "deb http://debian.mirror.lrz.de/debian/ $DEBIAN_NAME-backports main non-free contrib
deb-src http://debian.mirror.lrz.de/debian/ $DEBIAN_NAME-backports main non-free contrib" >/etc/apt/sources.list.d/backports.list
apt update && apt install linux-image-5.19.0-0.deb11.2-amd64 thunderbird-l10n-de sane-airscan firmware-linux-nonfree
btrfs filesystem label / fs.sys
btrfs filesystem label /dev/sdb1 fs.cave
Konfiguration[Bearbeiten]
- /etc/fstab
LABEL=fs.bullseye / btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,subvol=@rootfs 0 0 LABEL=fs.sys /media/fs.sys btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvolid=5 0 0 LABEL=fs.cave /media/fs.cave btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvolid=5 0 0 LABEL=fs.cave /opt btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/opt 0 1 LABEL=fs.cave /home btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/home 0 1 LABEL=fs.cave /media/space btrfs noatime,nodiratime,compress=zstd,autodefrag,ssd,space_cache,subvol=/space 0 1 /dev/sda5 /media/fs.exchange auto rw,noatime,nodiratime,user_id=1000,group_id=1000,allow_other 0 1 #LABEL=bench /media/bench ext4 defaults,noatime,nodiratime 0 0 LABEL=fs.heap /media/fs.heap btrfs defaults,noatime,nodiratime,compress=zstd,autodefrag,subvolid=5 0 0 #//192.168.2.129/ctnot /media/src cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000 1 1 #//192.168.2.129/Downloads /media/tmp cifs ro,credentials=/etc/samba.data,uid=1000,gid=1000 1 1 remote_server:/home /media/remote/home nfs noauto,ro,rsize=8192,wsize=8192,hard,intr 0 1
Aktueller Kernel[Bearbeiten]
- Eintrag in /etc/apt/sources.list:
deb http://debian.mirror.lrz.de/debian/ bookworm-backports main non-free-firmware
apt update apt install linux-image-6.4.0-0.deb12.2-amd64-unsigned