Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux "GHOST" or disk-imager.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Wed Jul 21, 2004 6:01 pm    Post subject: Linux "GHOST" or disk-imager. Reply with quote

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
View user's profile Send private message
foexxchen
n00b
n00b


Joined: 30 Jun 2003
Posts: 47

PostPosted: Wed Jul 21, 2004 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Wed Jul 21, 2004 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Jul 21, 2004 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum