diff --git a/Makefile b/Makefile index 8f90f15..c090450 100644 --- a/Makefile +++ b/Makefile @@ -276,6 +276,11 @@ test: all install -rtc base=localtime -m $(ram) -hda $(installdisk) \ -d cpu_reset,guest_errors,pcall,int 2> $(BUILDDIR)/qemu.log & + @qemu-system-x86_64 -vga std -soundhw pcspk -s \ + -rtc base=localtime -m 8192 -hda /dev/sdc \ + -d cpu_reset,guest_errors,pcall,int & + + test32: all install @qemu-system-i386 -m $(ram) -hda $(installdisk) -d \ cpu_reset,guest_errors,pcall,int 2> $(BUILDDIR)/qemu.log & diff --git a/build/create_disk.sh b/build/create_disk.sh index 3b555e5..081d773 100755 --- a/build/create_disk.sh +++ b/build/create_disk.sh @@ -36,19 +36,47 @@ dd if=/dev/zero of=$1 bs=512 count=131072 status=progress ## Partition the image echo ${CL2}[create_disk.sh]${NC} Partitionning image... \(parted\)${CL3} -/sbin/parted --script $1 mktable msdos mkpart primary 2048s 100% set 1 boot on +#/sbin/parted --script $1 mktable msdos mkpart primary 2048s 100% set 1 boot on +/sbin/fdisk $1 > /dev/null <