Koozali.org: home of the SME Server

Adding kernel parameters to grub

Offline Alex Schaft

  • ***
  • 97
  • +0/-0
Adding kernel parameters to grub
« on: May 02, 2007, 11:15:10 AM »
Hi,

Is there a database entry for adding kernel parameters to grub?

I needed to use pci=nommconf to boot from the cd, and now need to have this added to the boot time parameters of the server
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Adding kernel parameters to grub
« Reply #1 on: May 02, 2007, 04:03:49 PM »
Quote from: "Elax"

I needed to use pci=nommconf to boot from the cd, and now need to have this added to the boot time parameters of the server


Edit /etc/grub.conf.

Do you have rev F Opteron processors?

Offline Alex Schaft

  • ***
  • 97
  • +0/-0
Adding kernel parameters to grub
« Reply #2 on: May 02, 2007, 04:08:59 PM »
Don't think so :). It's a celeron D 3.3Ghz. Intel d916gzis motherboard

I've edited grub.conf, but I'm worried about what would happen when the kernel gets updated (This is a box prepped for a client).

Alex
......

Offline albatroz

  • ****
  • 159
  • +0/-0
Adding kernel parameters to grub
« Reply #3 on: August 05, 2007, 06:49:19 AM »
Did you changed your grub.conf file?
Did it work fine?

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Adding kernel parameters to grub
« Reply #4 on: August 05, 2007, 07:22:27 AM »
Quote from: "Elax"
I've edited grub.conf, but I'm worried about what would happen when the kernel gets updated (This is a box prepped for a client).
It will generate a new grub.conf for the new kernel without your added lines (although your old kernel lines will be there).

smeserver uses the standard redhat kernel install routines and then regenerates the grub.conf from a set of templates (to set the correct hd location for smeserver).

You could try and look at /etc/e-smith/templates/boot/grub/grub.conf/FixRoot and see if you could do something similar for each kernel line.....

Trevor B