3

For out office, we need a fleet of Kali laptops that we can bring to clients. The laptops need to be able to function as if they were running something like "DeepFreeze" by Faronics.

What this means is, we have (for example) a 120GB drive, with at least 4 partitions:

  • sda1 (the bootable partition)
  • sda2 (extended)
  • sda5 (swap)
  • sda3 (some kind of protected clone / image of sda1)

The goal is to be able to boot into sda1, work with a client, and then revert sda1 to a "clean state" by essentially "reimaging" using a compresed clean image of the original sda1, or even just dd-ing the sda3 "clean" partition over the "used" partition in sda1. Also, we need to be able to revert to a clean state, and then update the clean (since we're using kali rolling, and various software that is still actively being updated) for subsequent uses (like how DeepFreeze allows you to boot into the "thawed" drive in order to run updates, change settings, etc).

I've tried using Clonezilla, and it has yet to work in any capacity on my end. I've tried setting up fsprotect, but it would just fail every time.

At this point, I'm not looking for a program or script I can use, I'd rather just set it up myself, as long as there's some level of "follow-able steps" or scripts I can set up so that my mildly linux savvy on-site staff can easily reset the machines without being in the office.

Open to basically any suggestions at this point.

1 Answers1

1

For the sake of closure, I went back to Clonezilla and worked out the issues I was having there for my final solution.

Explanation can be found on my other Unix / Linux SE question:

https://unix.stackexchange.com/questions/271515/linux-mounts-cloned-partition-instead-of-original