Stuff that has not yet gone into the official build.
Post a reply

Boot qemu from CDROM

Sun Oct 09, 2016 2:28 am

I just ran the subject experiment and it FAILED! You probably already knew it would. The printout wasn't long but went something like this:

Boot failed: Could not read from CDROM (code 0003)
Then several lines about iPXE mentioning something about network.
And finally - No bootable device.

So now you know.

Re: Boot qemu from CDROM

Sun Oct 09, 2016 2:32 am

When using Virtualbox, you have to enable (or disable ) PXE (or only something which sound similar?), else boot will fail.
But that happens with all Linux distros, not only with refracta.
I will check it later (also am planning to give qemu a try again, which is a better plan to compare ... :-) ).

iow: this is rather chat than knowledge :-)

Re: Boot qemu from CDROM

Sun Oct 09, 2016 3:07 am

Chat is good, :)

Re: Boot qemu from CDROM

Sun Oct 09, 2016 3:10 am

indeed. :-)

But only refracta fails or other CD's too?

Re: Boot qemu from CDROM

Sun Oct 09, 2016 3:11 am

btw: did anything change when it comes to qemu or can i use the old how-to's ?

Re: Boot qemu from CDROM

Sun Oct 09, 2016 11:55 am

I don't know qemu very well, but the basic commands for booting an iso or img file seem to be the same as they were a few years ago. I'm currently using this:
Code:
qemu-system-x86_64 -enable-kvm -m 320 -device e1000,netdev=user.0 -netdev user,id=user.0,hostfwd=tcp::5555-:22 -cdrom snapshot-beta05-20161007_2122.iso -soundhw hda -smp cores=2,threads=2


The 'threads=2' is for a newer intel cpu, with two threads per core.

The network stuff allows the following:
Code:
   Host to guest:  ssh -p5555 user@localhost
   Guest to host:  ssh -i /path/to/keyfile user@10.0.2.2   (keyfile is optional)
Post a reply