Hi Steven, On Mon, 2013-08-12 at 11:27 -0700, Maurer, Steven wrote:
> > I made a mistake in describing the issue. I did actually dd to the > raw disk itself, not a partition. Had I done it to a partition, > Gparted wouldn't have updated the partition table on refresh. Just FYI, the 'partprobe' tool makes the kernel to re-read the partition table. > I also set up bmaptool and tried to directly write to a different USB > stick to make it bootable using the ---nobmap option. That failed as > well. Oh, could you please describe the failure? I am interested to fix it. Another thing is - I wonder why you used --nobmap? I guess our documentation is imperfect, I am willing to fix or restructure it if you have suggestions. https://wiki.tizen.org/wiki/IVI/IVI_Installation#How_to_Install_Tizen_IVI_images suggests to use $ bmaptool copy http://download.tizen.org/..blah.../ivi-XYZ.raw /dev/sdX I mean, for me things look obvious, because I deal with this for long time. You are the first time user, and your suggestions about how the docs/tool should be improved are welcome. > > However, bmaptool using both the .raw.bz2 AND the .bmap file seems to. I guess you mean it works after you have downloaded these 2 files. I believe that if it works without '--nobmap', it should also work with '--nobmap'... If this is not the case, I am willing to fix the tool. > So thank you both for pointing me in the right direction. > > > I also think I may update the Tizen wiki to make it clear that using > dd of the raw file simply doesn't work, at least not from anything > downloaded off of the Tizen website. No, it does work! Did you use: $ bzcat ivi-XYZ.raw.bz2 | dd of=/dev/sdX ? > The bmap doesn't just accelerate the transfer, it is an integral part > of ensuring that the data is all in the correct place. DD should also work, but bmaptool is faster and safer, because it also verifies SHA1 of all the data, and it also safer because it won't destroy your system if you give it /dev/sda by mistake. > > Once you have a bootable USB stick, I suspect it may be possible to dd > from raw device to raw device, though I haven't tested that. Yes, but this is going to be dead slow... -- Best Regards, Artem Bityutskiy _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
