OOB: Failure in ImageStage: module sd_card_image

Esteban Bordón ebordon at plan.ceibal.edu.uy
Thu Mar 14 09:40:08 EDT 2013

Hi, I'm trying to make a custom build for XO-1.75 using oob and i
mage.50.makefs.sh throws an error.

Anyone know how to solve it?


Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
++ head -n1
++ kpartx -l
++ sed -e 's:.*/::'
++ awk '{print $5}'
+ loop=loop3
+ disk_loop=/dev/loop3
+ boot_loop=/dev/mapper/loop3p1
+ root_loop=/dev/mapper/loop3p2
+ kpartx -a -v
add map loop3p1 (253:2): 0 131072 linear /dev/loop3 8192
add map loop3p2 (253:3): 0 5773056 linear /dev/loop3 139264
+ echo 'mke2fs -O dir_index,^resize_inode -L Boot -F /dev/mapper/loop3p1'
mke2fs -O dir_index,^resize_inode -L Boot -F /dev/mapper/loop3p1
+ echo 'Create filesystems...'
Create filesystems...
+ mke2fs -O 'dir_index,^resize_inode' -L Boot -F /dev/mapper/loop3p1
mke2fs 1.42.5 (29-Jul-2012)
mke2fs: No such file or directory while trying to determine filesystem size
 * Caught error, cleanup and then bail out.
 * Running part cleanup base cleanup.50.cleanup.sh...
 * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
ERROR: Failure in ImageStage: module sd_card_image, part image.50.makefs.sh,
error code 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20130314/758842c2/attachment.html>

More information about the Devel mailing list