mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
c0aeb614ec
mount-usb is better
15 lines
636 B
Plaintext
15 lines
636 B
Plaintext
mount /dev/sda1 /boot
|
|
mount -o remount,rw /boot
|
|
rm /boot/kexec_*
|
|
mount-usb
|
|
mkdir -p /media/gpg_keys
|
|
gpg --home=/media/gpg_keys --card-edit
|
|
gpg --home=/media/gpg_keys --export --armor e@mail.address > /media/gpg_keys/public.key
|
|
gpg --home=/media/gpg_keys --export-secret-keys --armor e@mail.address > /media/gpg_keys/private.key
|
|
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/public.key" -f /media/gpg_keys/public.key
|
|
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/private.key" -f /media/gpg_keys/private.key
|
|
mount -o remount,ro /media
|
|
flash.sh /media/coreboot.com
|
|
cbmem --console | grep '^ME'
|
|
cbmem --console | less
|