Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 03. ſeptember 2009, 15:28 pm

Tittel: Linux: Booting with 'single' argument requires password
Skrevet av: ATC03. ſeptember 2009, 15:28 pm
When trying to recover a lost password, I tried adding the kernel argument 'single' to boot into single user mode. Unfortunately, the init script asks for the root password so I can't reset the password.
Tittel: [Solved] Linux: Booting with 'single' argument requires password
Skrevet av: ATC03. ſeptember 2009, 15:28 pm
Instead of 'single', use the kernel argument 'init=/bin/sh' to prevent the braindead init script from running. Instead, you get a nice little shell prompt.

Notice that only your root partition will be mounted, and it will be read-only. You can make it read-write using this command: "mount -o rw,remount /".