Difference between revisions of "Reset root password"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "# Reboot to Grub Menu # Edit Grub Menu: Press e to edit # Alter boot menu <source line lang="bash">FROM: linux /boot/vmlinuz-4-4.0-22-generic root=UUID=43ad24d3-e\ c5b-4...") |
Rafahsolis (talk | contribs) |
||
| Line 13: | Line 13: | ||
</source> | </source> | ||
# Partition is read-write mounted: mount | grep -w / | # Partition is read-write mounted: mount | grep -w / | ||
| + | # Change password: passwd | ||
| + | # Reboot system: exec /sbin/init | ||
Revision as of 10:32, 15 November 2017
- Reboot to Grub Menu
- Edit Grub Menu: Press e to edit
- Alter boot menu
1FROM: 2 3linux /boot/vmlinuz-4-4.0-22-generic root=UUID=43ad24d3-e\ 4c5b-44ee-a099-a88eb9520989 ro quiet splash $vt_handoff CHANGE TO: linux /boot/vmlinuz-4-4.0-22-generic root=UUID=43ad24d3-e\ 5c5b-44ee-a099-a88eb9520989 rw init=/bin/bash 6 7TO: 8 9linux /boot/vmlinuz-4-4.0-22-generic root=UUID=43ad24d3-e\ 10c5b-44ee-a099-a88eb9520989 rw init=/bin/bash
- Partition is read-write mounted: mount | grep -w /
- Change password: passwd
- Reboot system: exec /sbin/init