Error When Resizing SD Card
I am trying to create an Ubuntu  Linux Image SD using the instructions below.

It works fine (Ubuntu boots using the new SD card and I can log in) except for when I open the terminal and try to resize the SD card using:

"Execute script to resize the root partition in order to fully utilize the SD Card"

I  get the error:

"This scrip requires root"


How do I solve this?

Ubuntu Linux Image [20160530] based on Longsleep build, updated by Pine64
[Image: Logo_ubuntu.jpg]
  • Thanks to longsleep works, the Linux build progress rapidly, This is a build based on longsleep works and may not have all bell and whistles from longsleep and Sunxi community. For latest build, you can create one and following this thread
  • Suitable for 1GB/2GB Pine A64+ Board, not suitable for 512MB Pine A64 Board due to system memory constrain
  • DD image (for 8GB and above SD Card):
  • Included Mate Desktop, Firebox Browser, Thunderbird Email, and LibreOffice Suite.
  • Login with
    • username: ubuntu
    • password: ubuntu
  • Execute script to resize the root partition in order to fully utilize the SD Card
are you typing "sudo" (or "sudo su" before executing the command) prior to the command?
No. I wasn't typing sudo before the command.

It worked now! Thanks!
just for reference, you can also use gparted in GUI Wink
You can find me on IRC, Discord and Twitter


That's good to know.

Possibly Related Threads…
Thread Author Replies Views Last Post
  systemd-gpt-auto-generator: failed to dissect: input/output error 0 2,669 12-11-2019, 04:10 PM
Last Post:
  How to backup to be able to recover from SD card failure Dagremote 1 3,127 11-11-2017, 08:10 AM
Last Post: Luke
  config error installing XML-RPC on longsleep Ubuntu tinkertom 2 4,871 02-22-2017, 06:50 AM
Last Post: MarkHaysHarris777
  Error load mate desktop environment b.simp404 2 4,277 01-21-2017, 02:24 PM
Last Post: wizkidcom
  GStreamer: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server Pander 0 3,177 10-27-2016, 06:09 AM
Last Post: Pander
  Network Access Error coolnine98 5 7,349 06-29-2016, 06:15 PM
Last Post: coolnine98
  System program problem detected error ebclr 0 2,233 05-15-2016, 09:18 PM
Last Post: ebclr
  Mounting USB hard drive - error registering v4l2 subdevice Ruckus 4 6,086 05-13-2016, 06:48 AM
Last Post: Ruckus
  Startx Error jl_678 1 3,964 05-07-2016, 09:58 AM
Last Post: jl_678

Forum Jump:

Users browsing this thread: 1 Guest(s)