On Thu, Nov 08, 2012 at 08:20:22AM +0200, Dimax wrote: > [...] > UBIFS: recovery needed > Error reading superblock on volume 'ubi:rootfs'!
I encountered the same problem when running a Seagate DockStar from NAND flash. > 2. Fixing > ====== > 2.1. My first direction is to update u-boot with latest patches. There > is a chance it will let u-boot be able to mount broken partition. It doesn't look like the current u-boot supports ubifs recovery -- it still only mounts ubifs filesystems in read-only mode. (Unless you're referring to patches not yet in the DENX git tree.) An alternative to a read-only rootfs is to use a recovery system, either in NAND or on a USB stick. You set up your u-boot boot variable to fall back to this system if booting your primary one fails. The recovery partition contains a minimal Linux system that simply mounts the ubifs partition (which it will repair if necessary) and then reboots. (I tried to get this minimal system to chain-load the main linux system using kexec, but never got it to work properly.) -- Eric Cooper e c c @ c m u . e d u -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

