在Linux中从GRUB启动到安全模式可以通过以下步骤实现:
linux /vmlinuz-5.11.0-27-generic root=/dev/sda1 rw init=/bin/bash
mount -o remount,rw /
passwd root
mount -o remount,ro /
reboot