Cannot mount ubifs partition

Richard Weinberger richard.weinberger at gmail.com
Tue May 12 23:49:21 PDT 2015


On Wed, May 13, 2015 at 8:25 AM, Michael Niarchos
<michael.niarchos at gmail.com> wrote:
> On 13-May-15 06:05, Brian Norris wrote:
>>
>> On Tue, May 12, 2015 at 10:38:31PM +0300, Michael N wrote:
>>>
>>> I am using a Zynq7000 with NAND 512MB and I am trying to deploy Linux on
>>> NAND
>>> memory. I use a custom built kernel with minimal features (UBI and UBIFS
>>> support are enabled and mtd-utils installed). I can ubiformat an mtd
>>> partition, I
>>> can ubiattach and ubidetach it but whenever I try to mount the
>>> partition I get this error.
>>>
>>>             mount: mounting /dev/ubi0:ubi-rootfs on /mnt/ubifs failed:
>>> No such device
>>
>> What's the exact mount command you're running? Did you take a look at
>> the MTD FAQ?
>>
>> http://linux-mtd.infradead.org/faq/ubifs.html#L_mount_ubif
>
>
> I am running this command:
>
> $ mount -t ubifs ubi0:ubi-rootfs /mnt/ubifs

Does it work if you use the device node? i.e. /dev/ubi0_X?
Is it attached?

-- 
Thanks,
//richard



More information about the linux-mtd mailing list