[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alix thin client doesn't boot with Lenny





On 4 March 2010 16:34, Petter Reinholdtsen <pere@hungry.com> wrote:
[Nigel Barker]
> Sorry, but how do I do that?

I have not tested, but I expect this change to work.  Modify
/var/lib/tftpboot/debian-edu/ltsp-diskless.cfg, which originially have
this content:

=====================================================================================
LABEL ltsp-diskless
       MENU    LABEL  LTSP ^diskless workstation
       KERNEL ltsp/i386/vmlinuz
       APPEND initrd=ltsp/i386/initrd.img nfsroot=/opt/ltsp/i386 boot=nfs ro quiet 3
=====================================================================================

Change the nfsroot variable to use ltspserver:/opt/ltsp/i386, like
this:

       APPEND initrd=ltsp/i386/initrd.img nfsroot=ltspserver:/opt/ltsp/i386 boot=nfs ro quiet 3

This assume the main-server was installed as a combined server, making
the LTSP kernel and initrd present on the disk.  If the files are not
present, you need to copy them to the main server (or do a much more
complex setup with PXE handover to the diskless workstation server,
which I will not try to describe here).


I copied ltsp from /var/lib/tftpboot on ltspserver00 into the same dir on tjener.

I also copied over /var/lib/tftpboot/debian-edu/default-diskless.cfg  which didn't exist on tjener either. It isn't as above, but like this after making the change:

 DEFAULT ltsp/i386/vmlinuz initrd=ltsp/i386/initrd.img nfsroot=10.0.2.10:/opt/ltsp/i386 boot=nfs ro quiet 3

IP has to be used for the server.

Then I changed the symlink in /var/lib/tftpboot/pxelinux.cfg on tjener to point to the above file.

It works!

Should I put this on the wiki, or is this not a normal scenario?

Thanks very much.
nigel


Reply to: