[Debian-NP-Commits] r275 - people/vagrant/simple-cdd

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Fri, 26 Nov 2004 21:27:21 -0700


Author: vagrant-guest
Date: Fri Nov 26 21:27:17 2004
New Revision: 275

Added:
   people/vagrant/simple-cdd/qemu-test   (contents, props changed)
Log:
basic CD build and test with qemu script.


Added: people/vagrant/simple-cdd/qemu-test
==============================================================================
--- (empty file)
+++ people/vagrant/simple-cdd/qemu-test	Fri Nov 26 21:27:17 2004
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# this builds the CD, runs qemu to install the system, and then the initial
+# boot and configuration of the system.  i got tired of doing this all by hand.
+
+# Copyright 2004 Vagrant Cascadian <vagrant@freegeek.org>.
+# Licensed under the terms of the GNU General Public License,
+# version 2 or any later version.
+
+hd_img=$HOME/nobackup/qemu.hd.img
+cd_img=$HOME/nobackup/simple-cdd/images/sarge-i386-1.raw
+mem=96
+
+# build the CD image
+./build-simple-cdd 
+
+# boot the installer
+qemu -nographic -user-net -m $mem -hda $hd_img -cdrom $cd_img -boot d 
+
+# take a break and start fresh
+sleep 5 
+reset
+
+# boot to the installed system
+qemu -nographic -user-net -m $mem -hda $hd_img -cdrom $cd_img -boot c