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
  Quick question abtut sources.list jojuma 1 911 06-17-2024, 04:46 AM
Last Post: zetabeta
  Waydroid install instructions end up attempting to use wrong URLS to aquire .debs chainingsolid 1 1,110 04-26-2024, 04:56 PM
Last Post: zetabeta
  Phoch Trixie weekly install seems nice reTestability 0 982 03-10-2024, 08:47 AM
Last Post: reTestability
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 4,124 11-22-2023, 11:46 AM
Last Post: aLoop100o
  apt trying to install a package version not in the repo chainingsolid 1 1,210 11-12-2023, 03:54 AM
Last Post: evilbunny
  Lock screen question: always squeekboard tuxcall 1 1,616 02-02-2023, 08:51 PM
Last Post: Haibara23
  Recent install, no wifi user641 3 2,166 01-12-2023, 03:06 PM
Last Post: user641
  snap install exceeded maximum runtime jojuma 0 1,045 07-17-2022, 07:52 AM
Last Post: jojuma
  Best/easiest way to install minimal Debian on PinePhone? mcgee 6 6,737 07-18-2021, 09:35 AM
Last Post: swiley
  Cannot install spotify, librespot or mopidy Gon 3 4,410 06-18-2021, 06:53 AM
Last Post: Gon

Forum Jump:


Users browsing this thread: 1 Guest(s)