Diskussion:Install-Party/Debian: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Zeile 131: Zeile 131:


* https://pve.proxmox.com/wiki/Service_daemons
* https://pve.proxmox.com/wiki/Service_daemons
* https://forum.proxmox.com/threads/119936#post-664352


==== Vergleich zwischen PVE / LMDE (und Debian) ====
==== Vergleich zwischen PVE / LMDE (und Debian) ====

Version vom 24. Juli 2024, 20:39 Uhr

(default) crypted disk layout

während der Installation
SCSI1 (0,0,0) (sda)
#1 primary 254.8 MB F ext2 /boot
#5 logical Rest K crypto (sd5_crypt)
Encrypted volume (sd5_crypt)
#1 Rest K lvm
LVM VG `hostname`-vg, LV home
#1 Rest - root - swap f ext4 /home
LVM VG `hostname`-vg, LV root
#1 30.0 GB f ext4 /
LVM VG `hostname`-vg, LV swap_1
#1 4.2 GB f ext4 swap
nach der Installation

cat /etc/fstab

/dev/mapper/debian--vg-root      /        ext4    errors=remount-ro    0    1
/dev/sda1                        /boot    ext2    defaults             0    2
/dev/mapper/debian--vg-home      /home    ext4    defaults             0    2
/dev/mapper/debian--vg-swap_1    none     swap    sw                   0    0

cat /etc/crypttab

sda5_crypt    /dev/sda5    none    luks

anders

cat /etc/default/grub

####GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash kopt=root=/dev/mapper/debian--vg-root"


cat /etc/crypttab
cat /etc/fstab
####/dev/mapper/debian--vg-root /               btrfs           subvol=@,defaults,noatime                       0       0
/dev/mapper/debian--vg-home     /               btrfs           subvol=@,defaults,noatime                       0       0
/dev/sda1                       /boot           ext2            defaults                                        0       2
####/dev/mapper/debian--vg-home                 /home           ext4            defaults                                        0       2
UUID=69b9bfbd-51fa-451a-b687-5d5bf7f2a404       /home           btrfs   subvol=@home,defaults,noatime           0       0
UUID=69b9bfbd-51fa-451a-b687-5d5bf7f2a404       /var            btrfs   subvol=@var,defaults,noatime            0       0
UUID=69b9bfbd-51fa-451a-b687-5d5bf7f2a404       /.snapshots     btrfs   subvol=@snapshots,defaults,noatime      0       0
/dev/mapper/debian--vg-swap_1   none            swap            sw                                              0       0
# UNCONFIGURED FSTAB FOR BASE SYSTEM
proc                            /proc           proc            defaults                                        0       0
sudo btrfs subvolume list -p /target
btrfs subvolume set-default VOL-ID /target

chroot in ein debian mit lvm und btrfs

sudo mkdir /mnt/3b
sudo mkdir /mnt/3b/boot
sudo mount /dev/sda2 /mnt/3b/boot
sudo mkdir /mnt/3b/home
sudo mount /dev/lap-vg/home /mnt/3b/home
sudo mount /dev/lap-vg/root /mnt/3b
sudo mkdir /mnt/3b/boot/efi
sudo mount /dev/sda1 /mnt/3b/boot/efi
sudo mount -t proc none /mnt/3b/proc
sudo mount -o bind /dev /mnt/3b/dev
sudo mount -o bind /run /mnt/3b/run
sudo chroot /mnt/3b /bin/bash

gezielt installierte Pakete

apt list --manual-installed
apt-mark showmanual

mirrored boot devices with btrfs raid1


https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path

dpkg-reconfigure grub-efi-amd64

https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/

dnf reinstall grub2-common

nach einer Installation von PVE

Vergleich zwischen PVE / LMDE (und Debian)

PVE LMDE Debian
Netzwerk Konfiguration
/etc/network/interfaces
/etc/hosts
Netzwerk Dienst

systemctl status networking.service

systemctl status NetworkManager.service

Pakete Konfiguration

/etc/apt/sources.list

/etc/apt/sources.list.d/

(ohne Abhaengigkeiten) installierte Pakete

apt-mark showmanual

apt list --manual-installed