On Thu, Jul 28, 2016 at 09:04:30PM +0530, Gadre Nayan wrote: > Hi everyone, > > I am trying to get my Host Ubuntu Machines kernel and initrd to run in > QEMU as well. > > Basically I have Host Ubuntu 16.04, with Linux kernel 4.4.13. I > compiled the kernel (make, make modules modules_install, install > etc.). > > So I have the following files: > Initrd: /boot/initrd.img-4.4.13 > Kernel: /usr/src/linux/arch/x86_64/boot/bzImage > > I have built the latest qemu from source. > ./configure --enable-trace-backend=ftrace --target-list=x86_64-softmmu > --enable-debug --enable-sdl --enable-kvm > make > > /x86_64-softmmu/qemu-system-x86_64 -kernel ../../../boot/bzImage > -initrd initrd.img-4.4.13 -hda disk.img
Have you tried giving it more memory? (-m 1024) Recent installers and distros may hang if there is not enough RAM. I'd also suggest the -enable-kvm option to get better performance. Stefan
signature.asc
Description: PGP signature