diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index 699f0eb..3ea2604 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -4,7 +4,8 @@ [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)) # install ubuntu full ZFS -boot from usb stick in live +Boot the Ubuntu 20.04 Desktop installer/live CD. +Click the “Try Ubuntu” button. launch a terminal ~~~ @@ -42,20 +43,15 @@ to enable zfs encryption and create a swap partition right sized for hibernation bpool remain unencrypt. -~~~ -Boot the Ubuntu 20.04 Desktop installer/live CD. -Click the “Try Ubuntu” button. -Open a terminal and edit “/usr/share/ubiquity/zsys-setup”: - Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. - Before the “zpool create” insert: echo MYPASSWORD | - Before the last line of the command insert these lines: +Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. +Before the “zpool create” insert: echo MYPASSWORD | +Before the last line of the command insert these lines: +~~~ -O recordsize=1M \ -O encryption=aes-256-gcm \ -O keylocation=prompt \ -O keyformat=passphrase \ - -Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. ~~~ ## create swap partition to permit Hibernate @@ -73,6 +69,7 @@ SWAPVOLSIZE=$(( MEMSIZE / 1024 )) init_system_partitions "${TARGET}" "${DISK}${PARTBASE}1" "${DISK}${PARTBASE}${PARTESP}" ~~~ +Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. source : [Linsomniac's Articles - Encrypting ZFS on Ubuntu 20.04](https://linsomniac.gitlab.io/post/2020-04-09-ubuntu-2004-encrypted-zfs/)