Difference between revisions of "linux/kernel/user mode VM"
Line 12: | Line 12: | ||
==File System Image== | ==File System Image== | ||
The easiest way to do that is to download an already build image | The easiest way to do that is to download an already build image | ||
− | wget ftp:// | + | wget ftp://ftp.freepascal.org/<some path>/fsroot.img.bz2 |
+ | Then you need to decompress it | ||
+ | bunzip2 fsroot.img.bz2 | ||
+ | Please note that this is really a minimal installation, including the fp-compiler and aptitude packages. The lattest will allow you installing any package you want providing you setup your network correctly. | ||
+ | |||
+ | The provided root file system image has already VM part networking configured, so you need just to configure the host part as described in next section. | ||
==Networking== | ==Networking== | ||
--[[User:Mazen|Mazen]] 23:52, 16 October 2007 (CEST) | --[[User:Mazen|Mazen]] 23:52, 16 October 2007 (CEST) |
Revision as of 00:05, 17 October 2007
Overview
This section is inteneded to help users interested in developping linux kernel modules to setup an UML VM to debug it during devlopmement phase.
Please note that this page will focus in configuring a VM running on a debian distribution based host.
Installation
First of all you need to install the package user-mode-linux
apt-get install user-mode-linux
Then you need the package uml-utilities
apt-get install uml-utilities
Configuration
File System Image
The easiest way to do that is to download an already build image
wget ftp://ftp.freepascal.org/<some path>/fsroot.img.bz2
Then you need to decompress it
bunzip2 fsroot.img.bz2
Please note that this is really a minimal installation, including the fp-compiler and aptitude packages. The lattest will allow you installing any package you want providing you setup your network correctly.
The provided root file system image has already VM part networking configured, so you need just to configure the host part as described in next section.
Networking
--Mazen 23:52, 16 October 2007 (CEST)