please choosego to mobile | Continue to access the PC version
View: 6586|Reply: 2

3G-IOT file system size problem

[Copy link]

5

threads

15

posts

109

credits

Registered member

Rank: 2

credits
109
Published in 2019-6-13 13:44:35 | Show all floors |Read mode
Edited by ekim at 2019-6-13 13:46

Hi,
Well I flashed the linux image to the 3G-iot.
Connected to my PC using putty and a serial connection.
using VI i was able to edit the wifi to log into my home network.
When I used apt-get update, it gave an error that the system was full.
I checked the file system, and this is what I found.

Any suggestions?  

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

1

threads

4

posts

29

credits

Novice

Rank: 1

credits
29
Published in 2019-6-19 21:44:36 | Show all floors
Here you go:
fdisk /dev/mmcblk0
d 1 # (delete 2TB partition)
w # (Write it)
reboot
fdisk /dev/mmcblk0
p # remember start sector of partition 4: 113152
# /dev/mmcblk0p4      113152 2210303 2097152   1G 83 Linux

d 4 # (delete partition 4)
F # (Show unallocated space)
n # (Create new partition)
p
4
# First sector here: 113152
[enter]
w # (Write it)
reboot
resize2fs /dev/mmcblk0p4
# enjoy

5

threads

15

posts

109

credits

Registered member

Rank: 2

credits
109
 Author| Published in 2019-6-24 17:35:46 | Show all floors
Awesome thanks!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list