Boot Loaders

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

PXE boot not taking the init= option

👤 Login to reply

    #1  
Old 10-03-2010
learn more's Unix or Linux Image
learn more learn more is offline
Registered User
 
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.

Thanks.
Sponsored Links
    #2  
Old 10-04-2010
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
 
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?
Sponsored Links
    #3  
Old 10-04-2010
learn more's Unix or Linux Image
learn more learn more is offline
Registered User
 
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
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
 
Glad you got it working.
Sponsored Links
👤 Login to reply

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
Changing Ubuntu 10.4 Boot Loader Option dearanik UNIX for Advanced & Expert Users 1 08-31-2010 08:47 AM
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 11:07 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?