Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

PXE boot not taking the init= option

Login or Register to Reply

Thread Tools Search this Thread
# 1  
PXE boot not taking the init= option

Hi Experts,

I am doing PXE boot for my GNU/Linux device and pxelinux.0 loads the kernel as well as initrd images I have mentioned in the config file but it looks like it is not considering the init= option. Instead it starts the default INIT program.

I wanted my customized init program to be called instead of default INIT.

This is the pxelinux.cfg file,

label kernel
kernel bzImage
append ramdisk_size=200000 initrd=initrd.gz init=/sbin/install

Any help on this is much appreciated.

# 2  
You appear to be doing a PXELINUX boot, not a PXE boot. I am surprised that you have a configuration file called "pxeboot.cfg" as that is normally the name of a subdirectory in which the actual configuration file resides, i.e /tftpboot/pxelinux.cfg/default. Can you please clarify?
# 3  
Thanks for the response.

yes, my config file is /tftpboot/pxelinux.cfg/default only.

After few trail and error, finally got it working by adding rdinit=/sbin/install as well as init=/sbin/install to the append line. Not sure how it is working now :-(
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
pxe boot server
Hi Hoping someone can help ove setup a pxe/dhcp boot server for auto installs on centos My server seems to be providing dhcp fine but the installation fails to progress when it reaches the pxe boot menu. I make my selection and nothing happens. I am serving the media via http from the same...... Red Hat
Red Hat
Interactive PXE Boot Menu
I have been asked to modify our PXE server such that there will be only one entry in the pxelinux.cfg/default file, where the same kernel and initrd.img will be used regardless of what operating system is to be installed, and the user will type in the path to the kickstart file that will be used. ...... Red Hat
Red Hat
PXE diskless boot fails
Hi, I am trying to setup a server for a diskless boot of a computer class (with ubuntu) I followed the guidelines in I have two computers: one is the server I installed and the other is my macbook on which I run a virtual machine...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
Setting up a PXE Boot Server
I've set up a PXE boot server and I'm having a slight snag in the booting process. On the client machine, DHCP renders fine and TFTP seems to begin but then the system hangs. On the server, the error message "Client does not accept options" occurs -- which from reading online is a common message...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
option followed by : taking next option if argument missing with getopts
Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)...... Shell Programming and Scripting
Shell Programming and Scripting

Featured Tech Videos