Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Knoppix saves my company money!

  1. #1
    Stonent
    Guest

    Knoppix saves my company money!

    Because of the simplicity of it and the netboot option, we are able to use Knoppix to clone computers without having to purchase a Norton Ghost license for each system. Here is how I use Knoppix on a daily basis.

    We have several computers that are configured identically for the product that we sell. So I start one "set" up. One acts as the knoppix boot server and the others net boot off of it. Then I connect a long ethernet cable to a "fresh" set that has not had the OS or our special software loaded yet and net boot them off of the knoppix server.

    Then one by one I execute a command like this to clone them.
    On the machine I want to copy from:
    1. Open 2 root windows
    2. start xload on one of them
    3. cat /dev/hda | gzip -9 | nc -l -p 5030

    On the machine I copy to:

    1. nc 192.168.0.1 5030 | gunzip > /dev/hda (192.168.0.1 is the ip of whatever machine I am cloning)

    When the xload drops down to zero, then I know it is done. I can typically start about 2 or 3 clients to copy them.

    For Windows 9x systems. I do a format c: /s from dos and then untar a tarred backup that I made using knoppix.

    Since Knoppix auto configures the hardware, I don't have to mess with making boot floppies or keeping track of them.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Very cool!

  3. #3
    tiddler
    Guest
    Does this just work with fat32 partitions? Or would this work with any winXP or win2K? NTFS

    I think it would, but I just want to check...

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --If you're doing a low-level data dump (dd) - it should work with ANYTHING. But with NTFS you never know. Try it on a spare HD and post results...

    Quote Originally Posted by tiddler
    Does this just work with fat32 partitions? Or would this work with any winXP or win2K? NTFS

    I think it would, but I just want to check...

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Knoppix saves my company money!

    --That is WayCool. I love hearing about stuff like this... netcat is way more advanced than stuff I would normally attempt. I prolly would have used tar or something.

    Quote Originally Posted by Stonent
    Because of the simplicity of it and the netboot option, we are able to use Knoppix to clone computers without having to purchase a Norton Ghost license for each system. Here is how I use Knoppix on a daily basis.

    We have several computers that are configured identically for the product that we sell. So I start one "set" up. One acts as the knoppix boot server and the others net boot off of it. Then I connect a long ethernet cable to a "fresh" set that has not had the OS or our special software loaded yet and net boot them off of the knoppix server.

    Then one by one I execute a command like this to clone them.
    On the machine I want to copy from:
    1. Open 2 root windows
    2. start xload on one of them
    3. cat /dev/hda | gzip -9 | nc -l -p 5030

    On the machine I copy to:

    1. nc 192.168.0.1 5030 | gunzip > /dev/hda (192.168.0.1 is the ip of whatever machine I am cloning)

    When the xload drops down to zero, then I know it is done. I can typically start about 2 or 3 clients to copy them.

    For Windows 9x systems. I do a format c: /s from dos and then untar a tarred backup that I made using knoppix.

    Since Knoppix auto configures the hardware, I don't have to mess with making boot floppies or keeping track of them.

  6. #6
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139

    copyin

    You can do the cat /dev/hda thing with ntfs, but you can't untar because Knoppix can't write to windows 2000 drives.

    For some reason, copying an EXT2 drive with knoppix takes much longer. For that I type mount and read the pid of the auto mounter and kill -9 it. Then umount everything that is /dev/hdsomething or /dev/sdasomething

    Also this will make the drives with identcal partitions so if you are going from a 20gb to a 40gb you'll have to make another partition or resize it using fips or something like that.

    If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the source drive before loading anything on it so that the unused space will compress very well. Then remote mount a file system (samba or nfs) and
    cat /dev/hda | gzip -9 > /mnt/remotefs/blah.img.gz (something like that, the > may not be necessary)

    If you already have a full drive that you want to duplicate do something like dd if=/dev/zero of=/junkfile.tmp that will fill the empty space with zeros and then delete the junkfile.tmp after it dies from a full filesystem.

  7. #7
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    24

    I copied it to knoppixwiki

    I have copied your very interessting info into http://www.knoppix.net/docs/index.ph...ationUeberNetz
    and make the translation into German.

    I hope you like it.
    Hamatoma

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: copyin

    >> If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system...

    --Do you realize what you just said there? That ***wipes out the entire drive,*** making it pointless to back up...

    Quote Originally Posted by stonent
    You can do the cat /dev/hda thing with ntfs, but you can't untar because Knoppix can't write to windows 2000 drives.

    For some reason, copying an EXT2 drive with knoppix takes much longer. For that I type mount and read the pid of the auto mounter and kill -9 it. Then umount everything that is /dev/hdsomething or /dev/sdasomething

    Also this will make the drives with identcal partitions so if you are going from a 20gb to a 40gb you'll have to make another partition or resize it using fips or something like that.

    If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system (samba or nfs) and
    cat /dev/hda | gzip -9 > /mnt/remotefs/blah.img.gz (something like that, the > may not be necessary)

    If you already have a full drive that you want to duplicate do something like dd if=/dev/zero of=/junkfile.tmp that will fill the empty space with zeros and then delete the junkfile.tmp after it dies from a full filesystem.

  9. #9
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139

    Re: copyin

    I should clarify. I meant to say do that before putting anything on the drive. Otherwise you'll have to zero out the other space using the other method i mentioned.
    Quote Originally Posted by Dave_Bechtel
    >> If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system...

    --Do you realize what you just said there? That ***wipes out the entire drive,*** making it pointless to back up...

    Quote Originally Posted by stonent
    You can do the cat /dev/hda thing with ntfs, but you can't untar because Knoppix can't write to windows 2000 drives.

    For some reason, copying an EXT2 drive with knoppix takes much longer. For that I type mount and read the pid of the auto mounter and kill -9 it. Then umount everything that is /dev/hdsomething or /dev/sdasomething

    Also this will make the drives with identcal partitions so if you are going from a 20gb to a 40gb you'll have to make another partition or resize it using fips or something like that.

    If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system (samba or nfs) and
    cat /dev/hda | gzip -9 > /mnt/remotefs/blah.img.gz (something like that, the > may not be necessary)

    If you already have a full drive that you want to duplicate do something like dd if=/dev/zero of=/junkfile.tmp that will fill the empty space with zeros and then delete the junkfile.tmp after it dies from a full filesystem.

  10. #10
    Member registered user
    Join Date
    Jan 2003
    Location
    UK
    Posts
    47
    I sure wouldn't have liked to come into this thread at the wrong point as a newbie. ;>

Page 1 of 2 12 LastLast

Similar Threads

  1. Klaus can make money with Palm editition
    By Eshnet.net in forum The Lounge
    Replies: 7
    Last Post: 03-20-2004, 12:22 AM
  2. SB Live 5.1 best card for the money?
    By rickenbacherus in forum The Lounge
    Replies: 3
    Last Post: 01-29-2004, 04:13 AM
  3. Replies: 5
    Last Post: 11-27-2003, 08:11 PM
  4. Knoppix setting saves and more...
    By Flitt in forum General Support
    Replies: 1
    Last Post: 10-09-2003, 09:11 AM
  5. Knoppix Saves The Data!
    By k.otaku in forum The Lounge
    Replies: 3
    Last Post: 03-06-2003, 04:07 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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00