LinuxMCE Forums
May 24, 2013, 11:35:28 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Adding boot options for a specific MD  (Read 526 times)
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« on: April 30, 2010, 02: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.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
seth
Guru
****
Posts: 478


A day w/o LinuxMCE is like a day w/o sunshine!


View Profile
« Reply #1 on: April 30, 2010, 05: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:
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:
ifconfig | grep HWaddr

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

Code:
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:
vi MAC:ADDRESS:OF:YOUR:MD

Find this line:

Code:
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
Logged

".....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: 1270


If it ain't broke, tweak it


View Profile
« Reply #2 on: May 02, 2010, 10:09:08 pm »

This worked a treat, thank you very much indeed.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!