Discussion:
[Ltsp-discuss] How do I configure Debian LTSP server to use NBD for both root and swap (like Ubuntu) on the clients
Robert Mavrinac
2012-10-16 18:24:25 UTC
Permalink
I'm using an OpenVZ container and NFS is not an option. I need to use
NBD for root and swap on the clients but prefer to use a Debian template
instead of Ubuntu for the server.

What files need to be changed?
Vagrant Cascadian
2012-11-22 15:59:01 UTC
Permalink
Post by Robert Mavrinac
I'm using an OpenVZ container and NFS is not an option. I need to use
NBD for root and swap on the clients but prefer to use a Debian template
instead of Ubuntu for the server.
What files need to be changed?
On Wheezy, you'd edit /opt/ltsp/i386/etc/update-kernels.conf, change:

BOOT_METHODS="NBD"

and then run (presuming you're using sudo):

sudo ltsp-chroot /usr/share/ltsp/update-kernels
sudo ltsp-update-kernels
sudo ltsp-update-image
sudo ltsp-config nbd-server

You may need ltsp-server 5.4.2-4, recently uploaded to Debian Sid/Unstable, as
a number of bugs were recently fixed.

I think on Debian Squeeze running ltsp-update-image automatically
half-converts you over to NBD, but i don't quite recall off the top of my head
what's left over. Probably creating /opt/ltsp/i386/etc/update-kernels.conf and
changing BOOTPROMPT_OPTS to use NBD.

I've also started on the process of backporting the newer LTSP to squeeze, and
should be available on backports.debian.org.


live well,
vagrant

Loading...