balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.63k stars 2.1k forks source link

Unable to proceed past Flash from file #4234

Closed afurno-cisco closed 4 months ago

afurno-cisco commented 4 months ago

Downgrading to 1.18.11 resolved the issue

marcenuc commented 4 months ago

Same behaviour on Ubuntu 23.10 trying to flash ubuntu-24.04-desktop-amd64.iso.

After a few seconds, the following error is displayed: Error opening source Something went wrong while opening ubuntu-24.04-desktop-amd64.iso Error: (0, h.requestMetadata) is not a function.

BrainInJar commented 4 months ago

I have the same issue

mariusriishaugan commented 4 months ago

Same here

afurno-cisco commented 4 months ago

Same behaviour on Ubuntu 23.10 trying to flash ubuntu-24.04-desktop-amd64.iso.

After a few seconds, the following error is displayed: Error opening source Something went wrong while opening ubuntu-24.04-desktop-amd64.iso Error: (0, h.requestMetadata) is not a function.

I never got an error, it just sat there for ~10 minutes until I closed the program

andrejdaskalov commented 4 months ago

I have the same error while trying to flash Ubuntu 24.04. I'm running Etcher on Windows 11

SmArtKar commented 4 months ago

Same here

AimadMoustajil commented 4 months ago
  1. Verify the ISO File Ensure the Ubuntu ISO file is not corrupted. You can verify the integrity of the ISO file by comparing its checksum with the one provided by the Ubuntu official website.

  2. Run Etcher as Administrator Running Etcher with administrative privileges can resolve permission-related issues. Right-click on the Etcher icon and select "Run as administrator".

  3. Update Etcher Ensure you are using the latest version of Etcher. Sometimes, bugs are fixed in newer versions, so updating might resolve the issue.

  4. Check File Permissions Ensure that the ISO file and the Etcher application have the appropriate read/write permissions.

  5. Re-download the ISO If the ISO file is corrupted, re-downloading it from the official Ubuntu website might solve the issue.

  6. Disable Security Software Sometimes, antivirus or other security software can interfere with Etcher. Temporarily disable any security software and try again.

  7. Clear Etcher Cache Etcher stores some data in cache that might cause issues. Clearing the cache might help.

On Windows, Etcher stores its cache in C:\Users\\AppData\Roaming\etcher. Delete the cache and try running Etcher again.

  1. Try a Different USB Drive The issue might be related to the USB drive you are using. Try using a different USB drive.

  2. Reinstall Etcher Uninstall and reinstall Etcher to ensure there are no corrupted files or settings.

  3. Use an Alternative Tool If Etcher continues to give you trouble, you can use an alternative tool to create a bootable USB. Some popular alternatives include:

Rufus UNetbootin Universal USB Installer Step-by-Step Guide to Reinstall Etcher Uninstall Etcher:

Go to Control Panel > Programs > Programs and Features. Find Etcher in the list, right-click on it, and select Uninstall. Delete Etcher Cache:

Navigate to C:\Users\\AppData\Roaming. Delete the etcher folder if it exists. Download the Latest Version:

Go to the Etcher official website. Download the latest version for Windows. Install Etcher:

Run the downloaded installer and follow the on-screen instructions to install Etcher. Run Etcher as Administrator:

After installation, right-click on the Etcher icon and select Run as administrator. Creating a Bootable USB with Rufus If you decide to use Rufus as an alternative, here’s how you can create a bootable USB:

Download Rufus:

Go to the Rufus official website. Download the latest version of Rufus. Run Rufus:

No installation is needed, just run the Rufus executable. Select USB Drive and ISO:

In the Rufus main window, select your USB drive. Click on the SELECT button and choose the Ubuntu ISO file. Start the Process:

Click START to begin the process of creating the bootable USB. Follow any additional prompts.

NotGabe001 commented 4 months ago

Same here. Windows 11, trying to flash Solus 4.5. Running as administrator and clearing cache did not help.

intuser commented 4 months ago

Same here. (Windows 11 Pro, newest Etcher.) Running as administrator doesn't help. Rufus: Uses doubleclick, Edge wouldn't even allow to download it without some security add-on. UNetbootin: usb isn't bootable.

intuser commented 4 months ago

I also tried the advice here (https://askubuntu.com/questions/758658/creating-a-usb-media-using-unetbootin-isnt-recognized-as-booting-media):

"When you want to create the installation media from within Windows, boot Windows, open command prompt as administrator and execute :

diskpart
list disk  
select disk *  
clean  
create partition primary  
active  
format fs=fat32 quick  
assign letter=** 

Note : * = number of USB drive | ** = select a free drive letter Now mount the ISO file and copy the content to the USB disk."

But again, the USB doesn't boot, even if selected in the boot menu.

intuser commented 4 months ago

I tested the result of the last advice and of UNetbootin on my working dual boot (Linux, Windows) machine. Selecting the usb drive to boot in both cases I end up with a grub prompt (actually two grub prompts). Something like "grub >".

aethernet commented 4 months ago

Same behaviour on Ubuntu 23.10 trying to flash ubuntu-24.04-desktop-amd64.iso.

After a few seconds, the following error is displayed: Error opening source Something went wrong while opening ubuntu-24.04-desktop-amd64.iso Error: (0, h.requestMetadata) is not a function.

That's a different issue. Can you open another ticket ?

aethernet commented 4 months ago

Found the issue for windows... will be fixed in a couple minutes

cngr commented 4 months ago

I have the same isue in linux,but with etcher 1.18.12 work fine imagen

DevEdoardoCorradetti commented 4 months ago

On Windows 10 Home, Version 22H2, downgrading to balenaEtcher-Portable-1.18.11 from this SourceForge link does not cause the same issue as downloading balenaEtcher-1.19.19.Setup from the official Etcher website.

aethernet commented 4 months ago

Those two version 1.18 and 1.19 are completely different. The problem for windows is identified and a patch is under development.

aethernet commented 4 months ago

The linux issue is different tho and will need to be dealt with in another ticket.

aethernet commented 4 months ago

The windows problem is fixed in 1.19.21 (waiting for CI to finish the release, will take a minute or so). The linux/ubuntu problem will require a deeper exploration

intuser commented 4 months ago

I installed the new version, but the problem persists. Again, running as administrator doesn't help. Also downloading the iso again didn't help. (ubuntu-24.04-desktop-amd64.iso)

NotGabe001 commented 4 months ago

Works for me now, ISO boots as well

Sensang commented 4 months ago

Same issue on windows 10.. I've tried using an image from a URL instead and now it just takes forever to load.

KartikeyaWalia commented 4 months ago

I think there are still issues with etcher working with Win11. I was trying for the past 30 mins. Then used win32diskimager and it worked fine.

dye46 commented 3 months ago

ubuntu-24.04-desktop-amd64.iso yields the same hang (just after file selection) 1.19.21 version. fresh-ish win10 Pro install.

iso image latest Desktop version from Ubuntu.

md5 checksum: md5sum Downloads/ubuntu-24.04-desktop-amd64 3b7c9731cd61b718a9163a0cbab27512 Downloads/ubuntu-24.04-desktop-amd64(1).iso 3b7c9731cd61b718a9163a0cbab27512 *Downloads/ubuntu-24.04-desktop-amd64.iso

Workaround: use Rufus

marksholcomb commented 3 months ago

Windows 11 ... I have experienced the issue where etcher is unable to write to my USB drive. My USB (2.0?) drive was plugged into an expander. I moved the USB drive to a port directly on the computer (3.0?) and it works! Maybe this is explained in this thread somewhere.

AlejandroElingeMecatronico commented 3 months ago

Hi. I've had the same problem and I resolved this with a simple step: I ran the etcher how administrator. With this I hope you could flash the iso!!!!

RobTangle commented 2 months ago

I had the same problem in Windows 10 trying to use the Ubuntu 24.04 iso. But running balenaEtcher-1.19.21.Setup file as administrator solved the issue! I then got an error during the Flash setup, due to Windows Protection. I had to disable some antivirus and ransomware protection to make it work.

mdilena commented 1 month ago

I was getting this error on Ubuntu 22.04 and, similarly to what suddenly started happening with Vivaldi web browser, I ran ./balena-etcher --disable-gpu and it worked :shrug:

ECiurleo commented 1 month ago

Still having this issue with 1.19.22 installed on fedora 40 via the RPM.

Tried --disable-gpu, running as sudo --no--sandbox and continue to get the same error when trying to load Win11_23H2_EnglishInternational_x64v2.iso (official download)

jhebb-hass commented 3 weeks ago

Also having this issue on Windows 10 22H2

RobTangle commented 3 weeks ago

I kept having problems with Balena. My solution was to just use Rufus instead. It worked perfectly with Rufus

renWebGit commented 2 days ago

Same problem here with 1.19.25 running on Windows 10 22H2 and selecting ubuntu-24.04.1-desktop-amd64