I
I
Inflame2011-03-23 10:04:31
linux
Inflame, 2011-03-23 10:04:31

Cloning Windows 7 over the network?

Task: you need to install a pre-prepared image of Windows 7 on four dozen machines.
Previously, Windows XP cloned like this:
Booted into Linux and using ntfsclone created an image of the partition with the installed system: ntfsclone --save-image -o - /dev/sda1 | gzip -c > backup.img.gz
Then distributed the image over the network to all computers using the commands:

nc -l 3333 | gunzip -c | ntfsclone --restore-image --overwrite /dev/sda1 -
and nc [ip] 3333 < image.img.gz
But with Windows 7 it doesn't work, it just won't load. As I understand it, the problem is in the bootloader. I tried to restore the bootloader using ms-sys: ms-sys -7 -w /dev/sdaor by copying the MBR from a normally booting Windows:
dd if=/dev/sda of=/home/user/MBR.img bs=446 count=1
. But none of this worked.
Tell me how you can restore the bootloader directly from Linux (I know about the Windows recovery disk, but it takes a lot of time). Or with what else can you clone Windows 7 over the network?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis, 2011-03-23
@Inflame

>>Or what else can be used to clone Windows 7 over the network?
You can try clonezilla . Grub it can correctly overwrite. I don't know how it will behave with the Windows bootloader.

P
PuzzleW, 2011-03-23
@PuzzleW

check if you are cloning the 100 mb partition at the beginning of the disk that win7 creates (if you have one)
for an ideal solution - look at WDS (Windows Deployment Services)
and it's not clear how exactly it (cloned windows) does not boot.

A
Alexander, 2011-03-23
Yankovskiy @Suncheez

Windows Deployment Services is the most correct way to distribute Windows across the grid.

P
PuzzleW, 2011-03-23
@PuzzleW

Are your screws new and clean? check that after unfolding the image and mbr, your system partition is indeed marked as active.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question