-
Notifications
You must be signed in to change notification settings - Fork 39
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
Suggestions to Improve Script #14
Comments
These are excellent suggestions, and I'll be happy to take a PR if you create it. For the small USB drive, yeah, I agree it was probably just a bit too small. If the error message is confusing or misleading, I'm open to suggestions how to improve it. |
I've never done a PR... but I guess it's about time I learned. Give me a week here and I'll try to figure it out :) |
It's a cinch, and you'll be glad to have an extra tool in your toolbelt once you've done it.
That's pretty much it. |
Well better late than never I guess. |
I ran this script on my Ubuntu VM machine.
I ran:
sudo ./mkeosdrive /dev/sdb ~/Downloads/ER-e100.v2.0.9-hotfix.7.5622762.tar
Output was:
I suspected the system hadn't recognized the partition yet by the time the mkfs.msdos command was run.
I added:
Approximately line 83, between
echo "Waiting for disk sync..."
Line 81 andecho "Formatting $DEVICE partitions..."
Line 84After the 2 second sleep was added everything completed normally.
I'd suggest you perhaps consider added that 2 second sleep.
Finally you had a minor typo line 27:
echo "If you want to provide a root partition end cap size but no config, use \"-\" without the quotes as the third paramenter."
Should be say parameter
At first I tried to use a 1GB disk and it failed because the size was actually 940MiB or something. I ended up just using a 4GB USB. I'm not sure what the solution is, perhaps it's too small?
Otherwise great script thanks.
The text was updated successfully, but these errors were encountered: