summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README11
-rwxr-xr-xcreatevm.sh2
2 files changed, 12 insertions, 1 deletions
diff --git a/README b/README
index 734d155..d301dcc 100644
--- a/README
+++ b/README
@@ -24,6 +24,17 @@ ip addr add dev br0 192.168.130.1/24
# We mount it and make it accessible over the 'darkhttpd' webserver:
+# minimal requirements:
+# pentium2: CMOV missing
+# 64M: Physical KASLR disabled: no suitable memory region!
+# 128M: Initramfs unpacking failed: write error
+# 256M: Initramfs unpacking failed: write error, failed to configure network
+# 512M: curl: Out of memory downloading airootfs.sfs
+# 768M: attempting to kill init
+# 1024M: no space left on device,, squashfs temp space
+# 1024M: no space left on device,, squashfs temp space
+# 1536M: works
+
guestmount -a /data/libvirt/arch32.qcow2 -m /dev/sda2 --ro /mnt/tmp
TFTP root (for PXE boot)
diff --git a/createvm.sh b/createvm.sh
index 541428b..5dab9d5 100755
--- a/createvm.sh
+++ b/createvm.sh
@@ -29,7 +29,7 @@ cp archiso/arch/boot/i686/archiso.img .
darkhttpd . --port 8080 &
-virt-install --name ${NAME} -r 2048 --vcpus=1 --os-type=linux --os-variant=virtio26 \
+virt-install --name ${NAME} -r 1536 --vcpus=1 --os-type=linux --os-variant=virtio26 \
--disk pool=default,size=2,format=qcow2 --network bridge=br0,model=virtio \
--vnc --vncport=5901 --noreboot --arch i686 --cpu pentium2 \
--boot kernel=vmlinuz,initrd=archiso.img,kernel_args="archisobasedir=archiso/arch archiso_http_srv=http://${HOST}:8080/ script=http://${HOST}:8080/archauto.sh ip=${CLIENT}:::${NETMASK}:arch32::off nomodeset i915.modeset=0" &