# Copyright (C) 2006-2010 Oracle Corporation # This file is part of VirtualBox Open Source Edition (OSE), as # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. if [
"x$3" ==
"x" ];
then echo "syntax: $0 imagename <size-in-KBs> <init prog> [tar files]" echo "Simples qemu boot image is archived by only specifying an statically" echo "linked init program and using the dev.tar.gz file to create devices." echo "The boot linux in qemu specifying the image as -hda. Use the -kernel" echo "option to specify a bzImage kernel image to use, and specify" echo "-append root=/dev/hda so the kernel will mount /dev/hda and look" echo "* Formatting with ext2..." echo "* Mounting temporarily at ./tmpmnt..." echo "* Untarring $1 to disk..." echo "* Unmounting tmpmnt..." echo "* Done! (Perhaps even successfully so...)" echo " 'root=/dev/hda' remember :-)"