[GTALUG] simple straightforward tool for mainaining small networked of imaged linux boxes
Matt Price
moptop99 at gmail.com
Tue Oct 7 11:01:42 UTC 2014
Lennart, can you explain that process in more detail? I mean, what tool
would one PXE boot from?
Walter, that is helpful but still sounds pretty time-consuming -- I would
like to find a way to have an unattended re-imaging that can run
more-or-less simultaneously on all the machines.
On Tue, Oct 7, 2014 at 12:31 AM, Walter Dnes <waltdnes at waltdnes.org> wrote:
> Can you do a basic install with / ( including /root, and /usr ) on
> /dev/sda1 (approx 6 to 8 gigabytes)? *IMPORTANT*... include sshd as
> part of the basic install, and have it start automatically at boot.
> - "dd" the / partition to a USB key. Assuming the key is mounted as
> /media/key
> dd -bs=1M -if=/dev/sda1 -of=/media/key/imagefile
>
> To copy the partition back
> - boot the machine to be installed, using any linux install ISO or USB
> key, then insert the USB key and "dd" the other way...
> dd -bs=1M -if=/media/key/imagefile -of=/dev/sda1
>
> Final customization
> - remove the linux boot ISO/key and the data key and reboot the machine
> - assuming sshd works, you can now do scripted final customization over
> the net, including running apt-get for updates, and copying user home
> dirs, etc, etc.
>
> --
> Walter Dnes <waltdnes at waltdnes.org>
>
>
> ---
> GTALUG Talk Mailing List - talk at gtalug.org
> http://gtalug.org/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20141007/b7bdfb45/attachment.html>
More information about the talk
mailing list