View previous topic :: View next topic |
Author |
Message |
Bash[DevNull] Guru


Joined: 10 Oct 2003 Posts: 333
|
Posted: Wed Jul 21, 2004 6:01 pm Post subject: Linux "GHOST" or disk-imager. |
|
|
Hello All,
Under win32 i can use Nortan Ghost, but what i can use under Linux? :)
I suppose, some thing like ``dd if=/dev/hda of=/mnt/hdb/somefile'' for creating, and ``dd if=/mnt/hdb/somefile of=/dev/hda'' for restore/backup? :) _________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
 |
foexxchen n00b


Joined: 30 Jun 2003 Posts: 47
|
Posted: Wed Jul 21, 2004 6:14 pm Post subject: |
|
|
dd will work. It does, however, copy the whole partition including all the unused space. So you might want to compress the image afterwards or do something like
Code: |
dd if=/dev/hda1 | gzip -c > img.gz
|
Theres also partimage. It's got a nice user interface and AFAIK ignores unused space. |
|
Back to top |
|
 |
Bash[DevNull] Guru


Joined: 10 Oct 2003 Posts: 333
|
Posted: Wed Jul 21, 2004 6:21 pm Post subject: |
|
|
foexxchen wrote: | dd will work. It does, however, copy the whole partition including all the unused space. So you might want to compress the image afterwards or do something like
Code: |
dd if=/dev/hda1 | gzip -c > img.gz
|
Theres also partimage. It's got a nice user interface and AFAIK ignores unused space. |
Can i "image" whole disk (not hdaN, but hda and etc.).
Does win32 (OS, partition will alive after dd-ing? :) _________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
 |
jkt Retired Dev

Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Wed Jul 21, 2004 6:48 pm Post subject: |
|
|
Bash[DevNull] wrote: | Theres also partimage. It's got a nice user interface and AFAIK ignores unused space. |
correct.
Quote: | Can i "image" whole disk (not hdaN, but hda and etc.). |
`dd if=/dev/hda of=/storage/dump-of-hda` - this will store _complete_ image of hda into file /storage/dump-of-hda. recover by `dd if=/storage/dump-of-hda of=/dev/hda`. /storage must be mounted from other disk.
Quote: | Does win32 (OS, partition will alive after dd-ing?  |
it depends on what are you going to do. disk imaging is usually done for backups, so it WILL store data exactly as they are now. |
|
Back to top |
|
 |
|