[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)
- ivanmacx - 2011-03-19 09:49
...also, here's the relevant output of glxinfo:
Client vendor string is showing as Nvidia. Is this the problem? If so, can anyone tell me what to do to change this?
UPDATE: Pretty sure it's the Nvidia issue that's the problem because on the client I did an
and it has solved the problem but broken the xbmc-diskless package. I did this on the client not the server so I am presuming it will break again on reboot, and I don't want to apply this fix to the target because of it breaking the package dependencies. Is there anything I can put in the overlay to stop it using the Nvidia glx client?
- opdenkamp - 2011-03-20 15:40
did you install the drivers in the image? because you can't do that on a running client. changes to anything except /etc and /home/xbmc will be gone after a reboot, so your drivers that are installed to /usr/something are gone then.
- ivanmacx - 2011-03-20 17:54
When I originally changed the drivers I did it by chrooting into the target on the server, installing the packages and then re-packing and installing the image.
With my latest change of removing the nvidia drivers I did that on a running client because I didn't want to permanently break the xbmc-diskless package. I know that the changes will be gone when I reboot so I'm not rebooting!
Can you tell me what package or module provides the glx client? I have the feeling this will work if I can get that back from the Nvidia version to the x.org one?
I also don't understand why the xbmc live image isn't correctly detecting the Intel graphics chip and using the correct modules.
- opdenkamp - 2011-03-20 18:40
I think I made the nvidia package a dependency of the xbmc-diskless-client package so it installs automatically. you could customise the debian/control file so it installs the intel package instead. you can find the sources in my sig.
- ToKy - 2011-03-27 07:29
How can I edit the image that gets loaded every time?
Is the only/best way to go about this is to create the provisioning part?
I want to load the same image to all my xbmc clients and would like to include all the config files I have already created in my current setup (with disk). So it uses my nvidia onboard card to its full potential and so I can use different themes other than the default one.
Currently testing on a Zotac Zbox HD-ID11 w/ 4GB of RAM
Thanks for this great setup ;-)
- ivanmacx - 2011-03-27 10:51
If it's just a case of adding files then you can add them in the target directory on your server which will normally be /var/lib/xbmc-diskless/target and then run
and choose 'pack' then 'install'.
If you need to install packages then you need to chroot into the target directory, install the packages then leave the chroot and pack and install as above. I have two scripts 'xbmcchroot' and 'xbmcumount' to chroot into the target and to unmount the relevant filesystems on leaving the chroot. They look like this:
So to install packages I do:
Select 'pack' then 'install' then you're done.
- ToKy - 2011-03-27 18:45
Thanks for the prompt reply! I will try this once I've "normalized" my network, got too many things running in multiple places AND i'm about to setup openfiller to help me with disk-space and central sharing.
[FIXED] Foxconn NT-330i working! - Wag3Slav3 - 2011-03-29 01:44
To get this to work I had to do an install using maverick instead of lucid.
Run the script as usual, after it fails giving a goofy error about a repository go into the target dir.
Modify this file
change this line
copy_exec /usr/sbin/ethtool /sbin
copy_exec /sbin/ethtool /sbin
Then run the upgrade step, it should repair the initramfs.
You now have a working image with maverick, with has a working atl1c.ko module for the Foxconn NT-330i!
dushmaniac: You might want to make a change to your xbmc_diskless package to verify the location of ethtool for that hook.
static Wrote:I have a Foxconn NT-330i flashed with the latest BIOS. I followed your instructions on the first page and I end up with a kernel panic:
- opdenkamp - 2011-03-29 08:55
I'll fix it as soon as I got time. You could also send me a pull request for this on github.
- Wag3Slav3 - 2011-03-30 20:26
If your changes are all within the /home/xbmc or /etc/ directories what I would suggest you do is set up one the way you want it, then compress the /overlay/[macaddress] folder into the default.tgz provision file.
Anything else that needs to be done you would have to do under the chroot /target/ folder and re-squash the image. The changes made to the /target/ files will not be client specific, they will be made to all. Only the changes to /overlay/ are client specific.
I don't think there is anything you can do for the nvidia card outside of the newest drivers and some /etc/X11/ config file tweaks so you'd be covered by the provisioning.
ToKy Wrote:How can I edit the image that gets loaded every time?