Home Man
Today's Posts

Discuss GRUB, BURG, UEFI, GPT, Mac EFI, GRUB2 and other topics about boot loaders.

PXE boot not taking the init= option

Login 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 :-(
# 4  
Old 10-04-2010
Glad you got it working.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10 boot failed init krishna001 Solaris 3 08-25-2016 10:27 AM
what user executes init on boot? pong3d AIX 2 03-27-2012 04:56 PM
Solaris 10 init 0 and boot disk1 on same command line tording99z28 Solaris 2 07-18-2011 02:34 AM
init-script failing because of /etc/rc.d/init.d/functions bakunin Red Hat 1 05-06-2011 07:46 AM
Changing Ubuntu 10.4 Boot Loader Option dearanik UNIX for Advanced & Expert Users 1 08-31-2010 08:47 AM
How to I change init levels after typing init 1 z1dane Linux 8 01-06-2010 07:37 PM
option followed by : taking next option if argument missing with getopts gurukottur Shell Programming and Scripting 2 03-17-2008 12:46 PM
boot failure-init died mrviking HP-UX 12 02-25-2008 01:00 PM
What file contains boot up init details? emplate HP-UX 4 05-04-2005 09:09 AM

All times are GMT -4. The time now is 02:39 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password