Install a full new image over the network

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Install a full new image over the network

Post by dornt_ »

Hi

If you agree with this feature please vote here: https://feathub.com/MichaIng/DietPi/+175

Install DietPi over the network option could be a very nice feature. I think the majority of the devices, or maybe all of them, which use dietpi, are connected through the network and, at one moment, the need of a new installation will occur. And if the DietPi device is not near to the desk/location, it seems very handy just to reinstall through the network, whithout power off, unplug, write a SD/USB, power on, make some settings, power off again and move the device to its location.

I think the installation through the network involve some settings related to the IP changes before/during the process, but, because this is a (re)installation some network settings could be kept from old network settings.

Thanks
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Install a full new image over the network

Post by Joulinar »

Hi,

many thanks for your request. Honestly I'm not sure if this could be implemented. I found a working solution for Raspbian OS based images.

https://weberblog.net/reinstall-your-ra ... e-network/

However it stopped working due to changes done on the base image. And as well, you would need to take into account the other base images that are used by DietPi like Armbian or Meveric. ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Install a full new image over the network

Post by Joulinar »

I need to revert my statement a little bit. I was testing it again with the latest DietPi RPi image and it was working. Could flash my SD card 3 times without removing it ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Re: Install a full new image over the network

Post by dornt_ »

I need to revert my statement a little bit. I was testing it again with the latest DietPi RPi image and it was working. Could flash my SD card 3 times without removing it
Thank you very much!

I want to install and play with a LAMP on a mini fanless pc and sometimes things go wrong
and I have to/I preffer reinstall everything from the beginning.
I found a place for the mini pc which is not near to my desk and is little annoying
to go to location, disconect, take the pc to my desk, etc ...


I will try to see if the solution suggeted by you works with my hardware configuration ... and, of course, I will report here.

Thanks.
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Install a full new image over the network

Post by Joulinar »

Not sure if this will work for pc's as well. The method I found was intend for RPi devices using Raspberry OS based images. So watch you system closely as there is quite a good chance to end up with some kernel panic ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply