stbuehler - Overview
1
# Find block device names for main disk, rootfs and /boot (if it is on a separate partition; usually with encrypted rootfs)
2
# your main disk isn't necessarily /dev/sda anymore; NVMe disks have names like /dev/nvme0n1
3
# -> /dev/sda might as well be the "livecd"
4
# For UEFI boot you should also identify the EFI partition; EFI requires a gpt PTTYPE.
5
lsblk -p -o NAME,RM,SIZE,RO,PTTYPE,TYPE,FSTYPE,MOUNTPOINT,LABEL,PARTLABEL