You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/serial-console-grub-single-user-mode.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ If you have set up GRUB and root access with the instructions above, then you ca
60
60
1. Press Ctrl + X to exit and reboot with the applied settings
61
61
1. You will be prompted for the administrator password before being able to enter single user mode - this is the same password you created in the instructions above
### Enter single user mode without root account enabled in RHEL
66
66
If you did not go through the steps above to enable the root user, you can still reset your root password. Use the following instructions:
@@ -77,7 +77,7 @@ If you did not go through the steps above to enable the root user, you can still
77
77
1. Once you boot into single user mode, type in `chroot /sysroot` to switch into the `sysroot` jail
78
78
1. You are now root. You can reset your root password with `passwd` and then use the instructions above to enter single user mode. Type `reboot -f` to reboot once you are done.
> Note: Running through the instructions above will drop you into emergency shell, so you can also perform tasks such as editing `fstab`. However, the generally accepted suggestion is to reset your root password and use that to enter single user mode.
83
83
@@ -132,7 +132,7 @@ GRUB access in SLES requires bootloader configuration via YaST. To do this, foll
132
132
1. To enter GRUB, reboot your VM and press any key during boot sequence to make GRUB stay on screen
133
133
- The default timeout for GRUB is 1s. You can modify this by changing the `GRUB_TIMEOUT` variable in `/etc/default/grub`
You will be automatically dropped into emergency shell if SLES cannot boot normally. To manually enter the emergency shell, use the following instructions:
0 commit comments