-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Question]: tutorial for *.img.gz #552
Comments
Thanks. The container is more based on the assumption that you have a CD-ROM ISO to install from, instead of a pre-made disk IMG. However, it should be possible by extracting the *.img.gz to a file called That way it should work, but if you have a download link to the file, I can see if I can make this process easier (automatic). |
Thanks, I will give it a try. That would be even easier. The link for this example is |
@EinFreierUser I created a new version (v5.15) now, that supports images like *.img.gz now, and if I set: environment:
BOOT: "https://releases.libreelec.tv/LibreELEC-Generic.x86_64-12.0.0.img.gz" it seems to work fine. Please try it out! |
hey, i downloaded the new version and typed docker run -it --rm -e "BOOT="https://releases.libreelec.tv/LibreELEC-Generic.x86_64-12.0.0.img.gz -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN qemux/qemu-docker and it started up! Only Problem is that it cant install because of a missing hdd... i read ur advice to change it into blk when this problem comes up... but im stuck at looking for the right command... compose is sadly no option for me... is there a list with the commands i can use? |
|
right code, but dont solve the problem... with qemu it worked with qemu-system-x86_64 -enable-kvm -cpu host -machine q35 -device amd-iommu -m 4096 -smp 4 -device virtio-vga-gl -display sdl,gl=on -device intel-hda -device hda-duplex -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -hda /home/x/vmplatten/LibreELEC-Generic.x86_64-12.0.0.qcow2 -name "LibElec" i dont unterstand the whole lines and its copied somewhere and modified a little bit for this, but it runs... if i need all the parameters, i dont know, but if it is starting up, i will see how it will perform :D |
@EinFreierUser Ow nevermind, the reason was very simple. When booting via a But with the LibreElec file it is not a ready-installed OS, but an installer. So you need to add a second harddrive even though you already have one. I created a new version (v5.16) which fixes this, please try it out. |
hey, the v5.16 works like a charm, many thanks. The disk is found. Its still not booting up completely, but i think, there is something different missing like 3D accelleration or similar. I'll try to solve it with compose... is there a list with the whole commands to make a bash script (*.sh)? seems not to be equal to the original qemu commands |
If you set |
Is your question not already answered in the FAQ?
Is this a general question and not a technical issue?
Question
Hello, i like the idea of the qemu in a docker. But its different for a beginner like me compared to the native qemu. My goal is to run things like Libre Elec in it (images like *img.gz, that arent *.iso). I get it running in the native qemu by converting it into qcow2, but in your version it starts booting only to a certain point and then gets stuck. Perhaps u can add a few steps and cli-commands in your description, how to get such an image running?
Thank you and keep up the great work
The text was updated successfully, but these errors were encountered: