At the boot menu, press e to edit the existing kernel . Then, go to the kernel line (the line starting with linux16) .
Then add the statement rd.break at the end as shown below:
Then press Ctrl-x to start the boot process
Then mount the /sysroot/ in read/write mode. By default it mount as a read only mode.
Then execute the chroot command on the /sysroot partition
Now Change the root password by using the passwd command
Then execte the command as like below
Enjoy with new password.
Không có nhận xét nào:
Đăng nhận xét