Changing Fedora's shutdown timeouts
Changing Fedora's shutdown timeouts
Posted Apr 19, 2023 20:02 UTC (Wed) by mchehab (subscriber, #41156)In reply to: Changing Fedora's shutdown timeouts by paulj
Parent article: Changing Fedora's shutdown timeouts
Yeah, this is a quite irritating bug. It is almost certainly to happen if an oops happen on Fedora
What I do here, on systems that have troubles rebooting is to run this:
PARTS="$(cat /proc/mounts |grep /dev|cut -d' ' -f 2|grep -v /dev)" history -a sync for i in $PARTS; do echo "Remounting $i as read/only" sudo mount -o remount,ro $i done echo "rebooting..." sync && sudo su -c "echo b > /proc/sysrq-trigger"
