General TC > Remasters / Remixes - Unofficial

Issues with core.gz rebuilt for PXE

<< < (2/2)

CentralWare:
Thank you VERY much for your insight!

I've written a preliminary web/php system which so far is doing what I had hoped, though there's a lot of tweaking to come.

pxelinux.cfg > default is set up to offer an option to "PXE Install" a machine.  If selected, a normal boot takes place and within the NFS mount (/opt) the bootsync script is set to call the web server with the MAC of the machine.  The web server then propagates a NFS directory and sets up permissions, builds a boot script to add to pxelinux.cfg and reboots.

pxelinux.cfg > 01-xx-xx-xx-xx-xx-xx then takes over.  The menu only lists the TCL and utilizes the newly created NFS along with opt=nfs and home=nfs.  Here, the PHP system has already built a fresh bootsync file which handles installing X and a few basic tools, deletes itself (bootsync) and then reboots.

The final boot lands with a fresh TFTP/NFS based TCL with desktop (though firefox fails for some reason to start "Illegal Instruction" - I haven't dug to see why yet as it's just a preliminary trial run, but since tce-load was used in the second step above, it's assumed dependencies are covered, so I'm guessing permissions again.)

The objective...  or should I say one of many...  is to launch a dozen headless ITX motherboards, have SSH preset during that last boot (DHCP lease info will basically tell which machine is which) and once the PHP system is updated to allow "reformatting" from a desktop to say a hosting (apache) environment, etc. this should work perfectly as needed once the bugs are ironed out.  I may even drag out a couple old VIA C3 (800mhz ITX) motherboards just to see if it's worth resurrecting them for use!  ("If it works on them...  it'll work on anything" type of thinking.)

I've spent the greater of two weeks trying to perfect the PXE installation methods just for TCL.  If this pans out, I'll post the outcome (and setup/files) here as well as I have to assume I'm the only person thinking "automation" when it pertains to PXE/NFS/TFTP/CIFS combined.  (Not to mention I still have to build an administration area to "manage" the content since it's very likely a single machine will, how to say...  "dual boot" via PXE by allowing Admin to swap out NFS directories and boot scripts.)

Thanks again and take care!

curaga:
"Illegal Instruction": Firefox (or a library it depends on) was compiled for a cpu above what you used. Old Vias in particular hit this often, as they are only 586 compatible, but a lot of software is compiled for a 686.

Some of the Firefox extensions are compiled, some are repackaged from Mozilla. You may need to compile Firefox yourself to get a 586-compatible one. (the repo does require 486, but Firefox is quite a big package to compile, and so it was only repackaged for a while)

Navigation

[0] Message Index

[*] Previous page

Go to full version