PINE64
noobie question regarding install - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: noobie question regarding install (/showthread.php?tid=10537)

Pages: 1 2


RE: noobie question regarding install - devrtz - 07-08-2020

No, you still need to extract the .img.gz file and use the .img file in the bmaptool command. The .bmap file just holds additional information about the layout inside the image file which will be used by the bmaptool.

I hope it's clearer now :)


RE: noobie question regarding install - HLing - 07-08-2020

Thanks for your patience, devrtz. So at what point and where in the code you posted below does the .bmap file go then? That's where I was getting confused.

"bmaptool copy <path_to_image_file> <block_device_to_flash> "


RE: noobie question regarding install - devrtz - 07-08-2020

No problem. The .bmap file should be in the same directory as the uncompressed image file.
I do something likes this:
Code:
> $ ls ~/pinephone_images                                                                                                                                                                                                                 
mobian-pinephone-20200628.img  mobian-pinephone-20200628.img.bmap
> $ sudo bmaptool copy ~/pinephone_images/mobian-pinephone-20200628.img /dev/mmcblk1



RE: noobie question regarding install - wibble - 07-08-2020

bmaptool will work with the image still compressed (.img.gz still, not extracted to .img), at least version 3.4 did when I used it. So long as the file names of the image and bmap files match you don't need to specify the bmap file name, and mobian provides them with matching names so you just need to download both and use them. Your command structure is right - the command for my filename and block device was:

sudo bmaptool copy mobian-pinephone-20200615.img.gz /dev/sdc


RE: noobie question regarding install - devrtz - 07-08-2020

(07-08-2020, 04:00 PM)wibble Wrote: bmaptool will work with the image still compressed (.img.gz still, not extracted to .img), at least version 3.4 did when I used it.
Did not know this.
Thanks for sharing!


RE: noobie question regarding install - HLing - 07-08-2020

(07-08-2020, 04:11 PM)devrtz Wrote:
(07-08-2020, 04:00 PM)wibble Wrote: bmaptool will work with the image still compressed (.img.gz still, not extracted to .img), at least version 3.4 did when I used it.
Did not know this.
Thanks for sharing!
Thank you both, Devrtz and wibble!  That was illuminating and brilliant! Very nifty how they two files are separate but together just by being in the same folder, kind of like the .srt file being available as the subtitle for a video file.