Hello Tejas,
On Sat, Oct 20, 2012 at 6:58 PM, Tejas Shah tpshah1@asu.edu wrote:
sfdisk: ERROR: sector 0 does not have an msdos signature beagle_sd.img: unrecognized partition table type No partitions found Warning: partition 1 does not end at a cylinder boundary 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).) Sleeping for 1 second(s) to wait for the partition to settle Disk beagle_sd.img: cannot get geometry start: (c,h,s) expected (0,1,1) found (0,1,32) end: (c,h,s) expected (6,160,25) found (25,127,31) start: (c,h,s) expected (6,160,27) found (26,0,1) end: (c,h,s) expected (391,159,24) found (1023,127,32) partition ends on cylinder 1023, beyond the end of the disk
I know this bug has been reported and the patch has been released by Guilherme (bug # 701678 and here is the link to the patch file https://launchpadlibrarian.net/62892999/udisks.diff ). The linaro-image-tools version that the patch was released was for 0.4.2 but this error still persist in 2012.06. And, I also tried if I can apply this patch on my linaro-media-tool version, but I keep on getting error as the source code has changed and so patch cant be applied.
The patch you linked will not be applied nicely, but it is already included in 2012.06.
I'm not sure the errors you receive can cause your image not to boot, it is the first time to my knowledge it has been reported. It might be worth to investigate a little bit more in detail the problem though. (In case, can you please file a bug against linaro-image-tools?)
And, there was another bug reported for linaro-image-tools that occurs with the same command. This is not a error but it is warning about /bin/df (bug # 651918): $ sudo linaro-media-create --image_file beagle_sd.img --dev beagle --binary nano-n-tar-20110823-1.tar.gz --hwpack hwpack_linaro-omap3_20110823-0_armel_supported.tar.gz
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
That error shouldn't be harmful, it might go away just simlinking /etc/mtab in /proc/mounts, as per: https://bugs.launchpad.net/linaro-image-tools/+bug/768647 but it has never been tested.
Ciao.