[OE-core] wic debug suggestions

Tom Zanussi tom.zanussi at intel.com
Wed Oct 22 12:40:37 UTC 2014


On Wed, 2014-10-22 at 09:03 +0200, Maciej Borzecki wrote:
> On Monday 20 of October 2014 13:45:37 Philip Balister wrote:
> > I'm trying to make an sd card using the sdimage-bootpart.wks file. I've
> > made an image and dd'ed it to a card. The card has a good vfat
> > partition, but the ext4 partition won't mount. Looks like bad
> > superblock. I can format the partition manually, so partitions seem OK
> > and card works.
> > 
> > Does anyone have any suggestions for debugging this?
> In default wks, the vfat partition is /boot, ext4 is /. If I understood you 
> correctly / fails to mount, is that right?
> 
> I've rebuilt an image with poky rev 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3. 
> Loading via loopback and mounting partition 2 (/ in this case) works fine.
> 
> Can you post the output this command?
>   wic create -D -e core-image-minimal sdimage-bootpart
> 

It seems the problem is in handling a large file system.  A new bug has
been opened for this:

Bug 6863 - Wic fails to create a working image for a large file system
 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6863

Tom 


> Ext4 image is built by image.bbclass (Tom, please correct me if I'm wrong on 
> this). It should be possible to do the loopback/mount thing with the image 
> file as well. Can you check if you can mount it this way?
> 





More information about the Openembedded-core mailing list