mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(boot): avoid ext3 rootfstype and remount root readonly before kexec
This commit is contained in:
parent
6b8aa73507
commit
d0c97c119e
3 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue