![]() |
2011-06-21
, 21:18
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#2
|
I have a N810 which can't read SD cards from the SD slot(probably the reader is dead) and I would like to make an backup image with "dd" command for example and store in the pc (just in case).
The main problem is I should execute the command in the N810, and copy to N810 free internal flash or to PC by network.
Suggestions?
The Following User Says Thank You to maacruz For This Useful Post: | ||
![]() |
2011-06-28
, 15:12
|
Posts: 131 |
Thanked: 36 times |
Joined on Dec 2009
@ Spain
|
#3
|
Backup is easy to do, but don't use dd. You have three options:
- use 0xFFFF and save the image to the internal mmc ("0xFFFF -e /media/mmc1/backup"), then transfer the image to your pc. That image would be flashable.
- make a flashable image with mtdtools (see http://talk.maemo.org/showpost.php?p=223846&postcount=2). You can save the image to the internal mmc, a network share or pipe it directly through netcat to your pc.
- mount --bind / under /mnt, then backup with tar. You can save the tar.gz file in the internal mmc, a network share, or pipe it directly through netcat to your pc. You can make a jffs2 flashable image in your pc then (see previous method), or boot a ext2/3 image from usb to be able to restore it.
![]() |
2011-07-10
, 14:25
|
Posts: 131 |
Thanked: 36 times |
Joined on Dec 2009
@ Spain
|
#4
|
![]() |
2011-08-03
, 16:12
|
Posts: 21 |
Thanked: 18 times |
Joined on Aug 2011
|
#5
|
![]() |
2011-08-03
, 18:15
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#6
|
![]() |
2011-08-04
, 06:41
|
Posts: 21 |
Thanked: 18 times |
Joined on Aug 2011
|
#7
|
![]() |
2011-08-04
, 18:08
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#8
|
I'm not at that computer now, but I used the pieces command:
0xFFFF -p (part-name)
This seemed to work for initfs but failed with the other parts. In particular, for the main rootfs filesystem, the flashing process began, the hashes would increase to about 6%, then the bar would quickly complete and 0xFFFF would complain of a possible checksum error.
Since the same behaviour appeared with flasher-3.5, I wondered whether the problem is on the NIT rather than the restoring laptop.
The Following User Says Thank You to maacruz For This Useful Post: | ||
![]() |
2011-08-04
, 18:24
|
Posts: 21 |
Thanked: 18 times |
Joined on Aug 2011
|
#9
|
So you try to flash just rootfs with flasher-3.5 ("flasher -f -r rootfs.jffs2") and it fails. And you have tryed extracting a new image and flashing it several times and it is repeatable. Isn't it?
Well, then probably 0xFFFF is failing. You'll have to follow the longer route: make a tar.gz of rootfs and then make a jffs2 image from the tar.gz.
The main problem is I should execute the command in the N810, and copy to N810 free internal flash or to PC by network.
Suggestions?