ZAVCXL0006: Difference between revisions

From miki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
=== Log ===
=== Log ===
* Windows 10 P2V using ''WMWare Converter''.
* Windows 10 P2V using ''WMWare Converter''.
* Install Debian 10 Testing/Buster, with full disk encryption (except {{/boot}} partition).
* Install Debian 10 Testing/Buster, with full disk encryption (except {{file|/boot}} partition).
* Final partition:
* Final partition:
<source lang="bash">
<source lang="bash">
Line 50: Line 50:
# swap crypt -wi-ao---- <7.45g
# swap crypt -wi-ao---- <7.45g


# sudo pvs
sudo pvs
# PV VG Fmt Attr PSize PFree
# PV VG Fmt Attr PSize PFree
# /dev/mapper/nvme0n1p6_crypt crypt lvm2 a-- <475.52g 0
# /dev/mapper/nvme0n1p6_crypt crypt lvm2 a-- <475.52g 0

Latest revision as of 18:36, 19 March 2019

Installed Operating System

Current OS Log

System

Hardware

Log

  • Windows 10 P2V using WMWare Converter.
  • Install Debian 10 Testing/Buster, with full disk encryption (except /boot partition).
  • Final partition:
sudo sfdisk -l /dev/nvme0n1

# Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
# Disk model: WDC PC SN720 SDAPNTW-512G-1006          
# Units: sectors of 1 * 512 = 512 bytes
# Sector size (logical/physical): 512 bytes / 512 bytes
# I/O size (minimum/optimal): 512 bytes / 512 bytes
# Disklabel type: gpt
# Disk identifier: A2DA1E55-C56C-446C-90C4-6B3C8FBC0AE0
# 
# Device           Start        End   Sectors   Size Type
# /dev/nvme0n1p1    2048    1023999   1021952   499M EFI System
# /dev/nvme0n1p5 1024000    2977791   1953792   954M Linux filesystem
# /dev/nvme0n1p6 2977792 1000214527 997236736 475.5G Linux filesystem
  • /etc/crypttab, /etc/fstab and LVM:
cat /etc/crypttab
# nvme0n1p6_crypt UUID=dfce6a71-3d86-424f-8076-ca7349dea331 none luks,discard

cat /etc/fstab
# /dev/mapper/crypt-root /               ext4    noatime,errors=remount-ro 0       1
# UUID=47d99617-71ac-4759-853d-162da25ff551 /boot           ext2    relatime,user_xattr 0       2
# UUID=5E11-D01C  /boot/efi       vfat    umask=0077      0       1
# /dev/mapper/crypt-home /home           ext4    defaults        0       2
# /dev/mapper/crypt-swap none            swap    sw              0       0

sudo lvs
#  LV   VG    Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
#  home crypt -wi-ao---- <430.82g                                                    
#  root crypt -wi-ao----   37.25g                                                    
#  swap crypt -wi-ao----   <7.45g                                                    

sudo pvs
#  PV                          VG    Fmt  Attr PSize    PFree
#  /dev/mapper/nvme0n1p6_crypt crypt lvm2 a--  <475.52g    0 

sudo vgs
#  VG    #PV #LV #SN Attr   VSize    VFree
#  crypt   1   3   0 wz--n- <475.52g    0

Backup

  • LUKS header and LVM config — In /boot/backup, gpg encrypted (see Linux Disk Management).
  • System backup — To NAS Wolverine, with borg (volumes /, /boot and /home).

Partition

To be completed.