First time posting. I was advised to post on here after asking for help on
the IRC channel.
I've got a raspberry pi. More info here: http://www.raspberrypi.org/
I haven't found many how-tos for ARM, aside from the two by Vagrant (which
are practically the same thing):
The pi doesn't use uboot. Once the GPU initializes it immediately looks to
the SD card for boot info. As such, it might be best to implement this as
a fat client. If you want to, you can still pass an "nfsroot=" to the
kernel in a cmdline.txt file on the /boot/ partition of the SD card. It's
briefly described here:
I've been able to successfully boot off an NFS share so that's not an
issue. It'll be trivial to boot off an LTSP's NFS mount.
The problem I'm getting stuck at is building an image that can work with an
LTSP environment. The raspberry pi foundation (who's organising the pi)
are labelling a Debian image as being the least buggy image available for
it. It can be downloaded here: http://www.raspberrypi.org/downloads . You
can mount the image with `sudo mount -o loop,offset=80740352 debian.img
/mnt` and get the rootfs. Details on the /boot/ partition are described
here: http://elinux.org/RPi_Advanced_Setup#Setting_up_the_boot_partition .
Ideally I'd like to take this debian "golden" image and just add the LTSP
client to it, install LDM onto a server and go from there.
I booted the pi and installed ltsp-client. It resolved the dependencies
then failed, complaining about not being installed onto a machine. I
touch'd /etc/ltsp_chroot to fake it out and let it install. It did so. I
was *hoping* most of the magic would have been taken care of in the package
but I'm not sure. I glanced over the postinst and it doesn't look to do
The pi deb image defaults to runlevel 2. I sign in, and run 'sudo telinit
5' . It starts to go into runlevel 5 and just hangs there. Screen is
black with the little _ flashing in the top left. I can still SSH into it
and look around. If I run `grep ltsp /var/log/* | grep -v auth | grep -v
dpkg` I don't get anything. I added some echo's to
/etc/init.d/ltsp-client-core and ltsp-client-setup just to make sure they
have run, and they do when trying to enter runlevel 5. But it doesn't go
anywhere. If I `ps aux | grep ltsp` I just see ltspfsd running. Pstree
shows it spawned from init (which I assume is correct).
This is where I am. I can't think of much else to do, or really where to
go next. I've tried building an ltsp-build-client with --arch=armel as
outlined in the previous tutorials but the images would fail. At first I
thought it might be the kernel, but I don't think so. I tried putting the
necessary files in /opt/ltsp/armel/boot just to make sure. It booted, but
I couldn't tell if it was from the /boot/kernel.img that it *already* ran
to mount the nfs or what. Either way there were other issues that made it
seem like I'd be re-inventing the wheel going that route. Would it be best
for me to tackle this route?