On Fri, 25 Feb 2005 09:47:28 -0000, Marvin T. Pascual <[EMAIL PROTECTED]> wrote: > 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.
Then read carefully my message, it's there. More explicitely: [snip] tar tzf ltsp-kernel-1.4-0-i386.tgz vmlinuz-2.4.26-ltsp-2 2.4.26-ltsp-2/ 2.4.26-ltsp-2/bzImage-2.4.26-ltsp-2 2.4.26-ltsp-2/initrd-2.4.26-ltsp-2.gz 2.4.26-ltsp-2/pxelinux.0 2.4.26-ltsp-2/pxelinux.cfg/ 2.4.26-ltsp-2/pxelinux.cfg/default ltsp % [snip] gunzip initrd-2.4.26-ltsp-2.gz and loop-mount the resulting file ( initrd-2.4.26-ltsp-2 ) then in the directory where you mounted the file you will find the 'linuxrc' script. > > 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. Why would you thing it will affect the boot process ? It does nothing more than altering the mount options and putting in those that you need. > Actually, I just read the wiki about [1]NFS problem and it tells to modify > the /linuxrc script. mitu ------------------------------------------------------- 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
