diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index 62800aa..b119079 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -62,6 +62,13 @@ zfs change-key rpool ## create swap partition to permit Hibernate +add theses 2 lines in + +~~~ +MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}') +SWAPVOLSIZE=$(( MEMSIZE / 1024 )) +~~~ + ~~~ # Convert to MiB to align the size on the size of a block SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))