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 Game Thread PixelPaintbrush 31 80,983 06-11-2026, 02:50 PM
Last Post: elinkser
  How can I record video on a Pinephone? kk22 23 22,788 03-25-2026, 12:55 PM
Last Post: baptx
  Pinephone visibly losing power while plugged in Hiraghm 8 7,191 03-09-2026, 07:51 PM
Last Post: Tia Vaughan
  pinephone-support package not upgradable on Mobian fhireman 5 7,293 02-28-2026, 05:49 PM
Last Post: baptx
  beep - playing PCM samples on PinePhone? WhiteHexagon 0 1,061 12-04-2025, 08:07 AM
Last Post: WhiteHexagon
Star Selling my Pinephone Pro Explorer Edition zheyon 2 4,351 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 1,893 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 1,464 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone boot. Richy_T 8 7,033 10-21-2025, 12:12 PM
Last Post: Richy_T
  Does PinePhone support long-term battery health optimization? roseblack 5 3,362 10-06-2025, 09:05 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)