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

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## 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.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: Boot qemu from CDROM

Sun Oct 09, 2016 3:07 am

Chat is good,
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Boot qemu from CDROM

Sun Oct 09, 2016 3:10 am

indeed.
But only refracta fails or other CD's too?
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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 ?
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## 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 [email protected]
  Guest to host: ssh -i /path/to/keyfile [email protected]
  (keyfile is optional)`

Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.