UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
#58
(09-18-2020, 09:54 AM)neil_swann80 Wrote: Trying to expand the partition on my SD.  Tried using Gparted, but none of the OSes then boot, stays stuck on initial OS splash after choosing.

If I instead follow the instructions from @megous, both commands:

echo ", +" | sfdisk -n -N 2 /dev/mmcblk0
echo ", +" | sfdisk -N 2 /dev/mmcblk0

always gives me "Permission denied" in Ubuntu, even if using sudo, and trying with and without /dev/mmcblk0p2 mounted.
Any idea where I'm going wrong?

EDIT: I was putting sudo at the start of the line rather than after the pipe
You need to run those commands as root, so on Ubuntu or other "sudo" to-run-as-root-system, you'd type:

Code:
echo ", +" | sudo sfdisk -n -N 2 /dev/mmcblk0
and likewise for the "do it for real" command. IIRC if you're on Debian, you'd just "su root" and then do it all and "exit".

Of course, make sure that the device really is /dev/mmcblk0 -- I've got a USB reader for SD cards, and mine gets automounted to /dev/sdg. YMMV depending on how many other drive devices present, etc.
  Reply


Messages In This Thread
RE: UPDATED: 13-distro multi-boot image for Pinephone (incl. 3GiB variant) - by robthebold - 09-18-2020, 01:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone visibly losing power while plugged in Hiraghm 2 329 05-23-2025, 12:30 PM
Last Post: Kevin Kofler
  Pinephone Pro Neural Processing Unit biketool 0 477 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 785 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 2,147 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 483 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 869 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 1,181 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 21,513 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 7,232 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 9,653 12-05-2024, 04:38 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)