Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 6459|Reply: 3

[Solved] Extend root partition on SD Card ??

[Copy link]

6

Threads

17

Posts

98

Credits

Registered member

Rank: 2

Credits
98
Post time 2018-2-25 20:30:07 | Show all posts |Read mode
Edited by vincen at 2018-3-5 21:56

Hi

I just flashed an SD card with the Ubuntu server image avalaible for Orange One Plus and have been able to boot and update it without problems on my One plus. I have one issue: / partition is by default sized at 1Go which is not much ! Do you know how to extend it at maximum according to memory card used ? Like it's possible on Raspbian !

Thanks

Vincèn

1

Threads

7

Posts

72

Credits

Registered member

Rank: 2

Credits
72
Post time 2018-3-8 14:04:06 | Show all posts
Hi again,
I have since discovered another way, even easier.
In the home directory there is a folder called

burn-image-to-emmc

In that it says that when you first run a new install you can use the command;

sudo fs_resize

which will then expand the available space after you have rebooted.

I tried this and it worked like a dream.

1

Threads

7

Posts

72

Credits

Registered member

Rank: 2

Credits
72
Post time 2018-3-2 02:16:00 | Show all posts
Hi,
This depends on which operating system you use on your PC.
I use lubuntu and have literally just done this myself so if you use Linux, run gparted.  You then select the sd card and you will see a bar across the top showing the partition(s) on the card.  You can then simply drag the partition to the right to enlarge the partition size to anything up to the full remaining size available,  When you have done that click the "tick" to perform the resize.  Simple as that.
If you use either Windows or Mac or do not use linux and don't want to use a live distro, you can find a lot of resources for them via google.
Good luck,
Mike

6

Threads

17

Posts

98

Credits

Registered member

Rank: 2

Credits
98
 Author| Post time 2018-3-5 21:55:54 | Show all posts
LearningCurve replied at 2018-3-2 02:16
Hi,
This depends on which operating system you use on your PC.
I use lubuntu and have literally just ...

Thanks for the tip, didn't notice it cound be done so easily in gparted now ;) was going to copy whole partition on my computer, recreate partition and move everything back bbut now easy with gparted that takes care to resize partition filesystem after having extended it
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-3-9 16:00 GMT+8 , Processed in 0.029593 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list