-
freezing system
Hi everybody,
i want to clone the workstations in our pool. I use KNOPPIX for the network connection. While copiing on a fileservers export via dd, the system freezes. My steps are:
1. boot KNOPPIX from CD
2. mount export: mount -o rw,rsize=8192,wsize=8192,nolock,hard,intr fileserver:/images /mnt/extdisk
3. copping the partition: dd if=/dev/hda1 | gzip -c > /mnt/extdisk/image.gz
My system is an athlon 64 with gigabyte k8n board. The network interface is a realtek 8169 onboard.
henning
-
Senior Member
registered user
Re: freezing system
Originally Posted by
henning.scheid
Hi everybody,
i want to clone the workstations in our pool. I use KNOPPIX for the network connection. While copiing on a fileservers export via dd, the system freezes. My steps are:
1. boot KNOPPIX from CD
2. mount export: mount -o rw,rsize=8192,wsize=8192,nolock,hard,intr fileserver:/images /mnt/extdisk
3. copping the partition: dd if=/dev/hda1 | gzip -c > /mnt/extdisk/image.gz
My system is an athlon 64 with gigabyte k8n board. The network interface is a realtek 8169 onboard.
henning
Henning.scheid,
I am but a noob as far as the "mount", and the "dd" you are doing above, but, from the man pages on "dd", it states that you need if to be specified, or the input will be assumed from stdin, and that you need of to be specified, or the output will be assumed to go to stdout -=- from what I can tell, is, you are using gzip to create a file, which is being used to pass to the "dd" command, right? You specify an input file, but, don't you need to specify the output? ( again, pardon me if I am completely clueless about this, I am just trying to help, and, also, for myself, understand more. Thanks )
Ms. Cuddles
-
you're right. The outputfile must be specified otherwise dd writes to stdout. I'm using '|' to transfer the stdout to stdin. gzip compresses everthing coming from stdin. gzip itself writes to stdout again, but stdout is piped '>' to a file. So the compressed image will be the file with the name after the pipe '>'.
The mount an the dd command are working. I've tried it on an other computer. But the new one keeps on freezing.
I think there is a problem with the network interface.
bye henning
-
Senior Member
registered user
I think I understand, now, in the following:
Code:
dd if=/dev/hda1 | gzip -c > /mnt/extdisk/image.gz
dd is taking all files and folders of hda1, passing them, through stdout, into gzip, as stdin, and then creating the file image.gz in the device/folder /mnt/extdisk - which is mounted to fileserver:/images -=- cool...
Just to think of the "stupid" things that could go wrong -=- hda1 is mounted, and to the mount point of /dev -=- right?
Sorry, thats all I can come up with, not worked with nic's for a while, and then, it was on Windows systems ( Win98 and NT ) -=- so, I'm not much help other than the above...
But, thanks for the understanding, and explanation, I appreciate it
Ms. Cuddles
Similar Threads
-
By red_rob in forum Hardware & Booting
Replies: 3
Last Post: 06-10-2005, 10:28 PM
-
By Dr Snark in forum General Support
Replies: 13
Last Post: 05-28-2004, 12:37 PM
-
By bob58 in forum General Support
Replies: 0
Last Post: 03-26-2004, 02:18 PM
-
By foil in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 11-21-2003, 06:55 AM
-
By punk000 in forum General Support
Replies: 5
Last Post: 08-29-2003, 10:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box
$149.99
Case for Samsung Galaxy Tab A9+ 5G/A9 Plus 11"/A9 8.7"Shockproof Stand Full Body
$17.99
EXCELLENT SAMSUNG GALAXY TAB 4 10.1in SM-T537V 16GB WIFI VERIZON ANDROID TABLET
$44.99
Samsung S Pen for Galaxy Tab S7/S8 Series - Mystic Black
$20.00
Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G
$89.99
1 PCS Samsung PM9B1 512GB PCle 4.0 NVMe SSD, MZVL45120
$29.99
Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)
$129.99
Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray
$24.10
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Android Tablet
$160.00
Samsung 22 In LED-backlit LCD monitor, S22E450D
$45.00