Novell Home

Inserting Boot Options Permanently

Knowledgebase

Situation

You want to enter the boot options permanently so they are loaded automatically every time the system boots.

Procedure

These options can be inserted in the boot loader configuration file. Then they are automatically activated at every system start. The options can be inserted with YaST2 or manually with a text editor.

In the following lines, the procedure with YaST2 for SuSE Linux versions 8.2, 8.1, and 8.0 is described.

SuSE Linux 8.0 and older versions use LILO as the boot loader. From SuSE Linux version 8.1, GRUB is the standard boot loader (with some rare exceptions).

Procedure with YaST2 in SuSE 8.2 or Newer (GRUB)

Start YaST2 and open the following dialog:

  • System

  • Boot Loader Configuration

  1. Mark "Default Section linux" in the selection window then press "Edit".

  2. In the next mask, mark the line starting with "linux" and press "Edit".

  3. Select the line starting with "kernel" and press "Edit" again.

  4. Insert the requested boot parameters in the input field "Current Option: kernel", separated from existing parameters with a blank. Confirm with "OK" three times.

  5. "Finish" the configuration. Changes will be saved.

Now exit YaST2. When booting the next time, the entered boot parameter will be active.

Procedure with YaST2 in SuSE Linux 8.1 (GRUB)

Start YaST2 and open the following dialog:

  • System

  • Boot Loader Configuration

  1. Select "Modify Current Configuration" and confirm with "Next".

  2. Select the location where the boot loader must be installed.

  3. Skip the dialog "Global Boot Loader Properties" with "Next".

  4. Select "linux" in the following dialog and press "Edit".

  5. In the dialog "Linux section properties", select "Expert settings...".

  6. Click "Kernel" then "Edit".

  7. Insert the requested boot parameters in the input field "Option value", separated from existing parameters with a blank. Confirm with "OK" then press "Next" three times.

  8. "Finish" the configuration and answer the confirmation question with "Yes".

Now exit YaST2. When booting the next time, the entered boot parameter will be active.

Procedure with YaST2 in SuSE Linux 8.0 and Older Versions (LILO)

Start YaST2 and open following dialogs:

  • System

  • Boot loader configuration

  1. Select "Modify current configuration" and confirm with "Next".

  2. Select the location where the boot loader should be installed.

  3. Skip the dialog "Global Boot Loader Properties" with "Next".

  4. In the following dialog, select "linux" and press "Edit".

  5. Select "Expert settings" from the dialog "Linux section properties".

  6. If the option "append" is available, select it and press "Edit".

    • Insert the requested boot parameters in the input field "Option value", separated from existing parameters with a blank, and confirm with "OK"

  7. If the option "append" is not available, click "Add option".

    • Select "append" as "Option name" and insert the requested boot parameter in "Option value". Confirm with "OK".

  8. This continues to the configuration dialog of LILO sections. Confirm again with "Next".

  9. "Finish" the configuration and answer the confirmation question with "Yes".

You can exit YaST2 now. When booting the next time, the entered boot parameter will be active.

Manual Procedure

If you use GRUB as your boot loader (from SuSE 8.1), open the file /boot/grub/menu.lst as the user root with an editor of your choice, search for the title linux section, and insert the parameter in the line beginning with kernel. This might look like this:

title linux
   kernel (hd0,0)/vmlinuz root=/dev/hda3  vga=791 ADDITIONAL_BOOT_PARAMETER
   initrd (hd0,0)/initrd 

When booting the next time, GRUB reads the entry.

If you use LILO as your boot loader (up to SuSE 8.0), insert the parameter in the file /etc/lilo.conf. Append the line

append="ADDITIONAL_BOOT_PARAMETER"

to the section that resembles

image = /boot/vmlinuz
    label = linux
    initrd = /boot/initrd
    root = /dev/hda3

If the append line already exists in this section, insert the requested boot parameter separated with a blank from the existing entries. After saving the file, use the command lilo to reinstall the boot loader.


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© 2014 Novell