[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Using QEMU with Debian Image

From: Bowen Wang
Subject: [Qemu-discuss] Using QEMU with Debian Image
Date: Fri, 23 Sep 2016 17:14:55 -0400

Hi everyone, 
I am pretty interested in Linux kernel development, so I try to use the QEMU to debug the kernel. 
First thing I did is to create a virtual disk image because I am developing the code on the computer that university provides, I don't have the root access on the computer.
I use the command 
qemu-img create -f qcow2 kernel.img 10G
to create an empty virtual disk image.

Then I download the iso file from Debian website, open the qemu using this command:
qemu-system-x86_64 -m 4096 -boot d -cdrom debian.iso -hda kernel.img

After that, the QEMU started, everything went fine, I installed the OS successfully on the emulator. 

After the installation was finished, I quit QEMU, restart it using 
qemu-system-x86_64 -hda kernel.img
The kernel said that:
/boot/grub/i386-pc/normal.mod didn't found

Can anyone tell me what's going on and how to fix it?

Bowen Wang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]