Error when flashing an image with balenaEtcher

Post Reply
jalcaid001
Posts: 174
Joined: Mon Nov 28, 2016 2:43 am
languages_spoken: english spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 2 times
Contact:

Error when flashing an image with balenaEtcher

Post by jalcaid001 »

SD card is 64GB, image ubuntu-20.04-3.16-mate-odroid-c2-20210120.img.xz
At the end it tells me it fails. But Ubuntu seems to load fine

Should I ignore the error, or try another SD card?

ruppi
Posts: 181
Joined: Fri Feb 22, 2013 11:13 pm
languages_spoken: korean
Location: South Korea
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by ruppi »

What kind of error has occurred?
Don't ignore the error. i think it would be better to try another SD card.

jalcaid001
Posts: 174
Joined: Mon Nov 28, 2016 2:43 am
languages_spoken: english spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by jalcaid001 »

IT just says at the end: Flash failed!
I tried also with the .img file (uncompressed)
I was flashing from a USB3.0 SD adaptor
Any other ideas before changing the card

ps. Can I attach pictures to the posts?

User avatar
mctom
Posts: 2255
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by mctom »

If you use Linux to flash the SD card, you could try using "dd" command instead, to get more meaningful error message.
Let us know if you wish to try that. There is a danger of overwriting one of the disk partitions if used incorrectly.
note img.xz is a compressed image so you'd have to unpack it before writing with dd. Etcher handles that automatically.

Indeed trying another SD card is a good idea.

Yes you can post pictures on this forum. Use a "Full Editor & Preview" button below a Quick Reply box, where you will be able to attach files.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

jalcaid001
Posts: 174
Joined: Mon Nov 28, 2016 2:43 am
languages_spoken: english spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by jalcaid001 »

Tx.. that's how it looks
Image

Is there a better windows flasher app that would give me more details?

I have a XU4 box running ubuntu, so I guess I could use one of the USB3.0 ports to connect the SD adapter. How would I use dd
Attachments
balena1.jpg
balena1.jpg (21.91 KiB) Viewed 164 times

User avatar
mctom
Posts: 2255
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by mctom »

If you can, try another SD card first, then we'll try more risky methods.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

jalcaid001
Posts: 174
Joined: Mon Nov 28, 2016 2:43 am
languages_spoken: english spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by jalcaid001 »

Interesting thing when I tried with and old WIndows 7 32 bit machine

BalenaEtcher doesn't work (window screen is empty)
Win32DiskImager works (flashes without any error)

In my usual WIndowss 10 64 bit machine

BalenaEtcher doesn't work (as mentioned, it flashes, but it tells me 'Flash Failed!' at the end)
Win32Diskmager does not work (I get the error ""An error ocurred when attempting to lock the volume. Error 5: Access is denied." before starting)

This is how the disk looks:
DISKPART> detail disk

Generic STORAGE DEVICE USB Device
Disk ID: 1272381D
Type : USB
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 4 D boot exFAT Removable 59 GB Healthy

DISKPART>
It's possible it's some Windows issue?

User avatar
mctom
Posts: 2255
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by mctom »

Perhaps you could run Etcher as Administrator?
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

jalcaid001
Posts: 174
Joined: Mon Nov 28, 2016 2:43 am
languages_spoken: english spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by jalcaid001 »

yes.. and I tried with another Windows 10 machine and I didn't have a problem.

Googling, I see many people is having problems with ""An error ocurred when attempting to lock the volume. Error 5: Access is denied."... No solution seems to be working with me.

User avatar
mctom
Posts: 2255
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Error when flashing an image with balenaEtcher

Post by mctom »

It seems your SD card is OK, it's just Windows being Windows, I guess.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 10 guests