Start the linux boot prompt appears, allows you to enter boot: linuxinit = xxx xxx is an executable file name, this time, linux will use this file for the process to replace the traditional process, init, in other words, if we lose the password, enter the boot: linuxinit = rw at/bin/s linux initiates a root shell instead of init process, in which case the user interface looks like the single-user interface.
Rw named mount up root partition as read-write (default is not writable). at this point use the passwd command to change root password. But you need to call the sync command to synchronize. Next start.
No comments:
Post a Comment