Skip to content

Commit 3d0e60e

Browse files
committed
update script to reference other script, add details about recovery console
1 parent 884bb22 commit 3d0e60e

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

src/core-switch/scripts/install-sme-kernel.sh

+2-12
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,5 @@ cd ~
3535
sudo mv "/boot/vmlinuz-${VERSION}.tmp" "/boot/vmlinuz-${VERSION}"
3636
sudo dracut -f --regenerate-all -v
3737

38-
echo "now you'll need to reboot and configure/update clevis/luks, after typing your passwords"
39-
echo "for example,"
40-
echo " sudo clevis luks bind -d /dev/sda3 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
41-
echo " sudo clevis luks bind -d /dev/sda4 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
42-
echo " sudo clevis luks bind -d /dev/md0 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
43-
echo "or"
44-
echo " sudo clevis luks unbind -d /dev/sda3 -s 1"
45-
echo " sudo clevis luks unbind -d /dev/sda4 -s 1"
46-
echo " sudo clevis luks unbind -d /dev/md0 -s 1"
47-
echo " sudo clevis luks bind -d /dev/sda3 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
48-
echo " sudo clevis luks bind -d /dev/sda4 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
49-
echo " sudo clevis luks bind -d /dev/md0 tpm2 '{\"pcr_bank\":\"sha256\",\"pcr_ids\":\"0,1,2,3,4,5,6,7\"}'"
38+
echo "now you'll need to reboot and run:"
39+
echo " UNBIND=1 ~/install/scripts/store-hdd-passphrases.sh"

switch.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ to get out of an unbootable situation, I needed to:
322322
1. Boot and most likely, repeat.
323323

324324
I had this process down to about 10 minutes in the end. The reboots were the time killer. 2 minutes
325-
every time.
325+
every time. Once I had a fairly stable basic OS, I was able to use a LiveCD recovery console to
326+
mount the existing LUKS parititons to gain access to the tools I needed to fix my issues.
326327

327328
Here is how the solution works:
328329

0 commit comments

Comments
 (0)