When you modify the GRUB kernel behavior by editing the GRUB menu at boot time, the changes do not persist over a system reboot. Default boot behavior is restored the next time you boot the system.
Reboot the system.
When the boot sequence begins, the GRUB main menu is displayed.
Use the arrow keys to select the boot entry to edit.
Type e to access the GRUB edit menu.
Select the kernel or kernel$ line in this menu.
Type e to add boot arguments to the line.
Type any additional boot arguments.
Press Return to save your changes and return to the previous menu.
Pressing the Escape key returns you to the GRUB main menu without saving your changes.
To boot the system, type b.
Changes you make take affect when the system is booted.
To boot a 32-bit kernel on a 64-bit capable system, add the kernel/unix argument.
grub edit> kernel /platform/i86pc/multiboot kernel/unix |
To redirect the serial console to ttyb, add the -B console=ttyb argument.
grub edit> kernel /platform/i86pc/multiboot -B console=ttyb |
Alternatively, you can use input-device/output-device property, as shown in the following example:
grub edit> kernel /platform/i86pc/multiboot -B input-device=ttyb,output-device=ttyb |
This example shows how you would override the serial line speed:
grub edit> kernel /platform/i86pc/multiboot -B ttyb-mode="115200,8,n,1,-" |
Caution: In the preceding example, the property value contains commas, which is also a property separator. To avoid confusing the property parser, use double quotation marks around the entire property value.