[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-discuss
Subject: [Qemu-discuss] Using QEMU with Debian Image
From: Bowen Wang <bowenwang.tinker () gmail ! com>
Date: 2016-09-23 21:14:55
Message-ID: CABSwdrySSimjj9OaSQXajXq80WgX2BcQhzrhOY6Hk11bYamQeQ () mail ! gmail ! com
[Download RAW message or body]
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?
Sincerely,
Bowen Wang
[Attachment #3 (text/html)]
<div dir="ltr">Hi everyone, <div>I am pretty interested in Linux kernel development, \
so I try to use the QEMU to debug the kernel. </div><div>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.</div><div>I \
use the command </div><div>qemu-img create -f qcow2 kernel.img 10G</div><div>to \
create an empty virtual disk image.</div><div><br></div><div>Then I download the iso \
file from Debian website, open the qemu using this \
command:</div><div>qemu-system-x86_64 -m 4096 -boot d -cdrom debian.iso -hda \
kernel.img</div><div><br></div><div>After that, the QEMU started, everything went \
fine, I installed the OS successfully on the emulator. \
</div><div><br></div><div>After the installation was finished, I quit QEMU, restart \
it using </div><div>qemu-system-x86_64 -hda kernel.img</div><div>The kernel said \
that:</div><div>/boot/grub/i386-pc/normal.mod didn't \
found</div><div><br></div><div>Can anyone tell me what's going on and how to fix \
it?</div><div><br></div><div>Sincerely,</div><div>Bowen Wang</div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic