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 Pro Neural Processing Unit biketool 0 131 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 369 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,679 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 206 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 504 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 737 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 20,466 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 6,435 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 8,613 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 522 12-04-2024, 10:53 PM
Last Post: tracyanne

Forum Jump:


Users browsing this thread: 2 Guest(s)