Hello,
If there is a better solution that preserves the FS,
>>>>  I would be happy to learn about it.
>>>>
>>>  I wonder if it would be possible to boot into a distro on the sd card
>>>  and mount the nand partitions. Then you could save /home. Just a thought.
>>>
>>  Yes, it is: just mount  -t jffs2 /dev/mtdblock6 /mountpoint
>>
>  Thank you all for your input..
>
>  I put a qtmoko v35 on an SD card.. an on terminal I did:
>
>  mkdir /home/root/nandfs
>  mount -t ubifs /dev/mtdblock6 /home/root/nandfs
>
>  but sadly that doesn't work.. dmesg tells me:
>
>  UBIFS error: ubifs_get_sb: cannot open "/dev/mtdblock6", error -22
>
>  Any ideas?
>
>  Cheers,
>
I think you need to attach the ubifs before mounting.  See
http://openmoko-public-mailinglists.1958.n2.nabble.com/UBI-success-story-td4218730.html
for the steps, though unless you want to reformat, you shouldn't follow
all of them.

Ben
Alternatively, you can follow http://wiki.openmoko.org/wiki/UBIFS :
# apt-get install mtd-utils # if you are on qtmoko

# ubiattach /dev/ubi_ctrl -O 2048 -m 6
# mount -t ubifs ubi0:om-gta02-rootfs /media/om
# ls /media/om

Anyway it could be a problem related to ubifs instability, which is a topic recently discussed in mailing list [1]. You can follow that tread and try to:

Guy who'll have ubifs trubles please try to:

1. disable bulk read in fstab and check if problem will still exist.
2. do nanddump and post it or try to reproduce bug with nandsim. (i
guess ubifs guys can fix problem in case if such dump exist quite fast)

Regards
  Giacomo


[1] http://www.mail-archive.com/community@lists.openmoko.org/msg62518.html

--
##############################################################
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O<  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##############################################################


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to