-
Notifications
You must be signed in to change notification settings - Fork 7
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
Failing to init and boot #4
Comments
Are you by any chance using Windows as your operating system? It loves to add .txt extensions to the init script. All GarlicOS files need to be stored in a subfolder named boot inside the exfat formatted MicroSD card. |
This was actually with macos. Init file is definitely good; I both downloaded the raw file straight to the card, and have tried creating it directly in Nano. Someone on Reddit claimed to have been having the same problem with his mac before switching over to windows to do the exFAT format, and had success. He suggested, and my current theory, is that there's something different about the way macos diskutility formats exFAT that was keeping the device from reading it properly. My plan was to try an alternate CLI app for it, or do it in Linux before breaking out a Windows VM, but I ran out of time to play around with it before giving it as a Christmas gift. I'll be taking another run at it in the coming months when mine arrives, for actual testing and messing around, or I eventually retake custody of the gifted rg35xxplus once there's a stable release. Thanks for all your work, and thanks for the reply! You're welcome to close this for now and I'll reopen when I get back to it. |
I've had the same issue, and after formatting again from Windows it works fine |
What tool did you use and what scheme did you format it to? exFat? Fat32? The stock sd card comes as a Fat32. With Minitool partition wizard on windows I've tried both exFat and Fat32. .sh extension AND no extension for the init without luck. |
When it worked, I'd used Minitool Partition Wizard and formatted the SD (a Kingston one with almost a week of use) as exFAT Try this if you don't done it like this, directly download the file and copy it to the SD(the file itself, you don't need to touch the code) |
Adding my two cents here, I assume this has something to do with the partition table. I don't remember how I ended up with a RAW based exFAT FS (no partition table, just one exFAT FS consuming the whole disk). Windows is reading it fine, but apparently the boot env on RG35xx+ doesn't like it. It always booted into TF1 stock OS. After reformatting my TF2 with SD formatter, which ends up with a MBR table and one exFAT partition, it's booting into Garlic without issue. I didn't try GPT, but I'd assume others running into the same issue is more likely to be caused by GPT rather than RAW like me. I can validate it and update back later. Edit: I tested and find that GPT actually also work. So the issue only occurs for RAW. |
I just wanted to chime in one more time that the suggestion from @SlowpokeFisher worked for me. |
That worked for me too. Thank you very much! |
I'm normally really good with this stuff. I run my own linux server, have done plenty of sdcard image flashes for a variety of hardware, run OpenWRT on a Pi, run custom DNS on another Pi, root all of my Android phones, etc, etc... I hate to post another one of these, but I can't seem to get the GarlicOS 2.0 bootloader to run the init on TF2.
Any help would be great. I'll update this with my results.
setup:
troubleshooting:
currently:
questions:
The text was updated successfully, but these errors were encountered: