Posts: 2
Joined: Nov 2010
Reputation:
0
So I've already got pxe boot set up with the mythbuntu-diskless-server package. I'd like to give xbmc and its myth plugin a shot to see if I like it better. Does anyone foresee any issues with just doing a standard install on top of my current image? It doesn't look like I need the xbmc-diskless package at all. I would just need to build an appropriate image, if anything; right? Are there PPAs for 10.10?
Thanks all!
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
I'm using the same tcp port for the nbd mounted image (port 2000), so only one of them can be active at any time or you'll have to use another port number. Only port 2000 works for xbmc-diskless at the moment, so you'll have to do that in the mythbuntu config.
The rest should not interfere with mythbuntu-diskless.
You have two choices:
- use your mythbuntu installation and just install xbmc in it's image
- install xbcm-diskless-server and create a new image for xbmc
The first option is the easiest if you're not familiar with this, but it will be slower and probably won't boot anymore after a power failure or some os crash.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.
Posts: 5
Joined: Mar 2009
Reputation:
0
dushmaniac,
Today I decided to update the XBMC inside of my diskless chroot. I used the commands you listed earlier to properly enter the diskless root target at "/var/lib/xbmc-diskless/target" and then did an "aptitude update; aptitude safe-upgrade". When it got to upgrading "xbmc-diskless-client" I received an error saying " This package is only meant to be installed inside a XBMC diskless chroot." Should I force this package to install? Any suggestions?
Thanks!
Arion
Posts: 5
Joined: Mar 2009
Reputation:
0
Thanks for the info. I was inside of the chroot doing some other tweaks and figured I'd do the package update there rather than using the menu selection. Thanks for pointing out how to place a trigger for successful package installation.
Btw, you mentioned that you would be working on integrating shared library support in your xbmc-diskless scripts. I was able to set up an SQL server for my diskless clients and configure them via advancedsettings.xml and it seems to be working good so far. The only other challenge I faced was providing a shared directory for the clients to all have access to a shared Thumbnails/images directory (normally found at "~/.xbmc/userdata/Thumbnails"). Here's what I did:
1) created a directory called "/var/lib/xbmc-diskless/overlay/library" and shared it out via NFS from the server
2) added a "/etc/fstab" NFS mount entry inside the target so the clients could mount the directory. To make things simple, I have this shared directory mounted as "/mnt" in the diskless clients
3) created a symlink inside each diskless client's userdata directory to point "Thumbnails" to /mnt.
4) added a "mount /mnt" to /etc/rc.local, since I had problems with normal NFS mount flags getting clients to automount the share, even when it was marked as mount-on-boot.
Does this seem reasonable or similar to an approach you've used? I know its kinda convoluted, but it seems to be working for now...
Take care,
Arion
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
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.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.
Posts: 12
Joined: Dec 2010
Reputation:
0
I'm using Fedora 12 on my server. Any chance this would be working on Fedora? The instructions are for Ubuntu/Debian.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
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.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.
Posts: 9
Joined: Nov 2010
Reputation:
0
hi all and dushmaniac
Are you planning a new version of this? perhaps with the central DB?
Regards,
Jon
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
yes, it's planned for the christmas holiday but after I finished my janitor work on the pvr branch.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.