Author Topic: Adding boot options for a specific MD  (Read 668 times)

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Adding boot options for a specific MD
« on: April 30, 2010, 03:59:48 pm »
Hello all, hopefully an easy one.

If I want to add boot options such as "noapic" and/or "nolapic" to an MD, how do I go about doing this? Usually I would achieve this by adding it to the appropriate line in grub, but I don't see how to do it on a machine that boots via PXE.

The BIOS doesn't allow me to specify these boot options.

Any help would be very much appreciated.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: Adding boot options for a specific MD
« Reply #1 on: April 30, 2010, 06:19:07 pm »
Hello,

To do this you must append the noapic command to the kernel line for the particular md.

You will need to be root on the core

Code: [Select]
sudo su -
You will also need to know the MAC address of the MD in question. You can either view this on the Media Directors page in the web admin, or by running:

Code: [Select]
ifconfig | grep HWaddr
Once you have this info, edit the config file located here :

Code: [Select]
cd /tftpboot/pxelinux.cfg
You should see a text file, or config file for your MD's MAC address.
use your favorite editor, I prefer vi:

Code: [Select]
vi MAC:ADDRESS:OF:YOUR:MD
Find this line:

Code: [Select]
APPEND initrd=70/initrd.img quiet splash ramdisk=10240 rw root=/dev/nfs boot=nfs nfsroot=192.168.80.1:/usr/pluto/diskless/YOUR MD NUMBER
And add it before the ramdisk entry.
Save the file, and reboot the MD.

That should sort it for you.

Best Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Adding boot options for a specific MD
« Reply #2 on: May 02, 2010, 11:09:08 pm »
This worked a treat, thank you very much indeed.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps