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
  beep - playing PCM samples on PinePhone? WhiteHexagon 0 260 12-04-2025, 08:07 AM
Last Post: WhiteHexagon
Star Selling my Pinephone Pro Explorer Edition zheyon 2 3,066 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 509 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 464 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone visibly losing power while plugged in Hiraghm 7 4,765 10-21-2025, 10:38 PM
Last Post: Anthona
  Pinephone boot. Richy_T 8 4,656 10-21-2025, 12:12 PM
Last Post: Richy_T
  How can I record video on a Pinephone? kk22 22 15,667 10-08-2025, 01:29 PM
Last Post: Kevin Kofler
  Does PinePhone support long-term battery health optimization? roseblack 5 1,478 10-06-2025, 09:05 PM
Last Post: Kevin Kofler
  iso pinephone for sale (USA) elwoodb25 0 3,914 09-24-2025, 09:25 PM
Last Post: elwoodb25
  Why projects like PinePhone matter – feedback and encouragement Gary2003 13 18,456 09-16-2025, 01:13 PM
Last Post: Gary2003

Forum Jump:


Users browsing this thread: 2 Guest(s)