How to edit the linuxrd:

gunzip /tftpboot/lts/2.4.26-ltsp-2/initrd-2.4.26-ltsp-2.gz

mount -o loop /tftpboot/lts/2.4.26-ltsp-2/initrd-2.4.26-ltsp-2 /mnt/iso

(you have to create a directory where to mount the image, I call ist /mnt/iso)

then you can cd to /mnt/iso and edit everthing you want, especially the NFS 
mount section, as described in:
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Troubleshooting-mount-problems

after your editing:

umount /mnt/iso
gzip /tftpboot/lts/2.4.26-ltsp-2/initrd-2.4.26-ltsp-2


Thats it. But keep a Backup of your initrd before you edit something :-)

I have done this, but I have another Problem now:
on the machines I had the problem with Pivot root Mounting, I face now a very 
bad performance on the Xserver.

For me it seems, that there are packets lost. The mouse and the keyboard have 
a dely on input, and the screen output is also very, very delayed... So in 
Fact I canīt work on this clients...

Is there a way to manage Packet size between Xserver and clients?

thanks
Robert






Am Freitag, 25. Februar 2005 10:47 schrieb Marvin T. Pascual:
> Cristi Mitrana <[EMAIL PROTECTED]> said:
> >  In the kernel package you have:
> >  - a directory with the kernel name used for PXE booting the kernel
> > which contains the kernel and the initrd image, with the pxe config
> > file also.
> >  - a NBI image with the kernel and initrd altogether for NBI booting
> > (via Etherboot)
> >
> >  You can 'gunzip' the initrd image and mount-it via '-oloop' and
> > you'll find the linuxrc script there. After modifying it you can
> > (optionally) gunzip-it back and place it under the PXE directory for
> > booting it.
> >
> >  If you don't use PXE for net booting the kernel then install mknbi
> > (from the Etherboot site) and then take a look at 'mkelf-linux';
> > basically you build the NBI/ELF image for etherboot to load with :
> >  mkelf-linux --output bzimage-2.x.y-ltsp-t --apend 'root=/dev/ram0 rw
> > init=/linuxrc' kernel_file new_initrd_file.
>
> I'm not using PXE for all of my diskless workstations.  They all boot
> through a floppy disk Etherboot images.
>
> >  Another approach  would be to modify /opt/ltsp[4]/i386/etc/rc.local
> > to 'remount' the root partition via NFS with the new options:
> >  mount -oremount,rsize=x,wsize=x /
> > but I never tested this. You don't have to modify any 'linuxrc'
> > scripts and kernel images.
>
> I don't think remounting will be a good idea unless it will not affect the
> boot process of the diskless workstation.
>
> Actually, I just read the wiki about [1]NFS problem and it tells to modify
> the /linuxrc script.
>
> Is there other way to do this?  Or, how can I directly modify the /linuxrc
> script?  Again, I'm not booting through PXE here.
>
> Thanks in advance.
>
> [1] http://wiki.ltsp.org/twiki/bin/view/Ltsp/Troubleshooting-mount-
> problems#Reduce_the_UDP_packet_size
>
> ---
> MARVIN T. PASCUAL
> E-mail: mpascual AT qsr DOT com DOT ph
> Tel. No. +63 2 9200189
> Mobile No. +63 918 4115188
> Yahoo! Messenger ID: bintut
> GNU/Linux User No. 247127
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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