Operating System - Linux
1828586 Members
2383 Online
109982 Solutions
New Discussion

I need manual to save harddisk as image via nfs over network

 
SOLVED
Go to solution
'chris'
Super Advisor

I need manual to save harddisk as image via nfs over network

hi

I'm looking for a manual to save harddisk as image via nfs over network
using knoppix and after that clone win2k clients.

regards
chris
1 REPLY 1
Elmar P. Kolkman
Honored Contributor
Solution

Re: I need manual to save harddisk as image via nfs over network

I'm not sure I understand your question correctly, but to create a diskimage you have the dd command.

So what you need to do is:
mount : /mnt
dd if=/dev/hda of=/mnt/imagefile bs=1024
umount /mnt

On the other site, you can now unpack the image file to harddisk like this from knoppix:
mount : /mnt
dd of=/dev/hda if=/mnt/imagefile bs=1024
umount /mnt

Remember to disconnect your network cable before you boot from the harddisk, because it will have the same configuration, like IP addresses. Unless you use dhcp, of course. Also, this will only work if the machines are exactly the same on hardware (same network interface, same monitor, same video card, same ...) level. MS has better ways to do this by creating an install image. Perhaps you'd better do that and then put that on the NFS server. Or look into the tool 'ghost'.
Every problem has at least one solution. Only some solutions are harder to find.