Penguin
Diff: UserModeLinux
EditPageHistoryDiffInfoLikePages

Differences between version 20 and predecessor to the previous major change of UserModeLinux.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 20 Last edited on Wednesday, August 29, 2007 4:40:55 pm by AlastairPorter Revert
Older page: version 18 Last edited on Wednesday, May 2, 2007 3:53:26 pm by PerryLorier Revert
@@ -31,8 +31,13 @@
 it'll boot up into single user mode so you can configure and finalise the installation 
 <pre> 
  ifconfig eth0 ''the-ip-of-your-uml-machine'' netmask ''the-netmask'' 
  route add -net 0 gw ''the-ip-of-your-gateway'' 
+</pre>  
+  
+If you get the error ''SIOCSIFFLAGS: Operation not permitted'' when trying to bring up eth0, ensure that the user you are running UML as on the host has read/write permissions to /dev/net/tun. See the note about the uml-net group above.  
+  
+<pre>  
  apt-get update 
  apt-get upgrade 
 </pre> 
  
@@ -161,4 +166,20 @@
  # mount redhat9.image.server-minimal.disk /mnt -o loop,offset=16384 -t ext3 
 </pre> 
  
 Sorted. 
+  
+! Compiling your own kernel  
+This is a fairly trivial task if you are used to compiling kernels. The main point to remember is to add  
+<pre>  
+ARCH=um  
+</pre>  
+to each command (or export it as a shell variable).  
+  
+In brief:  
+<pre>  
+host$ make defconfig ARCH=um  
+host$ make ARCH=um  
+host$ mount -o loop ./root_fs /mnt/uml  
+host$ make modules_install INSTALL_MOD_PATH=/mnt/uml ARCH=um  
+host$ umount /mnt/uml  
+</pre>