SDB:Inserting Boot Options Permanently

Şuraya atla: kullan, ara


Version: 8.0 10.0

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 10.0, 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 10.0 or Newer (GRUB)

Start YaST2 and open the following dialog:

  • System
  • Boot Loader
  1. Hightlight "SUSE Linux 10.0" and then click on "Edit".
  2. Insert the requested boot parameters in the input field "Other Kernel Parameters", at the end of the line, separated from existing parameters with a blank.
  3. Confirm with "OK".
  4. "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 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. <keyword>bootoptions,kerneloptions,options,booting,bootparameter,kernelparameter</keyword>