umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

UmbrelOS 1.1.2 ISO is corrupted?

Open tkhumush opened this issue 1 year ago • 22 comments

I am not sure if I'm doing something wrong. but every time I try to flash the iso. using Balena it fails.

I tried on Windows and Linux, but both keep giving me the same issue.

At this stage, I think the image is corrupted in some way.

Help appreciated.

Screenshot_20240602_141812

tkhumush avatar Jun 02 '24 18:06 tkhumush

Balena doesn't work, decompress the file and use gnome-disks or dd for flashing

alex27riva avatar Jun 02 '24 20:06 alex27riva

It seems to be an issue with Balena, you can use Rufus to flash the ISO on the USB without issue. I installed the OS last night and ran into this same issue with Balena. I tried Rufus instead and it worked without issue.

kwilson62 avatar Jun 03 '24 02:06 kwilson62

Also decompressing the iso.xz results in a folder called .iso.

tkhumush avatar Jun 03 '24 13:06 tkhumush

I am receiving the same thing I flashed with Rufus because Balena will not install on my pc because it's made for windows 10. No I am not going to buy a new pc just to get a windows 10 app to flash an iso to "do it right" any os install should work with rufus. As for installing when I booted up I got this as a response.

installing umbrelos on: sdb USB Sandosl 3.2Gen1 114.6GB
1302929408 bytes 1.3GB, 1.2Gib copied, 19s, 68.6MB/sxz: /umbrelos-amd64.img.xz: Compressed data is corrupt

0+156646 records in
0+156646 records out
1328333721 bytes 1.3GB 1.2Gib copied, 19.6334s 67.7MB/s
/opt/custom-tty: line 45: sync: command not found

UmbrelOS has been installed

After that it boots up to a Grub debug menu says unknown reason should never get here then it says dummy text entry & I can't do anything.

DeMoN100 avatar Jun 03 '24 18:06 DeMoN100

That's what's worrying me. The fact that decompressing the file leads to a folder instead of an ISO. And that Balena is having trouble with it. Is all ok and can be fixed.

But I Rufus does something with the ISO and I go to install it, chances are the ISO is corrupted and I end up with a zombie hardware and lightning node down until a new ISO is created.

So I will wait a little until I see updates here.

tkhumush avatar Jun 05 '24 15:06 tkhumush

I have the same problem. Also with old releases of Umbrel. Is there an easy alternative on MacOS to install this?

marcinbauer85 avatar Jun 12 '24 20:06 marcinbauer85

Was having the same issue and I tried Rufus to flash the image and it worked.

kevinschaich avatar Jun 13 '24 03:06 kevinschaich

Rufus is Windows only so on macOS there's no solution still?

marcinbauer85 avatar Jun 13 '24 07:06 marcinbauer85

I guess not, yeah. FWIW I tried umbrelOS for like 30 mins, imo not really usable yet. I'm using it for a plex server - there's no way to use an external USB drive as your library location. Gonna try ubuntu for now i guess

kevinschaich avatar Jun 13 '24 07:06 kevinschaich

Was having the same issue and I tried Rufus to flash the image and it worked.

Could you send a video or a screenshot of your rufus settings because I used rufus & the results were in my comment above.

DeMoN100 avatar Jun 13 '24 17:06 DeMoN100

RESPOSTA pessoal estava passando pelo mesmo problema, mas consegui resolver extraindo a pasta xz e dentro dela tem o arquivo .iso ai voce pode pegar esse arquivo e colocar no ventoy e continuar sua instalação sem precisar usar o balenaEcher nem o rufus!

### Como descobri! Para fazer a instalação em uma VLM (ambiente virtual) precisa fazer a descompactação do arquivo .xz

Braido350 avatar Jun 13 '24 23:06 Braido350

Rufus is Windows only so on macOS there's no solution still?

hopefully i've Parrallels, you can crack it if you want, no github there are repo for it. And have a windows on M2 MAX, is usefull !

Martial4034 avatar Jun 14 '24 13:06 Martial4034

How long for an answer @lukechilds is this issue just getting ignored? 2 weeks & not an answer is typically not a good sign!

DeMoN100 avatar Jun 17 '24 18:06 DeMoN100

Sorry for the lack of response, thanks for paging me @DeMoN100 I totally missed this.

I can confirm the UmbrelOS 1.1.2 ISO is definitely not corrupt, I have just downloaded it and flashed a USB stick with Etcher 1.19.21 on macOS. For anyone having issues flashing with Etcher could you let me know the version of Etcher and what OS you're using on the machine you tried to create the USB stick so we can investigate. Also if you could try updating Etcher if you aren't already on the latest version that would be great.

Re

Also decompressing the iso.xz results in a folder called .iso.

Decompressing the .iso.xz will result in the .iso file, however some archive tools try to be helpful and double extract files that are archived in multiple formats. So like if you get image.jpg.zip.zip it'll decompress both zip wrappers. ISO is also technically an archive so some tooling may try to extract the xz wrapper and then also extract the ISO into its raw filesystem leaving you with a directory. You can decompress properly with xz -d --keep umbrelos-amd64-usb-installer.iso.xz. However this should not be needed, Etcher is supposed to do this automatically if you point it to the .iso.xz.

@DeMoN100 your specific issue above (https://github.com/getumbrel/umbrel/issues/1843#issuecomment-2145912445) looks unrelated to the main post. In your logs I see:

installing umbrelos on: sdb USB Sandosl 3.2Gen1 114.6GB

Did you intend to flash Umbrel on the internal drive or a USB drive? You flashed onto a USB drive, is it possible you flashed over the USB drive you were booting on instead of to your devices internal storage? If that's not the case could you try flashing the ISO to a different USB drive?

lukechilds avatar Jun 18 '24 09:06 lukechilds

@lukechilds

I'm also unable to use the iso download of Umbrel, umbrelos-amd64-usb-installer.iso.xz. I tried balenaetcher, rufus, to flash to a usb stick, but none work. Rufus completes, but the iso is not bootable. Balena reports an error at the end of the flash process.

I'm also unable to extract the iso. Using the Windows extractor, it reports that certain files are already unarchived, and do I want to overwrite them with larger versions.

So, I'm unable to install umbrel until this issue is resolved.

jc-jnet avatar Jun 19 '24 08:06 jc-jnet

Sorry for the lack of response, thanks for paging me @DeMoN100 I totally missed this.

I can confirm the UmbrelOS 1.1.2 ISO is definitely not corrupt, I have just downloaded it and flashed a USB stick with Etcher 1.19.21 on macOS. For anyone having issues flashing with Etcher could you let me know the version of Etcher and what OS you're using on the machine you tried to create the USB stick so we can investigate. Also if you could try updating Etcher if you aren't already on the latest version that would be great.

Re

Also decompressing the iso.xz results in a folder called .iso.

Decompressing the .iso.xz will result in the .iso file, however some archive tools try to be helpful and double extract files that are archived in multiple formats. So like if you get image.jpg.zip.zip it'll decompress both zip wrappers. ISO is also technically an archive so some tooling may try to extract the xz wrapper and then also extract the ISO into its raw filesystem leaving you with a directory. You can decompress properly with xz -d --keep umbrelos-amd64-usb-installer.iso.xz. However this should not be needed, Etcher is supposed to do this automatically if you point it to the .iso.xz.

@DeMoN100 your specific issue above (#1843 (comment)) looks unrelated to the main post. In your logs I see:

installing umbrelos on: sdb USB Sandosl 3.2Gen1 114.6GB

Did you intend to flash Umbrel on the internal drive or a USB drive? You flashed onto a USB drive, is it possible you flashed over the USB drive you were booting on instead of to your devices internal storage? If that's not the case could you try flashing the ISO to a different USB drive?

Balena Etcher won't install on my pc same version as you 1.19.21 on Win7. I tried to use rufus instead & yes I was trying to install it on the same usb not the internal drive I will try again with using one to install on another usb.

DeMoN100 avatar Jun 20 '24 00:06 DeMoN100

@lukechilds

I'm also unable to use the iso download of Umbrel, umbrelos-amd64-usb-installer.iso.xz. I tried balenaetcher, rufus, to flash to a usb stick, but none work. Rufus completes, but the iso is not bootable. Balena reports an error at the end of the flash process.

I'm also unable to extract the iso. Using the Windows extractor, it reports that certain files are already unarchived, and do I want to overwrite them with larger versions.

So, I'm unable to install umbrel until this issue is resolved.

I forgot to say, I was using balenaetcher v1.19.21 on Windows 11. I will give it a go on Linux.

jc-jnet avatar Jun 20 '24 08:06 jc-jnet

@lukechilds OK I managed to get balenaetcher to flash the iso to usb sticks in both Windows 11 and Linux Mint. Had to decompress from the .xz file first. The .xz could be causing people some confusion.

But, I was unable to boot into umbrelOS on two old laptops. I also was unable to boot onto a newer laptop. So some progress, but still unable to install umbrelOS.

jc-jnet avatar Jun 21 '24 09:06 jc-jnet

I can confirm this issue on Ubuntu with Etcher v1.19.21 and Umbrel 1.1.2 and also with last week release (1.2.1)

After reading the response from @lukechilds I decompresed the file ussing the command xz -d --keep umbrelos-amd64-usb-installer.iso.xz wich properly creates a umbrelos-amd64-usb-installer.iso file (right click + "decompress here" creates a folder) then it worked just fine with the same Etcher v1.19.21

I was able to install umbrel but it never boots up after a successful installation umbrel

fedesanchez avatar Jun 26 '24 22:06 fedesanchez

Hey guys, it turns out this is a known bug in the latest version of Etcher, it fails to correctly decompress a compressed image. Many projects have reported it: https://github.com/balena-io/etcher/issues/4258

Apologies, I'm not sure why it worked for me when I tested previously. I think maybe Etcher caches previously decompressed images so I didn't actually get to run through the full decompression logic.

I've uploaded an uncompressed iso which should work on the latest version of Etcher here: https://download.umbrel.com/1.2.1/umbrelos-amd64-usb-installer.iso

The uncompressed image is too big to fit on GitHub (over 2GB) so we can't currently add it to the release assets on GitHub. But you can download directly from that URL above.

Alternatively you also install an older version of Etcher (1.18.11) and it should be able to flash our compressed images without issue, you can download that here: https://github.com/balena-io/etcher/releases/tag/v1.18.11

Thanks for reporting, and sorry for the inconvenience!

lukechilds avatar Jun 30 '24 11:06 lukechilds

Hello, @lukechilds! It seems like the ISO itself is corrupted, since I can't even flash it using Rufus.

Uncompressed ISO MD5: FDBF5C94E4B95BDDDA32DA5158039087 Compressed ISO MD5: 9F0D93C2FD1A18893DCE65879915E117

BurAndBY avatar Jul 05 '24 17:07 BurAndBY

@lukechilds Using the uncompressed iso is what finally worked for me. Could you link this Github comment in the official Umbrel community pages? The number of hours and days spent finding this answer was exceptionally frustrating and is probably hurting adoption.

ghost avatar Jul 17 '24 19:07 ghost

I had same issue but I uncompressed on Debian using unxz umbrelos-amd64-usb-installer.iso.xz and then just did open-with "Disk Image Writer" (default app on Debian) and that worked, no need to use Balena software to write images(never is). Although the latest release i.e. 1.3 seems to be missing sha256 checksum for verification for the usb iso image(neither compressed or uncompressed file's checksum exists in the provided sha256sums file).

nsvrn avatar Jan 08 '25 16:01 nsvrn