Jump to content

16gb Linux SD Card FULL??

Go to solution Solved by The Sloth,
sudo fdisk /dev/mmcblk0
sudo resize2fs /dev/mmcblk0p2

I got the orange pi zero version of lubuntu, burned it onto my sd card, and did a sudo apt-get upgrade, installed a few programs, and it says my drive is full, which doesn't make any sense.  I used the df command to check my storage and i get 8 different "drives" (filesystems), most of which are marked "none" and two of which say devtmpfs and /dev/root.  the /dev/root has the most storage at 3466184 1k blocks, which translates to about 3.5 GB if my math is correct. The other filessystems added up equal about 4 GB.  Where did my 16GB Go?  Is the card not mounted, or is some storage not being allocated?  How can I fix this?

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/729750-16gb-linux-sd-card-full/
Share on other sites

Link to post
Share on other sites

2 minutes ago, nerdslayer1 said:

sudo fdisk /dev/mmcblk0

sudo resize2fs /dev/mmcblk0p2

what is mmcblk0?  and what is the command resize2fs?  When I do the first command, the prompt changes from "root@orangepi" to "command (m for help)"

 

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/729750-16gb-linux-sd-card-full/#findComment-9275587
Share on other sites

Link to post
Share on other sites

5 minutes ago, nerdslayer1 said:

its to resize your partition 

how does it know how much to increase it by and where to get the free space from?

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/729750-16gb-linux-sd-card-full/#findComment-9275600
Share on other sites

Link to post
Share on other sites

1 minute ago, nerdslayer1 said:

you see the installation process of ubuntu is not efficient. you will just get more free space. 

ok, thanks for the help.

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/729750-16gb-linux-sd-card-full/#findComment-9275603
Share on other sites

Link to post
Share on other sites

Hey, admin, could you take this post down?  The answer I was given wiped the disk and I had to resintall ubunut, not a huge deal, it only took 5 minutes, but it could potentially harm some ones linux install because not much info is given, I am going to re-ask the question in a better, more detailed, way.

 

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/729750-16gb-linux-sd-card-full/#findComment-9278510
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×