16 December 2020, 21:18 | #1 |
Registered User
Join Date: Aug 2003
Location: Left a bit/ Fire!
Posts: 325
|
Why don't numbers work properly?
I have an SD card for my RK2020 retro handheld, onto which I want to burn a pre-made image of emulators.
SOUNDS SIMPLE, RIGHT? - the micro SD card (a Toshiba bought from a legit UK online source) is ostensibly a 128GB one. - the IMG file I've downloaded is 119GB according to Windows. - except the image-writer app (BalenaEtcher) thinks the IMG is 128GB and that the card capacity is only 125GB, so refuses to write it. - and if I try to format the card, Windows says its actual capacity is only 116GB. WHY ARE NONE OF THESE NUMBERS THE SAME AND HOW DO I FIX IT? |
16 December 2020, 21:32 | #2 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,359
|
Balena Etcher is bloated crap. I'm using win32 disk imager. It's small, free and it works.
|
16 December 2020, 21:58 | #3 | |
Registered User
Join Date: Aug 2003
Location: Left a bit/ Fire!
Posts: 325
|
Quote:
("119GB" is actually 128,000Mb, so if I could get the card to format to 119 rather than 116 I think I'd be fine.) |
|
17 December 2020, 01:28 | #4 |
Zone Friend
Join Date: Nov 2002
Location: UK
Posts: 303
|
I'm afraid your drive is reading it's true, correct size. But it's because there's a loophole in the law in how "Giga" is defined.
In normal mathematics, which uses a base 10 system, a Byte is 1000. But in computer Bytes, which is counting in 8s, it's 1024. It wasn't a too noticeable difference back when the values of computer storage were smaller, but the larger storage has gotten that 24 number difference has added up, so a card now with 128GB only has 115GB or so in computer terms on it... and vendors are allowed to sell under the mathematical label, as long as they say somewhere in small print what the real value the computer will read is. I did a quick google, and found someone else who lists that a Toshiba 128gb does indeed come out at 115.2gb in computer terms. But the important thing is, a file that is 119gb is never going to fit, so the way forward is either to buy a larger sized SD card... or look at the file and see if you can shrink it further, and read it with the emulator in a compressed/zipped state. |
17 December 2020, 02:19 | #5 |
Registered User
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,185
|
I had the issue with few image files, always too small.
Most of the time the files in the image don't fill out the whole space on disk, so you could write it into bigger card, plug in Linux, resize the partition, image it again. |
17 December 2020, 03:53 | #6 |
Registered User
Join Date: Aug 2003
Location: Left a bit/ Fire!
Posts: 325
|
In fact Win32 Disk Imager does indeed seem to have written it, despite its own "not enough sectors" warning. Everything works so far.
|
17 December 2020, 04:30 | #7 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,177
|
It'll work until it tries to read the data for the files that were at the end of the image, if there were any. It might have been empty space at the end.
Dude you need to sort out that misbehaving caps lock key. |
17 December 2020, 04:37 | #8 | |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
A digital computer is base 2, binary, ALWAYS, and so the correct term, or the one I used back then was ALWAYS 1024, it was simplicity itself. But then ignorant people came along, years later, whined about WHY does it have to have the extra 24, because they cannot possibly fathom counting systems that use more or less than the fingers and thumbs on their hands (probably mathematically illiterate too) and yet counting systems are in use that are base 8 and base 16 as well. The base used doesn't matter (you could use base 27 if you wanted to) as long as the value is correct, and it is NOT for the first example quoted above for a digital base 2 system. This is the reason for the confusion, I believe. They even have two different names for the bases quoted, but I will stick with what I know from the past. |
|
17 December 2020, 07:31 | #9 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,900
|
If you're using linux, why not just mount the image via a loop device and copy the files out to a new card instead of wasting time writing it and reading it back in..
|
17 December 2020, 08:25 | #10 | ||
Registered User
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 820
|
Quote:
Quote:
|
||
17 December 2020, 09:52 | #11 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,377
|
Indeed, instead of being a legal loophole, computer size definitions have always been the anomaly when compared to SI prefixes in use for centuries. When this started to become a significant problem (around the time when hard drive sizes moved into the GB range), a new standard was established based on binary for use with computer storage sizes. This is KiB, MiB, GiB, TiB etc. system (Kibibyte, Mebibyte, Gibibyte, Tebibyte), and has been around for over two decades IIRC, enough time that people should be used to it by now
But old habits die hard, and most people (including myself) still use the old system in casual settings. But whenever there is scope for confusion, it's a good idea to be clear about the intended meaning. |
17 December 2020, 10:09 | #12 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
|
17 December 2020, 10:28 | #13 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,359
|
as I said don't use balena etcher crap glad you sorted that out.
I'm using Win32 disk imager (also: open source) for years successfully, to read & write back SD cards for Raspberry Pi (that have a tendency to rot just before I need them urgently for my retrogaming events!!) and also for CF cards. there aren't that much tools like that actually, and that WORK. A bit like .cue image burners. Only ImgBurn works. |
17 December 2020, 11:16 | #14 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,007
|
Wasn't it more like money hungry harddisk manufacturers who invented that they can sell disks better if they seem to be bigger than they really are? At old times they used real values, but then at some point when we went to gigabyte sizes they started to divide values by 1000...
|
17 December 2020, 11:38 | #15 |
Registered User
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 820
|
|
20 December 2020, 14:59 | #16 |
Registered User
Join Date: Aug 2003
Location: Left a bit/ Fire!
Posts: 325
|
|
20 December 2020, 16:04 | #17 |
Registered User
Join Date: Oct 2012
Location: South Shields
Posts: 812
|
The size problem is manufacturers sell drive capacities in decimal units so 1 gigabyte = 1000 megabytes but Windows is displaying the sizes in binary so 1 GiB = 1024 MiB. Hence 128 gigabytes as sold is roughly 119.21 GiB (gibibyte) in Windows.
|
20 December 2020, 17:00 | #18 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,436
|
Quote:
It doesn't seem to merely be a habit that takes a while to die, but rather a de-facto standard that has never really changed. The only exceptions to the old style of doing things seem to be Apple (OSX Finder labels 1000 bytes as 1KB) and harddisk/storage manufacturers (where the confusion is compounded by most users being unaware storage capacity is always measured before any filesystem is put on there). Anyway, I do fully agree it's silly to use a well-defined prefix and have it mean something else, but I don't see it ending on the short term. And even if it does change in a more widespread fashion, we'd still have literally millions of programs, pieces of hardware, books, etc that do not use the new definition so the confusion will likely stick around for quite a while. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do i replace Multiview or get Amigaguide to work properly? | Jolabandola | support.Apps | 1 | 11 October 2019 13:27 |
Icons don't display properly. | source | support.Apps | 14 | 17 July 2013 08:37 |
Why won't Megalomania work properly?!?!?!? | Cookiedeathbot | support.WinUAE | 11 | 03 November 2009 19:44 |
Can't get SAS C 6.5 to work properly | RickyD-II | Coders. General | 1 | 20 March 2007 10:26 |
CD32 games that work properly | Ian | support.WinUAE | 109 | 25 October 2005 16:25 |
|
|