J'ai récemment installé Arch sur un laptop.
Voulant sécuriser l'installation j'ai chiffré le disque avec LUKS.
J'ai chiffré la partition /root
Code : Tout sélectionner
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 vfat FAT32 4EC6-90CE 402M 21% /boot
└─sda2 crypto_LUKS 2 026eb853-cb06-42ae-b4c9-b544959c8fe9
└─cryptroot ext4 1.0 5377d121-77fa-41a6-a825-3e4e0b51c4f4 191.2G 7% /
mmcblk0
└─mmcblk0p1 vfat FAT32 noSDCard AAEC-72DB /run/systemd/cryptsetup/keydev-cryptroot
J''utilise systemd-boot avec l'entrée suivante
Code : Tout sélectionner
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options rd.luks.name=026eb853-cb06-42ae-b4c9-b544959c8fe9=cryptroot root=/dev/mapper/cryptroot rd.luks.key=026eb853-cb06-42ae-b4c9-b544959c8fe9=/veoliarchtop/keyfile:UUID=AAEC-72DB resume=UUID=5377d121-77fa-41a6-a825-3e4e0b51c4f4 resume_offset=49152 rw quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3
Code : Tout sélectionner
MODULES=(vfat)
...
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)
Code : Tout sélectionner
UNIT LOAD ACTIVE SUB DESCRIPTION
● run-systemd-cryptsetup-keydev\x2dcryptroot.mount loaded failed failed /run/systemd/cryptsetup/keydev-cryptroot
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Code : Tout sélectionner
Jan 21 16:10:46 veoliarchtop systemd[1]: run-systemd-cryptsetup-keydev\x2dcryptroot.mount: Unit cannot be reloaded because it is inactive.
Jan 21 16:10:54 veoliarchtop systemd[1]: run-systemd-cryptsetup-keydev\x2dcryptroot.mount: Failed to run 'mount' task: No such file or directory
Jan 21 16:10:54 veoliarchtop systemd[1]: run-systemd-cryptsetup-keydev\x2dcryptroot.mount: Failed with result 'resources'.
Jan 21 16:10:54 veoliarchtop systemd[1]: Failed to mount /run/systemd/cryptsetup/keydev-cryptroot.
Merci d'avance.
edit: typo