Added References for LVM and how-to for minimal Debian-13-KDE

This commit is contained in:
2026-02-09 23:07:05 +01:00
parent bc97f60438
commit 31850877f5
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# LVM Reference Sheet
### Create LVM Volume and its filesystem in Thin Pool
```
lvcreate -V 100M -T PoolName/ThinPoolName -n VolumeName
mkfs.ext4 /dev/ThinPoolName/VolumeName
#or
mkfs.btrfs /dev/ThinPoolName/VolumeName
```
### Resize LVM Volume and its filesystem in Thin Pool
```
lvextend --resizefs -L +100M /dev/ThinPoolName/VolumeName
# When using btrfs
lvextend -L +100M /dev/ThinPoolName/VolumeName
btrfs filesystem resize max MountPoint
```

View File

@@ -0,0 +1,25 @@
# Minimal Debian system with KDE Plasma
## Debian 12
```
apt purge juk knotes korganizer kmail* konqueror kpeople-vcard kaddressbook* akregator dragonplayer zutty sweeper kmouth kmousetool kmag partitionmanager
apt autoremove
```
To allow root to run missing commands `/etc/profile`
```
#if [ "$(id -u)" -eq 0 ]; then
# PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
#else
# PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
#fi
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/usr/local/sbin:/sbin"
```
## Debian 13
```
apt purge juk korganizer kmail* konqueror kpeople-vcard kaddressbook* akregator dragonplayer zutty sweeper kmouth kmousetool kmag partitionmanager kwrite kontrast xterm okular
apt autoremove
```