Linux Rescuing System with Lost Root Password: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux =Procedure= * Boot in "rescue mode" with a rescue CD. * Choose "" * Mount the root filesystem <pre> chroot /mnt </pre> * Chan...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=Procedure= | =Procedure= | ||
Boot in "rescue mode" with a rescue CD. | |||
Choose "Troubleshooting" then "Rescue a CentOS Linux system", then choose 1) (“Continue”). The rescue environment mounts the Linux installation as <tt>/mnt/sysimage</tt>. | |||
Use the root filesystem with [[chroot]]. | |||
<pre> | <pre> | ||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
Change the root password as usual, then | |||
<pre> | |||
exit | |||
</pre> |
Latest revision as of 08:32, 17 April 2017
Internal
Procedure
Boot in "rescue mode" with a rescue CD.
Choose "Troubleshooting" then "Rescue a CentOS Linux system", then choose 1) (“Continue”). The rescue environment mounts the Linux installation as /mnt/sysimage.
Use the root filesystem with chroot.
chroot /mnt
Change the root password as usual, then
exit