User Tools

Site Tools


passwords:recover_root_password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
passwords:recover_root_password [2017/02/13 10:15] – [With GRUB bootloader] peterpasswords:recover_root_password [2019/12/01 22:05] (current) – removed peter
Line 1: Line 1:
-====== Passwords - Recover root password ====== 
- 
-===== With GRUB bootloader ===== 
- 
-  - If you have a GRUB password configured, type 'p' and enter the password. 
-  - Select your linux kernel, and type 'e' for edit. 
-  - Select the line that starts with 'kernel' and type 'e' to edit the line. 
-  - Go to the end of the line and type 'single' and press 'Enter' Alternatively instead of 'single' try use '1'.\\ 
-    * This will show:  **grub append> ro root=/dev/lvm/logvol01 rhgb quiet 1** 
-  - Type 'b' to boot into single user mode. 
-  - Use 'passwd' command to change root password. 
-  - Type 'exit'. 
-  - Login with new password. 
- 
-===== With Bootable CD ===== 
- 
-  - Boot with your bootable CD. 
-  - Type 'linux rescue' after 'boot:' prompt and press 'Enter'. 
-  - In 'CD Found' window, choose 'skip'. 
-  - In 'Choose Language' window, choose 'English'. 
-  - In 'Keyboard Type' window, choose 'us'. 
-  - In 'Rescue' window, choose 'continue'. 
-  - In second 'Rescue' window, choose 'OK'. 
-  - Use 'chroot /mnt/sysimage' command to change root file system. 
-  - Use 'passwd' command to change root password. 
-  - Use 'exit' command to exit from chroot mode. 
-  - Use 'exit' command again for reboot. 
-  - Remove bootable CD. 
-  - Login with new password 
- 
- 
- 
  
passwords/recover_root_password.1486980925.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki