Error When Resizing SD Card
#1
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 resize_rootfs.sh script to resize the root partition in order to fully utilize the SD Card"

I  get the error:

"This scrip requires root"

[[email protected]$:/][email protected]$:/[/email]

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 resize_rootfs.sh script to resize the root partition in order to fully utilize the SD Card
  Reply
#2
are you typing "sudo" (or "sudo su" before executing the command) prior to the command?
  Reply
#3
No. I wasn't typing sudo before the command.

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


  Reply
#5
Thanks.

That's good to know.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How to backup to be able to recover from SD card failure Dagremote 1 514 11-11-2017, 08:10 AM
Last Post: Luke
  config error installing XML-RPC on longsleep Ubuntu tinkertom 2 1,133 02-22-2017, 06:50 AM
Last Post: MarkHaysHarris777
  Error load mate desktop environment b.simp404 2 892 01-21-2017, 02:24 PM
Last Post: wizkidcom
  GStreamer: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server Pander 0 1,086 10-27-2016, 06:09 AM
Last Post: Pander
  Network Access Error coolnine98 5 951 06-29-2016, 06:15 PM
Last Post: coolnine98
  System program problem detected error ebclr 0 384 05-15-2016, 09:18 PM
Last Post: ebclr
  Mounting USB hard drive - error registering v4l2 subdevice Ruckus 4 982 05-13-2016, 06:48 AM
Last Post: Ruckus
  Startx Error jl_678 1 1,181 05-07-2016, 09:58 AM
Last Post: jl_678

Forum Jump:


Users browsing this thread: 1 Guest(s)