-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with flashing on Mac OS #247
Comments
The main partition doesn't only hold your roms, but also apps, emulators, and native games (in the folders with those names), which all take up around 1GB. Also, I don't know how big your SD card is, but have you expanded the main partition to the full space of the card, with a partitioning tool? If not, you have some amount of wasted free space on your SD card. |
Hi @andrigamerita thanks so much for replying. My SD Card is 16GB. There are 2 partitions. |
There should also be a "rootfs" partition on the card, if you flashed the IMG without doing anything strange, probably macOS just doesn't see it because it is ext4. But the boot and main partitions look normal, as they are in the IMG. So the card should work as it is and the console should boot, I don't know if you already tried.
So yeah, you have roughly 12GB of unused space at the end of the card, you should expand the main partition with a partitioning tool, by using the unused space.
For macOS I know none, and I don't remember if the tool included with macOS lets you expand FAT32 partitions, it should. If not, I suggest GParted. It's only for Linux but the website offers ISO files you can burn on a CD or flash on a pendrive, reboot your computer to it, and doing the partitioning job. |
Hi @atriot :) I myself now EXCLUSIVELY use Mac OS for all things Miyoo, much thanks to Hans Luijten's absolutely BRILLIANT and FREE utility 'ApplePi-Baker' (https://www.tweaking4all.com/software/macosx-software/applepi-baker-v2/). The utility is made with the Raspberry Pi in mind, but works FLAWLESSLY with BittBoy/PocketGo/PowKiddy as well - and does EVERYTHING needed from the same interface: Format, Restore, Resize (<- the solution to your current problem) and Backup. Contemplated a while to make a step-by-step guide, but it's literarily so easy and straight forwards that none is needed :P Sincerely, |
Hi thanks again for that. I've tried using the SD card on the v90 and it works. the problem is just that there is no rom in it as I do not have space to transfer the roms. I have run disk utility on the SD card heres how it looks: https://imgur.com/a/B2Vt6q3 I am not sure how to fix the partitions properly as i am using a basic app called SD Card Formatter which works with the mac to format the new SD card. So I guess the problem now is about the partitioning on the SD card which I dont know how to fix.... |
Hi Thanks for the info. I've tried downloading the app but it looks like this one mine. https://imgur.com/tE7Kh0O I tried mounting with this app but the same problem with space (as above) occurred. What did you use to format your SD card? Thanks again |
@atriot it looks like Disk Utility just.. Doesn't acknowledge the unused space? I know nothing about the software BryMD suggested, so I can't help with thay, you are better off flashing the GParted ISO onto a thumbdrive and rebooting your PC into that just to expand the SD partition And also now that I'm thinking about it, I don't know if the CFW includes classic CLI tools for partitioning, if so you could use the included app "SDL Terminal" and do everything with command line from the console itself.. Yeah, even if it was possible, it would not be a pleasant experience at all.. But this gives me an idea: the CFW could include a script you can just start from the menu to expand the partition automatically |
Hi again @atriot ! I use ApplePi-Baker for EVERYTHING!
I see you've downloaded an old version (1.9.9). Version 1.9.9 is the last version WITHOUT partition expansion support. The download link above the one you clicked is version 2.2.4, and is the one you want! Sincerely, Edit: @andrigamerita : I read somewhere that partition auto-expansion was being considered and/or been implemented, and hopefully is on track for release with CFW 1.4.0... |
Hi again, @atriot :) In danger of presuming wrongly, I think that the main problem here is separating what is a disk from what is a partition/volume. As such, I'll try to explain it briefly: Imagine the whole DISK of your Micro SD card as being a big box. Then imagine putting a much smaller box inside that box. The much smaller box is the main PARTITION/VOLUME of the custom firmware where all your stuff needs to go. The operating system ONLY sees this small box available for storage. As such, what we need to do here is to expand the small box to make it fill the entire big box. This is where ApplePi-Baker (version 2.0 and up ;) ) and step 3 in my post above comes in :) Hope this helps, and my apologies of presuming wrongly... Sincerely, |
|
thanks fr the
Hi everyone. thanks so much again for the reply. Thanks for the patience as I am not very tech proficient. |
Hi again @atriot :) I have to say you've gotten me profoundly confused with your last post. ApplePi-Baker runs PERFECTLY on Mac OS 10.15 Catalina as well... To put it bluntly, I PERSONALLY had bigger difficulties following the instructions for Windows than doing it blindly with ApplePi-Baker - hence my excitement about this BRILLIANT piece of software! Perhaps a step-by-step guide is warranted after all... :P Sincerely, For everyone else on a Mac, here's the download page again: https://www.tweaking4all.com/software/macosx-software/applepi-baker-v2/ |
A past Mac user here (migrated/upgraded to Linux). As far as I know, the included Disk Utility application with Mac OS X and its variants does support basic formatting of partitions/volumes to FAT32, but it has the same bugs/quirks as the default disk utility in GNOME -- it just isn't able to perform more advanced operations such as resizing on Windows/FAT partitions successfully. So what you'd need to find, @atriot, for the resizing/expanding is a custom disk utility for Mac based on GParted and its code. Something that is a little more serious/advanced than the included Disk Utility on the system. |
Guide for Mac users: Steps to flash an SD card:
Warning: Make sure that you enter the correct disk number for your SD card, or you will be overwriting a different card/disk on your computer!! Double-check the number in Disk Utility, or run the Note: When you hit Return/Enter on the above write command, dd/Terminal will appear to do nothing. This is normal. Wait until dd finishes its work, and it will give you a summary of the successful write. This may take quite some time, so be patient. If you hold down CTRL and press T on your keyboard, it will show you how dd is working. Steps to back up your whole SD card into a disk image file:
Steps to expand the size of the "main" partition on the card: The easiest way to do this, if you have a CD/DVD drive, is to burn the GParted LiveCD ISO to an optical disc, and boot from it on your Mac by turning on the Mac and holding down the C key on your keyboard at the boot sound/chime. When successful, you'll be greeted with an old-type, Windows-like blue/system screen. Just leave all the settings as default and hit the Return/Enter until it loads up GParted. (Note: You'll likely need a wired mouse and keyboard for this, as your wireless/Bluetooth mice and keyboards will not work here! Paired, Bluetooth/wireless controllers don't work outside of the operating system.)
|
Wiki updated! thanks! |
Thanks @TriForceX. We can probably close this issue, now (mark it as solved), since a working, tested and supported solution has been found, and a Mac setup/flashing guide, using the built-in Mac OS software, has been added to the official instructions. |
HI thanks for the guide. It is really useful. It's really difficult to do this on a mac! I've formatted with the SD Card Formater and tried to flash the CFW file into the SD card. But when I try to transfer the ROMS I discovered that there was a weird unknown space usage in the SD Card which I couldnt find. I have attached a screenshot for refeerence here https://ibb.co/CvqBSRy. Any Help would be greatly appreciated. Thanks everyone!
The text was updated successfully, but these errors were encountered: