Last active
September 2, 2019 01:05
-
-
Save AlmuHS/73bae6dadf19b0482a34eaab567bfdfa to your computer and use it in GitHub Desktop.
Debian GNU/Hurd Qemu script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+BEGIN_SRC sh :results output :exports both | |
#!/bin/bash | |
#modprobe kvm | |
#modprobe kvm_intel | |
#qemu-img create -f qcow2 hurd.img 20G | |
MEMORY=2G | |
FILE=hurd_qemu/hurd.img | |
CDROM=Descargas/debian-hurd-2017-i386-DVD-1.iso | |
# If I ever need to add a cdrom | |
echo "running ssh" | |
qemu-system-i386 -S -s -m $MEMORY \ | |
-hda $FILE \ | |
-cdrom $CDROM \ | |
-cpu coreduo \ | |
-smp 4 \ | |
-boot c \ | |
-net user,hostfwd=tcp:127.0.0.1:2222-:22 \ | |
-net nic,model=pcnet \ | |
-enable-kvm \ | |
-curses \ | |
-no-reboot \ | |
-no-shutdown \ | |
-vga std \ | |
-display gtk; | |
# -machine kernel_irqchip=off \ | |
#+END_SRC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment