过程参考链接:https://blog.youkuaiyun.com/weixin_45663905/article/details/107293263
其中一个步骤是
把ro改成rw,删掉quiet splash,在后面加上init=/bin/bash
这样改是因为:
When the computer starts, it runs a program called "init", usually found at /bin/init
or /sbin/init
. This program is responsible for all the system startup and creating a usable environment.
Specifying init=/bin/bash
tells the kernel to run /bin/bash
instead (which is a shell). Specifying rw
tells the kernel to boot with the hard disk in read-write mode instead of read-only mode. Traditionally the kernel starts with the disk in read-only mode and a process later on checks the integrity of the disk before switching to read-write.