# HG changeset patch # User Paul Boddie # Date 1421353106 -3600 # Node ID 36a3b8a630a48ab6ecc8d899ef1675b9770cd2dc # Parent 693f3a6d9dfe70765caca5be98dc11505e95ea3f Added notes on filesystem resizing and uml-net invocation. diff -r 693f3a6d9dfe -r 36a3b8a630a4 README.txt --- a/README.txt Wed Nov 13 00:17:17 2013 +0100 +++ b/README.txt Thu Jan 15 21:18:26 2015 +0100 @@ -319,6 +319,18 @@ This does not create filesystems but instead leaves it to the installer to partition the files created. +Resizing Filesystems +-------------------- + +To change the size of filesystems later on, use the resize2fs command after +having checked the filesystem. For example, with a root filesystem file called +root-root.fs and a desired new filesystem size of 6GB: + +/sbin/e2fsck -f root-root.fs +/sbin/resize2fs root-root.fs 6G + +Obviously, these commands will only work with ext2 family filesystems. + Building User Mode Linux ------------------------ @@ -332,7 +344,9 @@ sudo uml-net --start $USER Here, $USER should be expanded to the name of the user running the above -command, not the root user. +command, not the root user. If invoked as above using sudo, the name of the +invoking user should be provided by $USER because the shell will expand that +variable before any program is run. To stop networking, use the same script: