LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-19-2002, 02:50 PM   #1
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
Question Hard drive image


what is the easiest way to make an image of a hard drive that has Linux RH 7.2 installed on it???
 
Old 08-19-2002, 03:03 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
dd if=/dev/hda5 of=rhimage
Of course, you need enough space for the image and replace /dev/hda5 with the right partition name. For a whole hd it's /dev/hda (first hd).
 
Old 08-19-2002, 03:12 PM   #3
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Thank you. What do I have to do to copy this image to a different hard drive???
 
Old 08-20-2002, 03:05 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's a good idea to try this trick only with a disk with the same size...
dd if=rhimage of=/dev/hda5
if <--- from
of <--- to
 
Old 06-21-2003, 10:11 AM   #5
shooter
Member
 
Registered: Oct 2001
Location: KY
Distribution: *currently* Debian 9 w/Cinnamon
Posts: 66

Rep: Reputation: 15
Mara,


I have a situation where I need to get out 20 PCs
with Mandrake 9 on them, however our PCs come in
not necessarily with the same hardware config,


If one uses this command...on reboot, will Mandrake
see those hardware changes and adjust accordingly.


Because if it would this would save us many, many
extra hours from loading from scratch.

Any info or help at all would be greatly appreciated.

Thanks in advance
 
Old 06-21-2003, 10:28 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at partimage - it only copies used clusters to the image and so it works better with different sized drives:
http://www.partimage.org
 
Old 06-21-2003, 10:42 AM   #7
shooter
Member
 
Registered: Oct 2001
Location: KY
Distribution: *currently* Debian 9 w/Cinnamon
Posts: 66

Rep: Reputation: 15
I checked out the site...very kewl! But I did notice that for
this to work correctly, the same hardware are necessary.

"For example, if you buy 50 PCs, with the same hardware, and you want to install the same linux systems on all 50 PCs, you will save a lot of time. Indeed, you just have to install on the first PC and create an image from it. For the 49 others, you can use the image file and Partition Image's restore function."

So if we decided to use this, would Mandrake see the new hardware on reboot and install the proper drivers, etc.?

Thanks for your help
 
Old 06-21-2003, 10:45 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Probably - there are never any assurances but most hardware should be detected. As with a new install you may have to find drivers for devices that are not supported as standard.
 
  


Reply



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
Make image of hard drive spondootre Linux - General 1 07-19-2005 03:33 PM
hard drive failing, how can I create an image of my drive? oily_rags SUSE / openSUSE 6 07-07-2005 02:19 PM
Hard Drive Image ...H2H pacer Linux - Software 1 12-14-2004 03:23 PM
Anyone know how to mount a hard drive image? redhatman Linux - Newbie 5 08-11-2004 04:41 PM
Image a hard drive burton Linux - Software 2 04-08-2004 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 AM.

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
Open Source Consulting | Domain Registration