Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide image as zip #43

Open
probonopd opened this issue Sep 22, 2019 · 5 comments
Open

Provide image as zip #43

probonopd opened this issue Sep 22, 2019 · 5 comments

Comments

@probonopd
Copy link

https://repo.distr1.org/distri/jackherer/img/ has filesystem images; however they are in formats that balenaEtcher (the cross-platform quasi-standard tool to write images to USB devices) cannot understand (without the user having to unpack them first). Would it possible to have a .img.zip that balenaEtcher can work on?

@stapelberg
Copy link
Member

This is the first time I hear of balenaEtcher :)

While it would of course be possible to provide a .zip file, there are downsides (more disk space and bandwidth necessary for mirrors).

Can you explain why you can not just manually extract one of the existing archive formats? balenaEtcher should take a raw disk image, right?

@probonopd
Copy link
Author

Yes, but it means that I have to run gunzip, and this means it takes a lot of time and 8.5 GB of temp space on the hard disk. Inconvenient if you are running your OS e.g., from a Live ISO where you have maybe 1-2 GB of temp space but not 8.5 GB...

@mohe2015
Copy link

You could pipe the output, something like (NOT TESTED)
wget -O - https://repo.distr1.org/distri/jackherer/img/distri-qemu-serial.img.gz | gunzip | dd bs=512k of=/dev/null

@probonopd
Copy link
Author

Great trick @mohe2015, still I'd like to see this work in Etcher...

@mohe2015
Copy link

mohe2015 commented Jan 5, 2020

@probonopd I'm pretty sure balenaEtcher supports .img.zg images (balena-io/etcher#325) which are provided by https://repo.distr1.org/distri/jackherer/img/. I also just ran it and it tells me that it would burn the file without the .gz extension so I think that's right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants