getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
7.21k stars 522 forks source link

UmbrelOS 1.1.2 ISO is corrupted? #1843

Open tkhumush opened 3 months ago

tkhumush commented 3 months ago

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

alex27riva commented 3 months ago

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

kwilson62 commented 3 months ago

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.

tkhumush commented 3 months ago

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

DeMoN100 commented 3 months ago

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.

tkhumush commented 3 months ago

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.

marcinbauer85 commented 3 months ago

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

kevinschaich commented 3 months ago

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

marcinbauer85 commented 3 months ago

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

kevinschaich commented 3 months ago

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

DeMoN100 commented 3 months ago

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.

Braido350 commented 3 months ago

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

Martial4034 commented 3 months ago

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 !

DeMoN100 commented 3 months ago

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

lukechilds commented 3 months ago

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?

jc-jnet commented 3 months ago

@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.

DeMoN100 commented 3 months ago

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.

jc-jnet commented 3 months ago

@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 commented 3 months ago

@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.

fedesanchez commented 3 months ago

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

lukechilds commented 2 months ago

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!

BurAndBY commented 2 months ago

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

mpatzer commented 2 months ago

@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.