Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-01-26 16:29:55 +01:00
Dual boot Windows time inconsistency

To be able to investigate when the time shift occurs, let us add to crontab:

# [Benjamin_Loison/linux/issues/27](https://gitea.lemnoslife.com/Benjamin_Loison/linux/issues/27)
* * * * *…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-26 00:56:26 +01:00
How to enable full disk encryption after install?

[wiki.archlinux.org: Dm-crypt/System configuration#Unlocking in late userspace (822797)](https://wiki.archlinux.org/index.php?title=Dm-crypt/System_configuration&oldid=822797#Unlocking_in_late_user…

Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-26 00:55:02 +01:00
How to enable full disk encryption after install?

Should test with:

/etc/mkinitcpio.conf:
HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt lvm2…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-26 00:25:57 +01:00
How to enable full disk encryption after install?

/mnt/etc/mkinitcpio.conf does not exist.

Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-26 00:25:21 +01:00
How to enable full disk encryption after install?

Above configuration is still stuck on SeaBIOS.

Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-26 00:07:22 +01:00
How to enable full disk encryption after install?

I may have an issue with the boot partition.

Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:49:48 +01:00
How to enable full disk encryption after install?

Let us try:

/etc/fstab:
/dev/mapper/crypt /               ext4    errors=remount-ro 0       1
/et…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:35:25 +01:00
How to enable full disk encryption after install?

Replacing in /mnt/etc/fstab 0e9a3032-7390-4a7f-8073-e690fc58839a with 4ce57ca1-ca7c-4b06-abb8-eb0892d6897e does not help booting.

Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:31:59 +01:00
How to enable full disk encryption after install?
sudo blkid
Output:
/dev/sr0: BLOCK_SIZE="2048" UUID="2025-01-11-10-25-55-00" LABEL="d-live 12.9.0 gn amd64" TYPE="iso9660" PTUUID="98418538"…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:30:38 +01:00
How to enable full disk encryption after install?
/mnt/etc/fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:28:10 +01:00
How to enable full disk encryption after install?

On my Debian 12 GNOME laptop:

/etc/fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:26:17 +01:00
How to enable full disk encryption after install?
df -h /mnt/
Output:
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/recrypt   30G   11G   18G  37% /mnt
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:23:33 +01:00
How to enable full disk encryption after install?
sudo fdisk -l
Output:
Disk /dev/vda: 30 GiB, 32212254720 bytes, 62914560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/ph…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:19:53 +01:00
How to enable full disk encryption after install?
sudo cryptsetup open /dev/vda1 recrypt
Enter passphrase for /dev/vda1:
sudo resize2fs /dev/mapper/recrypt
Output:
re…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:18:52 +01:00
How to enable full disk encryption after install?
sudo cryptsetup reencrypt --encrypt --reduce-device-size 32M /dev/vda1
Output:
WARNING!
========
This will overwrite data on LUKS2-temp-4ce57c…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:16:26 +01:00
How to enable full disk encryption after install?
sudo resize2fs -p -M /dev/vda1
Output:
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/vda1 to 3039933 (4k) blocks.
Begin pass…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:15:09 +01:00
How to enable full disk encryption after install?
sudo e2fsck -f /dev/vda1
Output:
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
P…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 22:51:17 +01:00
How to enable full disk encryption after install?

What about Debian 12 GNOME to just encrypt ext4 with LUKS without LVM?

Benjamin_Loison commented on issue Benjamin_Loison/linux#62 2025-01-25 01:09:03 +01:00
Run instantaneously a command when fill a given percentage of the disk

Maybe inotify may help.

Benjamin_Loison opened issue Benjamin_Loison/linux#62 2025-01-25 01:08:42 +01:00
Run a command when fill a given percentage of the disk