XBMC Community Forum
[LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients (/showthread.php?tid=83840)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


- opdenkamp - 2010-12-01 00:16

Once you have it set up correctly, you should use the provisioning mechanism described on the first page.

I got the stuff like advancedsettings, a little mount script for thumbnails, etc. included in the "default.tar.bz2" package because it's common to all clients. The only things that I put in client specific packages are config files for the remotes and sound cards.

That way you can fool around with your clients as much as you like and you'll only have to reboot it and remove the overlay directory for that client to completely reset it.


- JohnPollaert - 2010-12-08 16:40

I'm using Fedora 12 on my server. Any chance this would be working on Fedora? The instructions are for Ubuntu/Debian.


- opdenkamp - 2010-12-09 00:54

It's made for Ubuntu, but you can get it working on other distros (if you're an experienced linux user). The only thing that's ubuntu/debian software is debootstrap, so you'll have to get that working if you want to build images on your fedora machine.

What I recommend is creating an image on some ubuntu machine and copying it over to your server.

I really can't provide instructions for every possible os, but if you're an experienced linux user, you should be able to get it up and running after configuring the following services correctly:
- nfs
- tftp
- dhcp + nextserver directive
- nbdrootd

the configurations can be found in the xbmc-diskless.sh script.


- stryker - 2010-12-13 17:50

hi all and dushmaniac

Are you planning a new version of this? perhaps with the central DB?

Regards,

Jon


- opdenkamp - 2010-12-13 19:29

yes, it's planned for the christmas holiday but after I finished my janitor work on the pvr branch.


- basco - 2010-12-14 14:39

hi all,
i'm very enthousiastic about this!

i installed the script on myserver, got xbmc booting over the network.
however, provisioning does not work. i created a test file in:
/var/lib/xbmc-diskless/provision/default/.xbmc/userdata/RssFeeds.xml

did a
sudo chown -R 1000:1000 * in /var/lib/xbmc-diskless/provision/default/

then
sudo xbmc-diskless.sh

and selected 'provision'

then rebooted my xbmc client.
but the rss feed did not change.

any ideas?


- opdenkamp - 2010-12-14 14:50

the provisioning only triggers for new installations. once a machine has been booted, it leaves a file in it's filesystem indicating that it's been provisioned. you wouldn't want to overwrite all your configuration files on each boot.

if you want to reprovision an installation, you have a couple of options:
- remove the client's overlay from /var/lib/xbmc-diskless/overlay OR
- remove the file .provisioned from the client's overlay OR
- remove the file ~/.provisioned from your client

reboot the client and the new config will be written.


- basco - 2010-12-14 15:13

sadly, all 3 options did not work...

- remove the client's overlay from /var/lib/xbmc-diskless/overlay OR
i removed this on my server, rebooted client, nothing changed
- remove the file .provisioned from the client's overlay OR
did this on the client, then rebooted the client, did not change to new rss feed
- remove the file ~/.provisioned from your client
same as above....

i'm overlooking somthing here... but what?
i would likt to setup one xbmc client, then copy config info to server and then merge it with the image. i think that's what provisioning is for?


- basco - 2010-12-14 16:32

i installed rc2 live updated to this pvr version. set db to 13. but still no pvr addons with rc2. anyone?


- harryzimm - 2010-12-14 17:51

I think the pvr addons are in addons/installed addons/pvr or something like it. You wont find them when you go to "get addons".

cheers