Skip to content

Il sito di Ivan Piffer

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size    Default color brown color green color red color blue color
You are here: HOME arrow Informatica arrow Articoli interessanti arrow Cloning Hard Drives with ubuntu
Skip to content
Cloning Hard Drives with ubuntu PDF Stampa E-mail
Valutazione utente: / 0
ScarsoOttimo 
Scritto da Ivan Piffer   
mercoledì 23 agosto 2006

tratto da http://students.haverford.edu/pclancy/howto/howto.htm

 

4.4 Cloning Hard Drives

Since we've set up a custom partitioning scheme, it's important that we make sure each hard drive in each client has the same setup. We could partition the 10 hard drives individually, or we can make nine exact copies of the one hard drive we've set up. The way to do this is to make a bit by bit copy using the UNIX command dd. This will take a long time for larger hard drives, so it might be worth it to do this step differently if there are many hard drives.

4.4.1dd

  • First you need to boot using a live cd, which is on the Ubunut CD or DVD.

  • Start copying:

    • dd if=/dev/sda of=/dev/sdb
  • The downside of this approach is that it takes about 80 minutes to copy 80 GB, because it's doing a bit by bit copy

4.4.2 PartImage

  • Using a live cd, you can cut your time down 10 times by using PartImage

  • After booting from a live cd, edit /etc/apt/sources.list, and remove all of the commented sources

  •  

    Now, you need to mount the storage section of your hard drive using these commands

    • sudo mkdir /storage
    • sudo mount /dev/sda3 /storage
  • Run the following commands

    • sudo apt-get update
    • sudo apt-get install partimage
    • sudo partimage
  • Now that partimage is running, create an iso image of your Operating System partition (sda1), and place it in /storage

  • You can move the images to different computers using scp and then reinstall the operating system partition with PartImage

  • Here is a helpful guide: PartImage

 

 

Commenti
Nuovo Cerca RSS
ivan  - forse e' meglio provare quest   |SAdministrator |23-08-2006
sembra che sia meglio usare http://www.systemimager.org/

some good points but the best way is systemimager.

i'm working for
the department of electrical and computer eng at the university
of alberta right now, and i setup a lab of 68 machines, a lab of 30,
and am the contact person for 3 other individuals customizing ubuntu
for their labs with cross-compilers, etc. we are using systemimager to
do everything and it's amazing. setup one golden client, hack some scripts,
add some users for automation, and go drink coffee
Commenta
Nome:
Email:
 
Website:
Titolo:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."


Ultimo aggiornamento ( mercoledì 23 agosto 2006 )
 
< Prec.   Pros. >