|
Boot Loaders Discuss GRUB, BURG, UEFI, GPT, Mac EFI, GRUB2 and other topics about boot loaders. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#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. Thanks. |
Sponsored Links | ||
|
#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?
|
Sponsored Links | ||
|
#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 :-( |
#4
|
||||
|
||||
Glad you got it working.
|
Sponsored Links | ||
|
![]() |
Thread Tools | Search this Thread |
Display Modes | |
![]() |
||||
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 |
|