F14/XO-1 mtdblock device mounting
mavrothal at yahoo.com
Sat May 7 17:04:14 EDT 2011
--- On Sat, 5/7/11, Daniel Drake <dsd at laptop.org> wrote:
> From: Daniel Drake <dsd at laptop.org>
> Subject: Re: F14/XO-1 mtdblock device mounting
> To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> Cc: "OLPC Devel" <devel at lists.laptop.org>
> Date: Saturday, May 7, 2011, 12:59 PM
> On 7 May 2011 15:35, Yioryos
> Asprobounitis <mavrothal at yahoo.com>
> > what would be the commands to mount the F14, XO-1 NAND
> partitions when booting from an external device.
> Answers are in the dracut-modules-olpc source
> ubiattach /dev/ubi_ctrl -m 3 -d 0
> mount -t ubifs /dev/ubi0_0 /mnt/root
> mount -t jffs2 /dev/mtdblock2 /mnt/boot
Though I'm afraid I messed it up worse than I thought
`mount -t ubifs /dev/ubi0_0 /mnt/root' fails with "ubifs_get_sb error -22"
while restoring /boot and booting from the nand now fails with "mounting /dev/mtdblock0 on /sysroot failed: Device or resource busy"
More information about the Devel