noobie question regarding install
#11
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 :)
#12
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> "
#13
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
#14
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
#15
(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!
#16
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Phoch Trixie weekly install seems nice reTestability 0 126 03-10-2024, 08:47 AM
Last Post: reTestability
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 1,712 11-22-2023, 11:46 AM
Last Post: aLoop100o
  apt trying to install a package version not in the repo chainingsolid 1 411 11-12-2023, 03:54 AM
Last Post: evilbunny
  Lock screen question: always squeekboard tuxcall 1 1,153 02-02-2023, 08:51 PM
Last Post: Haibara23
  Recent install, no wifi user641 3 1,377 01-12-2023, 03:06 PM
Last Post: user641
  snap install exceeded maximum runtime jojuma 0 749 07-17-2022, 07:52 AM
Last Post: jojuma
  Best/easiest way to install minimal Debian on PinePhone? mcgee 6 5,274 07-18-2021, 09:35 AM
Last Post: swiley
  Cannot install spotify, librespot or mopidy Gon 3 3,539 06-18-2021, 06:53 AM
Last Post: Gon
  firefox 79 will not install motox6 1 2,118 05-08-2021, 02:09 AM
Last Post: MtnSk8
  How do I install pinephone-devtools? lsitongia 1 2,205 04-06-2021, 04:31 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)