LinuxMCE Forums

General => Users => Topic started by: purps on April 30, 2010, 03:59:48 PM

Title: Adding boot options for a specific MD
Post by: purps 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.
Title: Re: Adding boot options for a specific MD
Post by: seth 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

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:

ifconfig | grep HWaddr

Once you have this info, edit the config file located here :

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:

vi MAC:ADDRESS:OF:YOUR:MD

Find this line:

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
Title: Re: Adding boot options for a specific MD
Post by: purps on May 02, 2010, 11:09:08 PM
This worked a treat, thank you very much indeed.