View Single Post
Posts: 40 | Thanked: 6 times | Joined on Jul 2011
#34
Originally Posted by juiceme View Post
Hi!

Did the previous step (/usr/sbin/flash_erase /dev/mtd4 0 0) succeed?
Are you doing this as root?
after a reboot it worked without error

EDIT: now i get this
Code:
~ # mount -t ubifs ubi0:var /mnt
mount: permission denied (are you root?)
this is the previous
Code:
~# /usr/sbin/ubiattach /dev/ubi_ctrl -p /dev/mtd4
UBI device number 0, total 1833 LEBs (473001984 bytes, 451.1 MiB), available 1811 LEBs (467324928 bytes, 445.7 MiB), LEB size 258048 bytes (252.0 KiB)

~# /usr/sbin/ubimkvol /dev/ubi0 -N var -m
Set volume size to 467324928
Volume ID 0, size 1811 LEBs (467324928 bytes, 445.7 MiB), LEB size 258048 bytes (252.0 KiB), dynamic, name "var", alignment 1

~# mount -t ubifs ubi0:var /mnt
mount: permission denied (are you root?)

Last edited by Phoenix986; 2013-03-03 at 20:59.