Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ghosting to my CF< Next Oldest | Next Newest >
longnam Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Mar. 23 2005,21:45 QUOTE

hi there,

I just installed DSL onto my CF running on an IDE-adapter. It works great. Now I want to make a ghost copy of this image from the CF as a backup, Then later I might have to ghost it back onto the CF in case I screw up something.
Is there a good software to do that ??

Thanks for your help.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 23 2005,21:49 QUOTE

dd if=/dev/<source device> of=/dev/<destination device>

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 23 2005,23:13 QUOTE

In this example, your CF drive is mounted to /dev/hdb1 (partition name) or /dev/hdb (entire drive name).  hdb is your Primary IDE controller, Slave drive.

And for this example, your hard drive is connected to /dev/hda (Primary IDE controller, Master drive) and your main MSDOS/Win95/98/ME data partition (aka "C:\" drive) is located at /dev/hda1 and is mounted at /mnt/hda1

Boot up DSL from livecd or other media, if you really want to you can even boot up a frugal install from your CF device itself if you boot in "toram" mode.

Open an xterminal and type:

sudo su
mount -t vfat /dev/hda1 /mnt/hda1
dd if=/dev/hdb of=/mnt/hda1/backup.img


and your entire CF device including boot sector and partition table will be saved in a file called C:\backup.img

Restoration is the reverse of creation:

dd if=/mnt/hda1/backup.img of=/dev/hdb

MAKE SURE THAT YOU KNOW THE NAMES OF YOUR DEVICES AND PARTITIONS OR YOU RISK ACCIDENTALLY OVERWRITING DATA ON YOUR HARD DRIVE or you risk making a bad backup file.
Back to top
Profile PM 
2 replies since Mar. 23 2005,21:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: ghosting to my CF

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code