fix(boot): avoid ext3 rootfstype and remount root readonly before kexec

This commit is contained in:
vxtls 2026-03-09 09:09:35 -04:00
parent 6b8aa73507
commit d0c97c119e
3 changed files with 10 additions and 4 deletions

View file

@ -26,4 +26,7 @@ else
kexec -l "${current_kernel}" --console-serial \
--append="console=ttyS0 root=/dev/sda1 init=/init rw rootwait"
fi
sync
echo u > /proc/sysrq-trigger || true
mount -o remount,ro / || true
kexec -e