Thread (5 messages) 5 messages, 4 authors, 2017-03-16

Free Linux/Ubuntu VMs for Kernal Development?

From: François <hidden>
Date: 2017-03-14 10:15:02

On Tue, Mar 14, 2017 at 12:18:33PM +0800, Freeman Zhang wrote:
On 3/14/17 12:04 PM, Balaji Barmavat wrote:
quoted
Anybody's has any VM's links to download, for practice kernel
programming?

Well, I am using QEMU system emulator, for it's easier to connect to GDB
debugging and itself handles bootloader thing. You can set all things up
by one line parameters, really tidy.

The disadvantage is that I've been told system running in QEMU is slow,
but for kernel programming that wouldn't be the problem, will it?

What about others?
Depending on what you're working on, you can also use User Mode Linux
(UML) [1] which produces a elf, that you can run easily on top of your
existing linux distro.
Basically, you have to choose the "um" arch when compiling your kernel.

[1] http://user-mode-linux.sourceforge.net/old/UserModeLinux-HOWTO.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help