PXE boot not taking the init= option

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 10-03-2010
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  
Old 10-04-2010
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  
Old 10-04-2010
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
Solaris 10 boot failed init krishna001 Solaris 3 08-25-2016 11:27 AM
Problem in displaying message on RHEL6 on EFI during PXE boot indus123 Linux 0 10-04-2013 06:34 AM
pxe boot server duckeggs01 Red Hat 3 04-13-2012 11:53 PM
what user executes init on boot? pong3d AIX 2 03-27-2012 05:56 PM
Interactive PXE Boot Menu ceb Red Hat 7 01-20-2012 06:58 PM
PXE boot problems in Solaris 10 vijaytrendz Solaris 2 08-26-2011 04:56 AM
Solaris 10 init 0 and boot disk1 on same command line tording99z28 Solaris 2 07-18-2011 03:34 AM
PXE diskless boot fails yotamhc UNIX for Advanced & Expert Users 8 06-05-2010 07:39 AM
Setting up a PXE Boot Server Colton UNIX for Advanced & Expert Users 2 06-20-2008 06:07 PM
what is PXE boot bare-metal wagmare UNIX for Dummies Questions & Answers 1 04-28-2008 06:36 AM
option followed by : taking next option if argument missing with getopts gurukottur Shell Programming and Scripting 2 03-17-2008 01:46 PM
boot failure-init died mrviking HP-UX 12 02-25-2008 02:00 PM
PXE boot port issue bluepluto HP-UX 0 05-21-2007 02:09 AM
What file contains boot up init details? emplate HP-UX 4 05-04-2005 10:09 AM