diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-01-06 18:24:47 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-01-06 18:24:47 -0800 |
commit | 5a1cfb2449f29b2223f2fafaf2957de470caf921 (patch) | |
tree | b9d973a2761ad9342f32579d141bde1675966412 | |
parent | 390f69110db61372bd71fabe8a0211f0f2377ef6 (diff) |
FDE
-rw-r--r-- | etc/crypttab | 14 | ||||
-rw-r--r-- | etc/crypttab.initramfs | 1 | ||||
-rw-r--r-- | etc/fstab | 14 |
3 files changed, 29 insertions, 0 deletions
diff --git a/etc/crypttab b/etc/crypttab new file mode 100644 index 00000000..902c1e99 --- /dev/null +++ b/etc/crypttab @@ -0,0 +1,14 @@ +# Configuration for encrypted block devices. +# See crypttab(5) for details. + +# NOTE: Do not list your root (/) partition here, it must be set up +# beforehand by the initramfs (/etc/mkinitcpio.conf). + +# <name> <device> <password> <options> +# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1 +# data1 /dev/sda3 /etc/mypassword2 +# data2 /dev/sda5 /etc/cryptfs.key +# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 +# vol /dev/sdb7 none + +home UUID=869e19c8-ece3-46ee-8650-755fc73a6254 diff --git a/etc/crypttab.initramfs b/etc/crypttab.initramfs new file mode 100644 index 00000000..119203d4 --- /dev/null +++ b/etc/crypttab.initramfs @@ -0,0 +1 @@ +root UUID=c6017a51-e03f-488b-8fdc-50ea09b8b7e4 none password-echo=no diff --git a/etc/fstab b/etc/fstab new file mode 100644 index 00000000..e0fb40ce --- /dev/null +++ b/etc/fstab @@ -0,0 +1,14 @@ +# Static information about the filesystems. +# See fstab(5) for details. + +# <file system> <dir> <type> <options> <dump> <pass> +# /dev/mapper/root +UUID=e8eac98f-5a78-46fd-8d1f-e73d978c4e74 / ext4 rw,relatime 0 1 + +# /dev/sdb1 +UUID=86f035fe-aca9-4942-9d14-7473081352f8 /boot ext4 rw,relatime 0 2 + +# /dev/mapper/home +UUID=a2aa24a7-27a4-419f-bbae-3d8c12331af8 /home ext4 rw,relatime 0 2 + +/swapfile none swap defaults 0 0 |