Jim, 

I download the initrd-kit and tried to build a kernel from scratch on RedHat 9.0 
server. However, I'm getting the following error:

base.c: In function `is_devfsd_or_child':
base.c:1417: structure has no member named `p_opptr'
base.c:1417: structure has no member named `p_opptr'
base.c: In function `devfsd_ioctl':
base.c:3433: warning: unused variable `lock'
make[3]: *** [base.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make[1]: *** [_subdir_devfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/fs'
make: *** [_dir_fs] Error 2


It is possible to mount an existing initrd image and modify the linuxrc script?  If 
so, please provide instructions.

Thx,
TJ

--

--------- Original Message ---------

DATE: Thu, 25 Mar 2004 17:43:51
From: [EMAIL PROTECTED]
To: Teresa Jeremy <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]

>Teresa,
>
>the dhcp root-path option is really a "numbered option" in
>dhcp.  it's quite common that dhcp servers don't support all
>the named options, like 'root-path', but they might support it
>if you know the proper option number.  I think that the
>option number for root-path is 17, so maybe you can specify it
>that way.
>
>If not, here's the options that I can see:
>
>1) Don't use the router/firewall as your dhcp server, use Linux instead.
>
>2) If you can't do #1, then you could create a kernel command line
>   parameter, maybe call it 'ROOTPATH', and set it with the 'append'
>   directive, like you are trying for nfsroot.
>   BUT, this would require a change to the initrd, to pay attention
>   to that new parameter.  It actually wouldn't involve dhclient at
>   all, because kernel command line arguments that don't get swallowed
>   up by the kernel actually get passed on to the /linuxrc script
>   as environment variables.  So, within the /linuxrc script that
>   exists inside the initrd, you'd end up with an env variable
>   called 'ROOTPATH' and it's value would be:
>  
>         192.168.0.29:/opt/ltsp/i386
>
>   So, you'd need to modify /linuxrc to do something with that info,
>   and not bomb out because dhclient didn't get a root-path.
>
>
>Jim McQuillan
>[EMAIL PROTECTED]
>
>
>
>
>On Thu, 25 Mar 2004, Teresa Jeremy wrote:
>
>> I'm using a router/firewall appliance as my dhcp server.  As a result, it is not 
>> possible to specify the root-path DHCP option.  
>> 
>> Is it possible to force my  ltsp RAM image to use  nfsroot directive in my 
>> pxelinux.cfg\default file instead of looking for it in the DHCP offer packet?
>> 
>> I've tried
>> 
>> label lts
>>      kernel bzImage-2.4.22-ltsp-1
>>         append init=/linuxrc rw root=/dev/ram0 nfsroot=192.168.0.29:/opt/ltsp/i386 
>> initrd=initrd-2.4.22-ltsp-1.gz 
>> 
>> However, the dhclient  apparents to ignore this parameter.
>> 
>> 
>> Thx.
>> TJ
>> 
>> 
>> 
>> Need a new email address that people can remember
>> Check out the new EudoraMail at
>> http://www.eudoramail.com
>> 
>> 
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IBM Linux Tutorials
>> Free Linux tutorial presented by Daniel Robbins, President and CEO of
>> GenToo technologies. Learn everything from fundamentals to system
>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>> _____________________________________________________________________
>> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>> 
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_____________________________________________________________________
>Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>For additional LTSP help,   try #ltsp channel on irc.freenode.net
>
>



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to