News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Adding boot options for a specific MD

Started by purps, April 30, 2010, 03:59:48 PM

Previous topic - Next topic

purps

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 :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

seth

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
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

[url="http://wiki.linuxmce.org/index.php/User:Seth"]http://wiki.linuxmce.org/index.php/User:Seth[/url]

purps

This worked a treat, thank you very much indeed.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]