GSM Firmware Flashed, now UBIFS problem and Kernel Panic

Benjamin Deering ben_deering at swissmail.org
Thu Apr 14 18:29:28 CEST 2011


On 04/14/2011 12:13 PM, Thomas Franck wrote:
>> --- On Thu, 4/14/11, Dave<dave.tv at gmail.com>  wrote:
>>      
>>> On Thu, Apr 14, 2011 at 7:21 PM, Raphael Wimmer
>>> <raphael.wimmer at ifi.lmu.de>  wrote:
>>>        
>>>> 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



More information about the community mailing list