Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-09-2006, 08:15 AM   #1
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
backup for linux system in CF


I am newbee in linux. i am working on a project about embedded linux system booting from 512 MB CF card. From the manufacturer, we receive a basic emb linux system in the CF crad, how can i make a backup of it? and how to restore it back? i canr ead the card also as it is mounted to my laptop. i use opensuse 10.1

Old 10-10-2006, 05:35 PM   #2
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Your CF card, ideally, will be seen as a scsi device.

You can make an image backup of it easily.

For example if the device for your CF is /dev/sdb

# cp /dev/sdb image-sdb-cf.img

You can overwrite the whole drive then doing the reverse:

# cp image-sdb-cf.img /dev/sdb
Old 10-23-2006, 06:10 AM   #3
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Hello all,

i have problem while restoring the backup. so i used the command:
dd if=/dev/sdb1 of=backupcf.img
for backuping the CF content.

then i played a little while with the CF, using fdisk and mke2fs commands. after that when i used the command:
dd if=backupcf.img of=/dev/sdb1
it worked fine for dd command ecxecution, but then if i mount the cf card, and try to do ls command:
#mount -t auto /dev/sdb1 /mnt/ls
#ls -l/mnt/cf
/bin/ls: reading directory /mnt/cf: /Input/output error
what happened actually? how to get my old files back?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 09:11 PM
Hard Drive System Backup of Linux? KarlT Linux - Software 2 12-20-2003 08:03 PM
Help:ask for linux system backup solution! fredlong Linux - Software 4 12-01-2003 12:44 PM
Linux Raid system backup and restore ron4linux Red Hat 1 08-29-2003 12:57 PM
How to backup and restore a working Linux System redwolf Linux - General 3 07-27-2003 08:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration