On Fri, Dec 19, 2008 at 04:13:42PM +0530, Nataraj S Narayan wrote:
> This is some where in the middle of my Ltsp server on XP experiment.

that doesn't sound very fun... :)
 
> I finally managed to get vmlinuz -2.6.26-1-486,
> initrd.img-2.6.26-1-486 and a i386.img (file system). For this I used
> Debian Lenny and installed ltsp-server package, and then
> ltsp-build-client  --create-ext2-image.

i haven't really tested this much since i wrote that feature...

note that the --create-ext2-image option is a little different than the NBD
image that ltsp-update-image creates (or --sqaushfs-image). it uses
nbd-client's initramfs-tools hooks, and a plain ext2 filesystem, which can be
tweaked by mounting the image. it was noticeably faster than NFS, too...
 
>  I wish to boot the ltsp-kernel using grub and load the file system
> (i386.img) over the network from a server (which ever).
> 
>  I have copied the said files except i386.img to another debian
> lenny's /boot, and modified the menu.lst in /boot/grub  and created a
> new title.  But how do i specify the root fs?

why not just network boot them?
 
> Normally it is 'root (hd0,0)' . How do i change it so that the
> i386.img gets loaded from 192.168.0.196:/opt/ltsp/image/ ?

you'll need nbdrootd configured in /etc/inetd.conf:

  update-inetd --group LTSP --add "2000 stream tcp nowait nobody /usr/sbin/tcpd 
/usr/sbin/nbdrootd"

the commandline arguments you'll need to pass, which should already be
configured in /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default if you're using
the typical network booting:

  root=/dev/nbd0 ip=dhcp boot=local nbdroot=192.168.0.196,2000

live well,
  vagrant

------------------------------------------------------------------------------
_____________________________________________________________________
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