I've reached a basic level of success in my quest - but not without lingering problems that I want to avoid in the "production" install. I installed debian keyring since the lack of that was the first error I encountered. I then added http://ftp.us.debian.org/debian as the --mirror option, wheezy as the --dist and kept i386 of course for --arch. Also following advice from another thread I googled up, I made a copy of the ltsp-build-client script to my-ltsp-build-client and edited it to state VENDOR=Debian. So my commandline for installing the client chroot environment was as follows: # ./my-ltsp-build-client --purge-chroot --dist wheezy --mirror http://ftp.us.debian.org/debian/ --arch i386

and off it went, but then this happened:

I: Configuring gnupg...
I: Configuring apt...
I: Base system installed successfully.
Generating locales (this might take a while)...
Generation complete.
Adding 'diversion of /sbin/start-stop-daemon to /sbin/start-stop-daemon.real by ltsp-client' update-alternatives: using /usr/sbin/policy-rc.d.ltsp to provide /usr/sbin/policy-rc.d (policy-rc.d) in auto mode
Adding 'diversion of /etc/mtab to /etc/mtab.real by ltsp-client'
'/opt/ltsp/i386/etc/apt/sources.list' -> '/opt/ltsp/i386/etc/apt/sources.list.old' /usr/share/ltsp/plugins/ltsp-build-client/Debian/010-manage-mirror: line 24:*add_mirrors: command not found*
error: LTSP client installation ended abnormally

I found discussions by some folks installing ltsp to linux-mint, in which the "add_mirrors: command not found" error was also encountered. The advice given by one poster was to comment out the add_mirrors lines in 010-manage-mirror of the plugins directory. I tried that and it didn't seem to work. Ltsp-build-client did not progress past the installation of the base system. Many times I tried variations and the build failed in the same place. However I went on a tear last night doing the same sort of thing to the plugins for update mirrors, security and backports. And by great Torvalds' beard I was able finally to complete the ltsp client install! This is the commandline that resulted in a working Debian i386 client chroot:

# ./my-ltsp-build-client --purge-chroot --mirror http://ftp.us.debian.org/debian --updates-mirror http://ftp.us.debian.org/debian --security-mirror http://security.debian.org --dist wheezy --arch i386 --late-packages icewm

I then had some to-do with the nbd server and Debian not hitting it off. But by late morning, I had it switched over to NFS and the ThinkNiC was actually loading the Debian 3.2. kernel. And I am now able to log on my example user to his icewm desktop and surf the internet and print through the ltsp host.

However, I'm sure this is not the right way to do things. Yes, it's basically running, but there's bound to be something wrong with an installation created by ugly hacking like this. For one thing there's no locale set appparently, although I expect setting it via an option to the ltsp-build-client script would take care of that when I do this for real on the "production" server. I'm not even sure what my question is - can the defects of this installation be repaired in place? Or do I need to start over with a completely different client build commandline and no hackery to the mirror related plugins?

Thanks.

On 06/25/2014 12:47 PM, Vagrant Cascadian wrote:
On Wed, Jun 25, 2014 at 11:55:47AM -0400, hazzmat wrote:
I am seeking guidance on how to supply that i586 compatible kernel.
Building the client with the arch-i386 option does not -with these
Ubuntu packages at least- actually build an i386 compatible
client/kernel.
...
The ThinkNiC hardware works plenty well enough for
me to to install Debian 7.5 i386 and Vector Linux 7.0 Light edition.
You could definitely run a Debian i386 LTSP environment from an Ubuntu server,
then.

Other options that may involve more work and troubleshooting include running
the Debian kernel in an Ubuntu LTSP environment, or rebuilding the Ubuntu
kernel to not require cmov/PAE.

live well,
   vagrant

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_____________________________________________________________________
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