Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #+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-sid-hurd-i386-DVD-1.iso
- # If I ever need to add a cdrom
- echo "running ssh"
- qemu-system-i386 -S -s -m $MEMORY \
- -hda $FILE \
- -cpu coreduo \
- -smp 4 \
- -cdrom $CDROM \
- -boot d \
- -net user,hostfwd=tcp:127.0.0.1:2222-:22 \
- -net nic,model=pcnet \
- -no-reboot \
- -no-shutdown \
- -vga std \
- -display curses \
- -display gtk \
- -device AC97 \
- -enable-kvm; \
- # -machine kernel_irqchip=off \
- #+END_SRC
Advertisement
Add Comment
Please, Sign In to add comment