Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TPham16
Novice
1,174 Views

How to mount more storage in SD Card

Jump to solution

Follow https://software.intel.com/en-us/get-started-galileo-linux-step1 Make a bootable micro SD card, I have 30GB free not use,

I want have more storage in SD Card, what should i do?

I try mount it but when on Yocto, i check "df" command, i recieve :

Filesystem1K-blocksUsed Available Use% Mounted on/dev/root 1668912 1472368110400 94% /devtmpfs 118248 0118248 0% /devtmpfs 118440 0118440 0% /dev/shmtmpfs 1184408552109888 8% /runtmpfs 118440 0118440 0% /sys/fs/cgrouptmpfs 118440 28118412 1% /tmptmpfs 118440 12118428 1% /var/volatile/dev/mmcblk0p150412228748126 5% /media/card

Not have 30 GB???

Thank you,

Tags (1)
0 Kudos

Accepted Solutions
FTinetti
Honored Contributor I
41 Views

caothai wrote:

Follow https://software.intel.com/en-us/get-started-galileo-linux-step1 Make a bootable micro SD card, I have 30GB free not use,

I want have more storage in SD Card, what should i do?

I try mount it but when on Yocto, i check "df" command, i recieve :

Filesystem1K-blocksUsed Available Use% Mounted on/dev/root 1668912 1472368110400 94% /devtmpfs 118248 0118248 0% /devtmpfs 118440 0118440 0% /dev/shmtmpfs 1184408552109888 8% /runtmpfs 118440 0118440 0% /sys/fs/cgrouptmpfs 118440 28118412 1% /tmptmpfs 118440 12118428 1% /var/volatile/dev/mmcblk0p150412228748126 5% /media/card

Not have 30 GB???

Thank you,

Hi caothai,

Yes, there is nothing beyond a 1GB partition, so a resize partition is needed. The partition to be resized is the one mounted on /dev/root, which actually is

/dev/mmcblk0p2

so resizing is not possible in the Intel Galileo itself, because the partition is "busy" (mounted on /). Thus, resizing should be made in another OS/environment.

I thought Intel had been documented this issue, but I can't find anything about it beyond custom made images, which is far from overkilling in this case.

HTH,

Fernando.

View solution in original post

5 Replies
FTinetti
Honored Contributor I
42 Views

caothai wrote:

Follow https://software.intel.com/en-us/get-started-galileo-linux-step1 Make a bootable micro SD card, I have 30GB free not use,

I want have more storage in SD Card, what should i do?

I try mount it but when on Yocto, i check "df" command, i recieve :

Filesystem1K-blocksUsed Available Use% Mounted on/dev/root 1668912 1472368110400 94% /devtmpfs 118248 0118248 0% /devtmpfs 118440 0118440 0% /dev/shmtmpfs 1184408552109888 8% /runtmpfs 118440 0118440 0% /sys/fs/cgrouptmpfs 118440 28118412 1% /tmptmpfs 118440 12118428 1% /var/volatile/dev/mmcblk0p150412228748126 5% /media/card

Not have 30 GB???

Thank you,

Hi caothai,

Yes, there is nothing beyond a 1GB partition, so a resize partition is needed. The partition to be resized is the one mounted on /dev/root, which actually is

/dev/mmcblk0p2

so resizing is not possible in the Intel Galileo itself, because the partition is "busy" (mounted on /). Thus, resizing should be made in another OS/environment.

I thought Intel had been documented this issue, but I can't find anything about it beyond custom made images, which is far from overkilling in this case.

HTH,

Fernando.

View solution in original post

idata
Community Manager
41 Views

Hi Caothai,

 

 

Thanks for reaching out.

 

 

FGT is right (Thank you by the way), you have to resize it on another OS/environment.

 

 

To solve it, I found this thread that can be helpful for you: https://communities.intel.com/thread/46019 https://communities.intel.com/thread/46019

 

 

If you have issues with it try the suggestions here: https://communities.intel.com/message/393112# 393112 https://communities.intel.com/message/393112# 393112

 

 

I hope this works for you.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
TPham16
Novice
41 Views

Thank Fernando and Leonardo R,

I use GParted to rezise /mmcblk0p2, it works :

root@galileo:~# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/root 29G 1.5G 27G 6% /

devtmpfs 116M 0 116M 0% /dev

tmpfs 116M 0 116M 0% /dev/shm

tmpfs 116M 8.4M 108M 8% /run

tmpfs 116M 0 116M 0% /sys/fs/cgroup

tmpfs 116M 28K 116M 1% /tmp

tmpfs 116M 12K 116M 1% /var/volatile

/dev/mmcblk0p1 50M 2.3M 47M 5% /media/card

Thank for your help,

Have a nice day,

Thai.

idata
Community Manager
41 Views

Hi Caothai,

 

 

Thank you for letting us know.

 

 

It was a pleasure to help you, don't doubt to contact us when you have questions.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
FTinetti
Honored Contributor I
41 Views

caothai wrote:

Thank Fernando and Leonardo R,

You are welcome,

Fernando.