# HG changeset patch # User Paul Boddie # Date 1275169902 -7200 # Node ID 8a71e8492315be574a367c7d39afe2a01ba77ef2 # Parent d2c8f4011ea7bd071fbf3ff8a95cfff57c349193 Fixed network addressing and added a "to do" list. diff -r d2c8f4011ea7 -r 8a71e8492315 TO_DO.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TO_DO.txt Sat May 29 23:51:42 2010 +0200 @@ -0,0 +1,13 @@ +Support "full" installations by installing kernels and configuring various +things including timezones and locales, and setting up the bootloader. +Complete the UML configuration to provide X capabilities and a proper network +interfaces file. +Use install-guest.sh and xephyr-guest.sh from UMLconfig. + +Resizing UML images (perhaps better with a smaller block size): + +dd if=/dev/zero of=~/userinstalls-uml/debian-squeeze/rootfs bs=1G count=1 oflag=append conv=notrunc +e2fsck -f ~/userinstalls-uml/debian-squeeze/rootfs +resize2fs ~/userinstalls-uml/debian-squeeze/rootfs + +Source: http://gehrcke.de/2009/06/resize-ext3-file-system-in-loopback-file/ diff -r d2c8f4011ea7 -r 8a71e8492315 userinstall-defaults-uml --- a/userinstall-defaults-uml Sat May 29 23:03:30 2010 +0200 +++ b/userinstall-defaults-uml Sat May 29 23:51:42 2010 +0200 @@ -15,12 +15,12 @@ export UMLROOT=$HOME/.userinstall-uml # Optional settings. -# Guest: the extra address provided for communication with the UML instance -# Host: the address used inside the UML instance +# Guest: the address used inside the UML instance +# Host: the extra address provided for communication with the UML instance # Devices: the tunnelling device (or interface) used by the actual machine, plus # the device (or interface) used inside the UML instance -export GUESTADDRESS=192.168.0.254 -export HOSTADDRESS=192.168.0.99 +export GUESTADDRESS=192.168.0.99 +export HOSTADDRESS=192.168.0.254 export TUNDEVICE=tap0 export NETDEVICE=eth0