Tuesday, February 21, 2017

system installation - Install custom Ubuntu iso from network card

I have a few customized Ubuntu ISOs (based in Ubuntu 12.04) that I need to install in a SBC embedded in an enclosure. Until now, I have to open the enclosure, connect a screen, keyboard and a USB installer every time the ISO needs updated. The user needs to manually introduce data during the installation.



I was hoping to use the network card to install the ISO.



I've read the Ubuntu installation guide. In my situation, without a keyboard or screen, I think the installation over ssh is the only available solution. However, it's a very manual process and I would have to redo lots of configuration and packing done to create the ISOs.



Is there a way to run a PXE server and run the installation from it like I was using ssh -X to forward the screen?



Any pointers to a solution are welcome, including the use of additional hardware.




I had partial success with FOG. I can clone and restore the system using the network card only. I can also add an ISO image as part of the boot menu. I couldn't get the right settings to automatically boot from it, accept my custom preseed file and then use a kickstart file for the rest of the questions that my preseed is still going to ask.



Edit: A similar question was asked here. The main difference is that I don't have access to serial or USB ports, therefore the currently accepted answer is not valid for me. I do have a working installation from the first deployment and an ssh installation is possible in my system. I was hoping for something automated to avoid mistakes. Using my existing ISO files and ideally, something that someone with no experience in Linux could do.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...