XBMC Community Forum
QFPXE install server for HTPC - Diskless PXE network boot installations of XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: QFPXE install server for HTPC - Diskless PXE network boot installations of XBMC (/showthread.php?tid=84208)

Pages: 1 2


QFPXE install server for HTPC - Diskless PXE network boot installations of XBMC - vikjon0 - 2010-10-27 23:15

I have created a pxe install server with the intention that it should be used to install xbmc on boxes with no CD. No more USB problem.
The system could be deployed as a LiveCD or a virtual machine.

Version 0.00.02:
https://sourceforge.net/projects/qfpxeinstaller/
user qfpxe pwd pxeme

Just boot the liveCD on any machine in your net and you will be able install your htpc (or other machine) over the network.

The idea was to install xbmcLive this way. This was not possible because xbmclive does not contain a initrd with network access and I dont have time/skills to workaround that or rebuild the cd.

I decided to finish the work anyway. It can still be usefull, you can install xbmcbuntu or if someone upload a xbmcLive clone for your hardware you can use this solution to load the clone without cd/usb.

I had an idea to combine it with the xci script but now I am not sure if that project will continue.

The project is in alpha status.
Functionality:
  • Boot Lucid Live CD
  • Install lucid mini
  • Install cli system from cd on pxe server
  • Install desktop system from cd on pxe server
  • gparted
  • clonezilla
It is all working when running in a virtual machine, but for the moment NFS does not work on the LiveCD. Meaning that only the installation functionality works. Not sure if it can be fixed or I need to replace nfs with http or something else. The CD needs a lot more testing before I know if it is a working alternativ. If it does not work the cd can be used to install to a virtual or physical machine instead.

If anyone wants to test this let me know.

Version 0.00.02:
Ok, I have struggled to upload the file samewhere. I ended up with a torrent. It is just too slow to upload it to sourceforge.

https://sourceforge.net/projects/qfpxeinstaller/

What is working:
  • LiveCD
  • mini install
  • gparted
  • Clonezilla
I deleted the Ubuntu Desktop to save space since it requires nfs and I have not made that work in the LiveCD yet.
If you install it you can copy the content of lucid.desktop (including hidde) it should work.

On the desktop there is a shortcut to the config script.

Known problems:
  • The error handling in the script does not work, the script abort if there is a problem. If it is working you should see: " wait 15s or press any key"
  • It happens once that tftp hanged. sudo service tftpd-hpa restart
  • Perhaps a performance problem but gparted sometimes have to be booted twice.

All errors so far have been fixed by rebooting either the server or the client.


- opdenkamp - 2010-10-27 23:28

that's the same functionality as my xbmc-diskless package provides. check out my sig.


- vikjon0 - 2010-10-27 23:34

I haven't tried it yet, but was not the purpose with your system to run xbmc with no disks? I will have to read it more carefully.
I am installing to the local disk.


- pumkinut - 2010-10-28 03:40

Very, very cool! I'll have to try it out. dushmaniac, vikjon0 is correct. His setup is for a network install to local disk whereas yours is for diskless installation i.e. bootp or pxe for each bootup.


- vikjon0 - 2010-10-28 07:04

Quote:I'll have to try it out.
What format is most interesting? virtual machine or cd/dvd?

Anyone know the best place to upload something like this? The full system containing a copy of ubuntudesktop is 1.4Gb. I will probably lose the ubuntudesktop and get it down to a CD. If the system then is installed to disk the desktop CD can be downloaded to get full functionality.


- opdenkamp - 2010-10-28 10:12

vikjon0 Wrote:I haven't tried it yet, but was not the purpose with your system to run xbmc with no disks? I will have to read it more carefully.
I am installing to the local disk.
ah yeah, then I misunderstood it. I'm not installing to the disk.

if you check out my sources, you'll see how I'm using debootstrap etc. to set up the image and install xbmc. you should be able to do the same in your code. we could even think to combine our functionality into 1 package, because the code will have a lot of similarities.


- pumkinut - 2010-10-28 17:01

vikjon0 Wrote:What format is most interesting? virtual machine or cd/dvd?

Anyone know the best place to upload something like this? The full system containing a copy of ubuntudesktop is 1.4Gb. I will probably lose the ubuntudesktop and get it down to a CD. If the system then is installed to disk the desktop CD can be downloaded to get full functionality.
I'd be more interested in optical media for the install, preferably CD, but DVD would work as well. I'll definitely keep this thread bookmarked.


- vikjon0 - 2010-10-29 10:38

Ok, I have struggled to upload the file samewhere. I ended up with a torrent. It is just too slow to upload it to sourceforge.

http://sourceforge.net/projects/qfpxeinstaller/files/QFPXEv0.00.02.iso.torrent/download
https://sourceforge.net/projects/qfpxeinstaller/

user qfpxe pwd pxeme

What is working:
  • LiveCD
  • mini install
  • gparted
  • Clonezilla
I deleted the Ubuntu Desktop to save space since it requires nfs and I have not made that work in the LiveCD yet.
If you install it you can copy the content of lucid.desktop (including hidde) it should work.

On the desktop there is a shortcut to the config script.

Known problems:
  • The error handling in the script does not work, the script abort if there is a problem. If it is working you should see: " wait 15s or press any key"
  • It happened once that tftp hanged. sudo service tftpd-hpa restart
  • Perhaps a performance problem but gparted sometimes have to be booted twice.

All errors so far have been fixed by rebooting either the server or the client.


- vikjon0 - 2010-10-30 09:29

Ok, since people seem to struggle with the torrent I have uploaded the full iso.
https://sourceforge.net/projects/qfpxeinstaller/


- vikjon0 - 2010-11-06 16:12

any comment on this? A few people have downloaded but no feedback.

Since I am not able to get the installer to work I have been considering a few other scenarios.
(why? I guess a need a hobby. Perhaps I need to get into coding some add-ons or something instead since no devs seem to be interested in this)

1) Creating a disk image and put on DVD/PXE with:
grub:
---Boot xbmc
---Boot Clonzilla
---Restore xbmc
---Backup xbmc
Disk:
SDA1 - Clonezilla live
SDA2 - Image storage for clonezilla
SDA3 - xbmc partition
SDA4 - swap(?)
SDA5 - Media/Storage

You then need to download a HW specific xbmc image or create a HW specific clonezilla DVD/PXE.

2) Convert the xbmc USB installer to a HD installer and put it on a clonezilla image and add "install xbmc from HD" into the scenario above.
Should be easier than installing with PXE since no network is needed.

I think this could be pretty nice...especially if I got some help with the live installer.