It is currently Wed Oct 22, 2014 3:58 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Using UBCD With Headless Servers
PostPosted: Tue Mar 08, 2011 6:44 am 
Offline

Joined: Tue Mar 08, 2011 6:37 am
Posts: 1
I have a number of headless servers with no feasible way of getting monitors or keyboards attached. I customized UBCD with an image that automatically performs the desired commands, but I need to have UBCD either automatically run my custom image, or have UBCD output the menu to the serial port (I have a laptop with a serial port) so I can select the appropriate image to be run.


Top
 Profile  
 
 Post subject: Re: Using UBCD With Headless Servers
PostPosted: Thu Mar 10, 2011 8:49 pm 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 462
Location: California, USA
Edit the file located in (for UBCD 5.x):
For ISOLINUX (CD):
Code:
ubcd-extract/boot/isolinux/isolinux.cfg

For SYSLINUX (UFD [USB FLASH DRIVE]):
Code:
ubcd-extract/boot/syslinux/syslinux.cfg


Change the options at below the 'LABEL main' line to boot what you want it to boot.

Other Options:
Code:
TIMEOUT x - set timeout in 1/10 sec. If user don't type anything at boot prompt in time set by TIMEOUT, then DEFAULT or ONTIMEOUT will be executed ( see ONTIMEOUT for details).

ONTIMEOUT {label name or kernel options} - same as DEFAULT. If ONTIMEOUT option is set, then DEFAULT is used just if user hits ENTER without options at boot prompt.


If using SYSLINUX, just add the timeout code of 1 sec and make it choose Ontimeout ...never tried it. Some testing I'm sure would be a good idea..

Icecube please feel free to correct me if I am wrong.

Let me know if you have any other questions.

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject: Re: Using UBCD With Headless Servers
PostPosted: Fri Mar 11, 2011 4:45 am 
Offline

Joined: Sat May 08, 2010 5:26 am
Posts: 768
iwoloschin wrote:
...have UBCD output the menu to the serial port (I have a laptop with a serial port) so I can select the appropriate image to be run.


If the only purpose/need is to automatically run a specific image, then StopSpazzing's suggestion should be enough.

There are additional syslinux parameters that COULD be useful, like TOTALTIMEOUT for example.

In addition, UBCD51a1 contains an updated ubcd2iso script that can run UBCD with grub4dos as default ("/g" parameter) instead of syslinux being the default.

If you need further control (besides automatically running a specific image), then both syslinux and grub4dos have "remote serial port console" related parameters. You could use some web search method to search for:

- syslinux remote serial port console
- grub4dos remote serial port console

to see which of the available menus is more suitable for your needs. But again, this is only worth if you need additional control besides automatically running a specific image.

The problem to find the complete info so to successfully make it work is that both, syslinux nor grub4dos, have ALL the info sorted and organized. You may need to find the specific parameters, and then search also for additional workarounds (like just for one example the TOTALTIMEOUT that I mentioned before, in relation to possible serial-port problems).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group