Commit a5f1bed0 authored by Natanael Copa's avatar Natanael Copa

initram: start emergency shell if failed to switch to specified root

parent 311fd299
......@@ -125,6 +125,8 @@ if [ -n "$KOPT_root" ]; then
exec /bin/busybox switch_root $NEWROOT $chart_init /sbin/init $KOPT_init_args
echo "initramfs emergency recovery shell launched"
exec /bin/busybox sh
# locate boot media and mount it
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment