scripts icon indicating copy to clipboard operation
scripts copied to clipboard

No USB device available to store firmware backup

Open winhex opened this issue 7 years ago • 9 comments

Hi! I have Acer Chromebook 14 (CB3-431) and I'd like to install Full ROM firmware. When I do it, your script prompts me to create a firmware backup, but I can't do it, because I always get this error: No USB device available to store firmware backup. I tried several different flash drives and an external hard drive, but nothing has changed. Why can't I create a firmware backup? p.s. Now in my chromebook installed GalliumOS 2.1, if this is important.

winhex avatar Feb 06 '18 13:02 winhex

the script just lists unmounted USB devices which are FAT/FAT32 formatted; you may need to manually unmount the USB drive after inserting it but before running the script

MrChromebox avatar Feb 07 '18 02:02 MrChromebox

it's not too obvious, I think)

winhex avatar Feb 07 '18 20:02 winhex

@winhex not sure what you're referring to exactly

MrChromebox avatar Feb 07 '18 20:02 MrChromebox

In my mind this message can be made more informative. For example, indicate that the user must unmount the usb device or something like this

winhex avatar Feb 07 '18 21:02 winhex

@winhex did that fix the issue for you? I've been unable to reproduce it myself

MrChromebox avatar Feb 07 '18 21:02 MrChromebox

I had a similar issue and it comes from the fact that the script is parsing the output of fdisk -l. it needs to be in English. if you have another locale enabled, you need to run the firmware utils like this:

sudo env LC_ALL=C bash firmware-util.sh

Also, it would be good to set export LC_ALL=C at the beginning of the script

mildred avatar Oct 05 '18 09:10 mildred

@mildred just at the top of firmware-util.sh?

MrChromebox avatar Oct 05 '18 20:10 MrChromebox

At the top, before anything else, so the environment variable is inherited

mildred avatar Oct 07 '18 17:10 mildred

@mildred added, let me know if that fixes the issue for you

MrChromebox avatar Nov 18 '18 17:11 MrChromebox