LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2010, 02:28 PM   #1
adloaiz
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Rep: Reputation: 0
Clone workstations help


Can some one dumb down the process of cloning a workstation.

I have a working workstation that I want a image of and I have a server to put the image on then I want to take that image and apply to two other work stations....

trying to use the dd command but I was unsuccessful.
 
Old 10-07-2010, 02:36 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,961

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adloaiz View Post
Can some one dumb down the process of cloning a workstation.

I have a working workstation that I want a image of and I have a server to put the image on then I want to take that image and apply to two other work stations....

trying to use the dd command but I was unsuccessful.
Perhaps if you told us what version/distro of Linux you're using, what you actually did, and what the results were, we could help. Just saying "tried the dd command, and was unsuccessful", tells us nothing.

You may want to check out mondoarchive, systemimager, and mkcdrec.
 
1 members found this post helpful.
Old 10-07-2010, 04:22 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,408

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
Requirements:

Bootable Linux CD or OS that has dhcpcd, coreutils, and ftp. Could simply issue static ip's.

A FTP Server (with a valid username and password). Lots of free disk space.
Warning: This is relatively safe if used correctly. I accept no responsibility for damage to your system!

Step 1. Boot your system using the bootable CD or go to command line.

Step 2. Verify your system is on the network. # ifconfig

Step 3. Connect to your FTP server and upload the image. # ftp 10.131.8.102 Connected to 10.131.8.102 (10.131.8.102). Name : install Password: XXXXXXXXXX 230 Login successful. Using binary mode to transfer files.


ftp> put |"dd if=/dev/hda bs=1M|gzip -1" diskimage.gz


gzip can be from 1 to 9 or left off. It is the compression. Older computers 1-3 maybe. Average 3-7 and faster processors 7-9


Now you just wait for the image to finish processing. This could take some time depending on the speed of you CPU, disk, or network.

Then reverse the process.


There also clonezilla and redobackup and g4u and others like backula that may work.

Last edited by jefro; 10-07-2010 at 04:25 PM.
 
1 members found this post helpful.
Old 10-07-2010, 07:48 PM   #4
adloaiz
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Well the server option is not working for me so I went and put the hard drive I want to clone into a working linux box. The slave hard drive is showing as /dev/sdb in the hardware but fdisk cannot write to it.... i tried dd=/dev/sda of=/dev/sdb and that did not work. The i tried cp /dev/sda /dev/sdb and I have

Current sdb : sense key Medium error
additional sense : format command failed
end_request: I/O error , dev sdb , sector #######
scsi 0: error on channel 0, id 2, lun 0, cdb: write ########

I tried fdisk /dev/sdb but i get Buffer I/O error.
 
Old 10-07-2010, 09:30 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,408

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
Pages seem to suggest a drive or controller going bad or maybe a terminator issue if I assume scsi.
 
1 members found this post helpful.
Old 10-08-2010, 08:25 PM   #6
adloaiz
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Drive was bad. Thank you. Got a new one and now I am good 2 go
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 9.3 server, xp workstations. Now, workstations can't reconnect after reboot ImaMess Linux - Newbie 2 05-31-2009 12:05 PM
I need to Clone a Red Hat drive and install clone in HP server drummer54 Linux - Newbie 14 03-07-2009 05:15 PM
Replacing windows workstations with linux workstations jdw52 Linux - General 4 09-26-2008 06:37 AM
Clone to multiple workstations? valnar Linux - Enterprise 1 11-12-2006 10:07 PM
server runs redhat , workstations win 2k ,workstations cannot connect to internet snkambule Linux - Networking 7 04-27-2005 11:08 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration