We are running a Debian-based system in our product, out of which I need to create new drives from a master drive.
Method 1: Install OS from debian live CD and copy the required custom software.
Earlier, I stared my process with method 1, I various errors like operators missing dependencies, while installing the OS etc and it takes about 80 minutes to install OS and my software. So, I was not able to continue this mechanism.
Method 2: Taking clone of the master drive and place it in a server. Running clonezilla and installing clone.
This method was working out very well for me earlier. Nowadays, customers requires different HDD sizes. A single clone does not work out for me. So this makes me to maintaining multiple clones and it takes about 30 minutes to install the clone.
Method 3: Just partition the drive copy all the OS files from master to slave.
This method gives me the freedom of just copying the files from master to slave. Also, allows me to maintain a single master disk.Also, this method takes about 10 minutes for copying files. But, I feel there might be many CONS using this method.
I want to maintain a single copy of my master and consume less time to create a new slave drive.