12528 Members
237 Forums
7811 Topics
24004 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
13 registered (Toysoft, Admin, haki, bobot, karimkaki15, Smokey, goode men, Franco89, OMEGA, raffsif1234, didond, gerolamo, bori),
1014
Guests and
149
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
|
#22484 - 12/08/20 05:03 PM
Resize SD Card on Raspberry Pi
|
Japhar Member
Carpal Tunnel
Registered: 10/19/10
Posts: 9993
|
There are no utilities included for automatic file system re-sizing. However, it’s not hard to do manually. Once booted:
sudo fdisk /dev/mmcblk0
This is the command that will enter an “interactive mode†to manipulate this partition containing Ubuntu MATE, which is identified as “mmcblk0â€.
Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w).
Press the keys in that order:
d → 2 to delete the existing structure. n → p → 2 → Enter ↵ → Enter ↵ to re-create to use all remaining space. You should just check that each operation is successful before proceeding to the next key. If you’re curious, press “h†to display command help.
Reboot the system, then:
sudo resize2fs /dev/mmcblk0p2
Now that the partition boundaries have been resized, the actual filesystem needs to be resized to use the new space. Once this command is complete, your Raspberry Pi is now using all of the available SD card space.
_________________________
|
Top
|
|
|
|
|
|
|