Mounting ubifs partition

Giacomo 'giotti' Mariani giacomomariani at yahoo.it
Tue Jun 28 10:50:56 CEST 2011


Hello,
     I'm not experienced in UBIFS, anyway...
> Hi, list
>
> I have recently launched an shr-u update, and now it doesn't boot anymore. I
> suspect the update downloads filled NAND, but I'm not sure.
>
> I'm trying to mount partition from debian (on uSD):
>
> debian-gta02:~# uname -a
> Linux debian-gta02 2.6.29-20100313.git973a41fc #1 Sat Aug 7 17:45:57 GMT-3
> 2010 armv4tl GNU/Linux
> debian-gta02:~# ubiattach /dev/mtd6 -m 6 -O 2048
> ubiattach: error!: UBI is not present in the system
Following http://wiki.openmoko.org/wiki/UBIFS the command should be:

#ubiattach /dev/ubi_ctrl -O 2048 -m 6

followed by:

#mount -t ubifs ubi0:om-gta02-rootfs /media/om

> debian-gta02:~# modprobe ubi
> WARNING: All config files need .conf: /etc/modprobe.d/linux-sound-base_noOSS,
> it will be ignored in a future release.
> debian-gta02:~# ubiattach /dev/ubi_ctrl -m 6 -O 2048
> UBI device number 0, total 1969 LEBs (250015744 bytes, 238.4 MiB), available 0
> LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
> debian-gta02:~# ubimkvol /dev/ubi0 -N rootfs -m
> ubimkvol: error!: UBI device does not have free logical eraseblocks
>
> Can anyone help me with this error?
> Isn't possible to mount a full ubifs partition or am I doing something wrong?
>
> Thanks
Regards,
     Giacomo

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmoko.org/pipermail/community/attachments/20110628/0cdac8bb/attachment.htm>


More information about the community mailing list