Compare commits
2 Commits
32b17e3f7d
...
37201a9361
Author | SHA1 | Date |
---|---|---|
Denis 'GNUtoo' Carikli | 37201a9361 | |
Denis 'GNUtoo' Carikli | 8e804b6b21 |
|
@ -63,12 +63,14 @@ preseed.img: Makefile preseed.cfg
|
||||||
rootfs.img.tmp: Makefile
|
rootfs.img.tmp: Makefile
|
||||||
qemu-img create -f qcow2 $@ 10G
|
qemu-img create -f qcow2 $@ 10G
|
||||||
|
|
||||||
|
# The 790M were found by trial and error. At 789M the netinstall
|
||||||
|
# complains about "low memory".
|
||||||
rootfs.img: preseed.img rootfs.img.tmp grub.iso
|
rootfs.img: preseed.img rootfs.img.tmp grub.iso
|
||||||
install -m 644 rootfs.img.tmp rootfs.img || rm -f rootfs.img
|
install -m 644 rootfs.img.tmp rootfs.img || rm -f rootfs.img
|
||||||
|
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-M q35 \
|
-M q35 \
|
||||||
-m 2048M \
|
-m 790M \
|
||||||
-nographic \
|
-nographic \
|
||||||
-drive file=grub.iso,index=2,media=cdrom,if=ide \
|
-drive file=grub.iso,index=2,media=cdrom,if=ide \
|
||||||
-drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \
|
-drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \
|
||||||
|
|
Loading…
Reference in New Issue