USB boot; memory size incorrect
-
Hello,
First time poster & installer. I didn't have large enough SD card, only 2 GB, so I looked online for instructions on USB booting. I followed the instructions here. Everything seems to have worked as intended. However, now the USB stick, when plugged into my PC, says it only has 36.6 MB free; clearly not accurate.
I've tried sudo raspi-config and expanding but it didn't do anything. I went back and tried sudo resize2fs /dev/sda2/ and it said "The filesystem is already (4k) blocks long. Nothing to do!" So I checked df -h and it looks like /dev/root is reading the USB as the correct file size, but when I plug it into my PC it doesn't.
I'm bewildered and under-qualified to fix this. Any help would be greatly appreciated.
-
@Schfifty It doesn't need "fixed", it is behaving as expected. Your PC simply can't see the root file partition which is in ext4 format.
-
@AlexMurphy Well that's a relief. Now, how can I take advantage of the memory left? Anything over than 36mb says won't fit due to no more space. Is there another way I can load stuff greater than 36mb?
-
either
- run linux from a live USB/CD/DVD (linux mint or ubuntu are nice) and then copy over files
or - use SSH https://github.com/retropie/retropie-setup/wiki/ssh
- run linux from a live USB/CD/DVD (linux mint or ubuntu are nice) and then copy over files
-
I meant use filezilla (https://filezilla-project.org/) but the login info is the same as the SSH PuTTy page
-
@madmodder123 Thank you! I will try this when I get home. Would something like Knoppix work as well? I think I'm going to try SSH first so I don't have to take the usb out of the Pi
-
@Schfifty said in USB boot; memory size incorrect:
@madmodder123 Thank you! I will try this when I get home. Would something like Knoppix work as well? I think I'm going to try SSH first so I don't have to take the usb out of the Pi
Yeah pretty much any linux distro will work
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.