From mboxrd@z Thu Jan 1 00:00:00 1970 From: fser@code-libre.org (=?iso-8859-1?Q?Fran=E7ois?=) Date: Tue, 14 Mar 2017 11:15:02 +0100 Subject: Free Linux/Ubuntu VMs for Kernal Development? In-Reply-To: <67cf1b72-57ff-717f-bc39-fc2a52693534@gmail.com> References: <67cf1b72-57ff-717f-bc39-fc2a52693534@gmail.com> Message-ID: <20170314101501.GB17124@sith> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Mar 14, 2017 at 12:18:33PM +0800, Freeman Zhang wrote: > On 3/14/17 12:04 PM, Balaji Barmavat wrote: > > 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