Per Jessen said the following on 03/20/2013 01:25 PM:
Anton Aylward wrote:
ellanios82 said the following on 03/20/2013 09:01 AM:
On 03/20/2013 02:56 PM, Per Jessen wrote:
If that's too much effort for a one-off, and if the machines are all the same, how about installing one and then cloning it? Just a tar-copy will do.
________________
like :
tar clf - . | ( umask 0; cd /mnt; tar xvf - )
HA HA HA!
So what happens when the tree-walker-that-is-TAR gets to /mnt?
This is why I was thinking of using DD.
Well, using 'dd' means that source and target will have the same physical layout.
What I have done in the past (for a lot less machines though):
install machine#0, configure etc. Boot up a rescue system, create tar-copy of the installed system. Put tar-copy on USB or elsewhere where it is easily accessible.
for m in machine[123456789] do boot rescue, partition, create filesystem, mount, untar. configure MAC-address. run lilo done
I'm not sure we're talking the same thing. * what does 'boot rescue' mean? * 'create file system' where * 'mount' what where and how? I'm assuming that what you mean is 1. Take the bootable usb to the target machine and boot with it 2. Run fdisk on the target machine's hard disk to set up swap and FS 3. Run mkswap & mkfs on the targets machine's hard drive 4. do magic. I suspect the magic involves having a machine image - what you are terming the tar file - as well as the bootable image on the usb stick. I'd expect that tar file to be about 10G, so we have a non-trivial usb stick, call a 32G. Is this what you mean? COS IT ISN'T WHAT I WAS THINKING OF! I was assuming that the same image that I was running on the USB stick could be 'ghosted' onto the hard drive. Yes that raises questions about the disk layout but its fast! I was aiming for "Fast and Simple" maybe doing this over lunch. For a hundred machines with five sticks. FAST! So I'm interesting hearing other ways of doing it. -- "The government who robs Peter to pay Paul can always depend on the support of Paul." -- George Bernard Shaw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org