User Mode Linux

José Ulloa Suárez.

 

 

Resumen

Introducción

Desarrollo del Proyecto

Conclusiones

Referencias

Anexos

 

ANEXO

 

Instalar UML en Debian

   Para instalar UML sobre Debian, se deben seguir los siguiente pasos:

  1. Instalar user-mode-linux y utilidades (uml-utilities):
    Debemos escribir en consola:
       $ apt-get install user-mode-linux
    El paquete uml-utilities se instala automaticamente por dependencias
     
  2. Recordar que es necesario obtener alguna fuente con sistema linux, o construir una a partir de nuestro sistema.
     

Logs de Arranque
 

A continuación se muestra la salida standard para una ejecución del comando linux de UML:


Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Linux version 2.6.0-test5-10-um (geeko@buildhost) (gcc version 3.3.1 (SuSE Linux)) 2 Thu
Oct 2 21:21:44 UTC 2003
On node 0 totalpages: 8192
DMA zone: 8192 pages, LIFO batch:2
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/ubd0 ubd0=root_fs_slack8.1 devfs=nomount
PID hash table entries: 16 (order 4: 128 bytes)
Memory: 28448k available
Calibrating delay loop... 629.14 BogoMIPS
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
pty: 256 Unix98 ptys configured
Initializing software serial port version 1
mconsole (version 2) initialized on /home/julloa/.uml/kVGWK0/mconsole
Initializing stdio console driver
ikconfig 0.6 with /proc/ikconfig
VFS: Disk quotas dquot_6.5.1
Initializing Cryptographic API
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
loop: loaded (max 8 devices)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using anticipatory scheduling io scheduler
ubd0: unknown partition table
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.84 booting
/etc/rc.d/rc.S: Testing filesystem status: Read-only file system
Checking root filesystem:
fsck 1.27 (8-Mar-2002)
/dev/ubd0 has gone 759 days without being checked, check forced.
/dev/ubd0: 14568/51584 files (0.4% non-contiguous), 50320/205824 blocks
Remounting root device with read-write enabled.
/dev/ubd0 on / type ext2 (rw)
Checking non-root filesystems:
fsck 1.27 (8-Mar-2002)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc type proc (rw)
Using /etc/random-seed to initialize /dev/urandom.
INIT: Entering runlevel: 3
Going multiuser...
Mounting remote (NFS) file systems: /sbin/mount -a -t nfs
Mounting remote (SMB) file systems: /sbin/mount -a -t smbfs
Starting sysklogd daemons: /usr/sbin/syslogd /usr/sbin/klogd -c 3 -x
Activating IPv4 packet forwarding.
Starting Internet super-server daemon: /usr/sbin/inetd
Starting OpenSSH SSH daemon: /usr/sbin/sshd


Welcome to Linux 2.6.0-test5-10-um (tty0)
darkstar login: