PINE64
Error When Resizing SD Card - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: Error When Resizing SD Card (/showthread.php?tid=1667)



Error When Resizing SD Card - Bob123456789 - 07-06-2016

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=Ubuntu@localhost$:/]Ubuntu@localhost$:/[/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



RE: Error When Resizing SD Card - DonFL - 07-06-2016

are you typing "sudo" (or "sudo su" before executing the command) prior to the command?


RE: Error When Resizing SD Card - Bob123456789 - 07-06-2016

No. I wasn't typing sudo before the command.

It worked now! Thanks!


RE: Error When Resizing SD Card - Luke - 07-07-2016

just for reference, you can also use gparted in GUI Wink


RE: Error When Resizing SD Card - Bob123456789 - 07-07-2016

Thanks.

That's good to know.