rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Not Enough Memory for OS

Sun Mar 01, 2015 7:56 pm

I want to install a os that is 7.96 gb on a 8 gb sd card but the sd card says it can only hold 7.88 gb. Is there some way for me to get 8 gb from the sd card.
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Re: Not Enough Memory for OS

Sun Mar 01, 2015 8:50 pm

NO :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Not Enough Memory for OS

Sun Mar 01, 2015 8:54 pm

rpiswag wrote:I want to install a os that is 7.96 gb on a 8 gb sd card but the sd card says it can only hold 7.88 gb. Is there some way for me to get 8 gb from the sd card.
8GB is the drive space in Denary base 10

7.8125 is the drive space in Binary base 2

Google is good...
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Not Enough Memory for OS

Sun Mar 01, 2015 10:23 pm

If the SD card is filled to the brim, then no.

If it hasn't been shrunken, then you can use GParted to clear that extra space and resize it on the first boot.
There are 10 types of people: those who understand binary and those who don't.

mikerr
Posts: 2827
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Not Enough Memory for OS

Sun Mar 01, 2015 11:16 pm

The root problem is that different brands of "8GB" cards vary in their true capacity: from 7.2GB to 7.8GB

An image created from a larger card can't be written to a smaller one.

SanDisk though good cards, do tend to be at the lower end eg 7.2GB
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
topguy
Posts: 6525
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Not Enough Memory for OS

Sun Mar 01, 2015 11:26 pm

rpiswag wrote:I want to install a os that is 7.96 gb on a 8 gb sd card but the sd card says it can only hold 7.88 gb. Is there some way for me to get 8 gb from the sd card.
In which format do you have this OS ? I'm guessing that its an imagefile that you try to write to sdcard with some software, is this assumption correct ? (Which software btw. ?)

Its very unlikely that the filesystem in that image is full, so its possible that it will work quite well even if the very last bit is not written to the sdcard. Then its just a matter of convincng the software to write even if the card is slightly too small. (In Linux with "dd" this is easy).

The second method is more complicated and involves:
* mounting the image as a disk
* resizing the partition slighty
* and then chopping of the last part of the image-file.
I know a recipe for Doing this on Linux but not on any other OS.

User avatar
DougieLawson
Posts: 39301
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Not Enough Memory for OS

Sun Mar 01, 2015 11:48 pm

Simple answer, buy a 16GB microSD.

Less simple answer, moan to the folks who supplied the image and ask if they can trim it down below 7GB before publishing it.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”