KDE Partitionverwaltung, Harddisk: https://i.imgur.com/DlM4xuE.png
KDE Partitionsverwaltung, Volumegroup VG "vgubuntu": https://i.imgur.com/Qqradv1.png
Macht es sind eine eigene /home anzulegen, wenn ja warum, wenn nein, warum nicht?
Welche relevanten Daten sollte ich mir von LVM Crypt anzeigen lassen?
Die Kurzbefehle sind das Einheitenkürzel mit angehängtem s, also pvs, vgs und lvs; die Detailausgaben erhält man mit dem Kürzel und angehängtem display: pvdisplay, vgdisplay und lvdisplay.
pvs
sudo pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/cryptdrive vgubuntu lvm2 a-- 57,05g 0
vgs
sudo vgs
VG #PV #LV #SN Attr VSize VFree
vgubuntu 1 2 0 wz--n- 57,05g 0
lvs
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root vgubuntu -wi-ao---- 53,00g
swap vgubuntu -wi-ao---- 4,05g
Relevante Dateien:
fstab
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/vgubuntu-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=3ca49805-4068-46e7-9e8a-776c9fb70d62 /boot ext4 defaults 0 2
/dev/mapper/vgubuntu-swap none swap
crypttab
cat /etc/crypttab
# <target name> <source device> <key file> <options>
# options used:
# luks - specifies that this is a LUKS encrypted device
# tries=0 - allows to re-enter password unlimited number of times
# discard - allows SSD TRIM command, WARNING: potential security risk (more: "man crypttab")
# loud - display all warnings
cryptdrive UUID=dbb88ee7-26d0-40a5-8591-0df29f5adcc2 none luks,tries=0,discard,loud
Systeminformationen
blkid
sudo blkid
/dev/mapper/cryptdrive: UUID="jDFAxe-WqE9-LhsB-3gzN-EwFi-pEjN-T2WgOL" TYPE="LVM2_member"
/dev/mapper/vgubuntu-swap: UUID="f5d3b395-fc0f-446e-93e3-4695a6105ae0" TYPE="swap"
/dev/mapper/vgubuntu-root: UUID="8400c51d-6829-46da-8643-b08db23b5575" BLOCK_SIZE="4096" TYPE="ext4"
/dev/loop1: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sda2: UUID="dbb88ee7-26d0-40a5-8591-0df29f5adcc2" TYPE="crypto_LUKS" PARTUUID="46601899-343d-4856-a2de-cd6cfd0db72f"
/dev/sda1: UUID="3ca49805-4068-46e7-9e8a-776c9fb70d62" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5bed6500-34a1-4dca-b772-a615b8823812"
/dev/loop5: TYPE="squashfs"
/dev/sr1: BLOCK_SIZE="2048" UUID="2023-01-11-18-52-31-52" LABEL="VBox_GAs_6.1.42" TYPE="iso9660"
/dev/loop3: TYPE="squashfs"
parted
sudo parted -l
Modell: ATA VBOX HARDDISK (scsi)
Festplatte /dev/sda: 64,4GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags
1 1049kB 3147MB 3146MB ext4
2 3147MB 64,4GB 61,3GB
Modell: Linux device-mapper (linear) (dm)
Festplatte /dev/mapper/vgubuntu-swap: 4349MB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Flags
1 0,00B 4349MB 4349MB linux-swap(v1)
Modell: Linux device-mapper (linear) (dm)
Festplatte /dev/mapper/vgubuntu-root: 56,9GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Flags
1 0,00B 56,9GB 56,9GB ext4
Fehler: /dev/mapper/cryptdrive: unbekannte Partitionstabelle
Modell: Linux device-mapper (crypt) (dm)
Festplatte /dev/mapper/cryptdrive: 61,3GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: unknown
Disk-Flags:
Warnung: /dev/sr1 kann nicht zum Schreiben geöffnet werden (Das Dateisystem ist
nur lesbar). /dev/sr1 wurde nur lesbar geöffnet.
Fehler: /dev/sr1: unbekannte Partitionstabelle
Modell: Unbekannt (unknown)
Festplatte /dev/sr1: 63,9MB
Sektorgröße (logisch/physisch): 2048B/2048B
Partitionstabelle: unknown
Disk-Flags:
Bearbeitet von Taomon:
Geflüchtetes u hinzugefügt.