[last updated: 2024-11-28]
Linux home page
Linux Commands
-----
These instructions are from: (link to:) recover from lost password
- Power-down and restart your computer.
- Press and hold the Shift key until the GRUB menu is displayed
for 4600:
holding shift did nothing
F2 goes to "Startup menu", NOT GRUB...
F12 goes to Boot menu...
selecting "Bios setup" goes back to the "startup settings menu...
BUT ... holding shift and repeatedly pressing esc worked.
- Select the listing for your Linux installation
- Press 'e' to edit.
- Use the arrow keys to navigate to a line that looks similar to this:
linux /boot/vmlinuz-[kernel version]-generic root=UUID=[letters and numbers]\[letters and numbers] ro quiet splash vt.handoff=7
- Change "ro quiet splash vt.handoff=7"
to "rw init=/bin/bash"
- Press F10 to boot your system.
Your system will boot up and give you a root shell prompt: ...#
- Type in
...# passwd [your-user-name]
- (if you have also forgotten your username, type cat /etc/passwd first to get a list of all users, yours should be at the end)
- Enter your new desired password when prompted, and again to confirm when prompted
- Power-down and restart your computer.
.
.
.
eof