On systems where you have access to the system boot console, you can set boot
parameters before Oracle Linux boots.
To make a temporary change to the boot parameters before booting a kernel, follow these
steps:
-
Select the kernel in the GRUB boot menu.
When the GRUB boot menu appears at the beginning of the boot process, use the arrow
keys to highlight the required kernel and press the space bar.
-
Press E to edit the boot configuration for the kernel.
-
Move the cursor to the line starting with
linux.
Use the arrow keys to bring the cursor to the end of the line that starts with
linux, which is the boot configuration line for the kernel.
-
Change the boot parameters.
You can add parameters such as systemd.target=runlevel1.target, which
instructs the system to boot into the rescue shell.
See Kernel Boot Parameter Reference for more
information about kernel parameters.
-
Press Ctrl+X to boot the system.
The kernel boots with the new parameters that you specified on the kernel command
line. As noted, the changes are temporary and are only active for the current boot session.
If you reboot the system, the changes are reverted. You might want to update the GRUB
configuration to make changes permanent. Use grubby to achieve this. See
Using grubby to Manage Kernels.