View: 13223|Reply: 3

[Solved] Extend root partition on SD Card ??

[Copy link]

6

threads

17

posts

98

credits

Registered member

Rank: 2

credits
98
Published in 2018-2-25 20:30:07 | Show all floors |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

80

credits

Registered member

Rank: 2

credits
80
Published in 2018-3-8 14:04:06 | Show all floors
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

80

credits

Registered member

Rank: 2

credits
80
Published in 2018-3-2 02:16:00 | Show all floors
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| Published in 2018-3-5 21:55:54 | Show all floors
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 need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list