diff --git a/Linux/Docs/Reference-LVM.md b/Linux/Docs/Reference-LVM.md new file mode 100644 index 0000000..6c7fb0d --- /dev/null +++ b/Linux/Docs/Reference-LVM.md @@ -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 +``` diff --git a/Linux/Docs/Setup-Minimal-Debian-KDE.md b/Linux/Docs/Setup-Minimal-Debian-KDE.md new file mode 100644 index 0000000..e93ed9f --- /dev/null +++ b/Linux/Docs/Setup-Minimal-Debian-KDE.md @@ -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 +``` \ No newline at end of file