Skip to content

Commit

Permalink
Mount /proc before Linux-to-Linux kexec
Browse files Browse the repository at this point in the history
kexec needs /proc/iomem
  • Loading branch information
eduardosm committed Dec 28, 2023
1 parent 48fdfce commit a53322a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions steps/jump/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if [ "${KERNEL_BOOTSTRAP}" = True ]; then
kexec-linux "/dev/ram1" "/boot/linux-4.9.10" "!$(command -v gen_init_cpio) /initramfs.list"
else
mkdir /etc
test -d "/proc" || (mkdir /proc && mount -t proc proc /proc)
# kexec time
if [ "${BARE_METAL}" = True ]; then
kexec -l "/boot/linux-4.9.10" \
Expand Down

0 comments on commit a53322a

Please sign in to comment.