# HG changeset patch # User Paul Boddie # Date 1443360715 -7200 # Node ID f212013eb137f970d50f9697a0a2e17eff85275b # Parent a15ebea7b3b614fc813a80ed783aa30eda9538dd Added notes about Linux kernel installation and root password initialisation. diff -r a15ebea7b3b6 -r f212013eb137 README.txt --- a/README.txt Sun Sep 27 13:43:41 2015 +0200 +++ b/README.txt Sun Sep 27 15:31:55 2015 +0200 @@ -298,6 +298,14 @@ Constructing UML Instances -------------------------- +Before making an image, make sure that you have set a root password in the +existing filesystem. Otherwise, you will not be able to log into the UML +instance. The following commands will achieve this: + +user-do --root +passwd +exit + Since UML needs to see its filesystems as images, not directories within an existing filesystem, the uml-make-image script needs to create these image files. For example, to create a root filesystem 4GB in size, along with a swap @@ -334,7 +342,10 @@ Building User Mode Linux ------------------------ -To make a User Mode Linux executable, run the uml-linux-build script. +To make a User Mode Linux executable, run the uml-linux-build script, with the +--root option being necessary to install modules into a root filesystem: + +uml-linux-build --root Enabling Networking for UML Instances -------------------------------------