Guest User

Untitled

a guest
Feb 11th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. #+BEGIN_SRC sh :results output :exports both
  2. #!/bin/bash
  3. #modprobe kvm
  4. #modprobe kvm_intel
  5. #qemu-img create -f qcow2 hurd.img 20G
  6. MEMORY=2G
  7. FILE=hurd_qemu/hurd.img
  8. CDROM=Descargas/debian-sid-hurd-i386-DVD-1.iso
  9. # If I ever need to add a cdrom
  10. echo "running ssh"
  11.  
  12. qemu-system-i386 -S -s -m $MEMORY \
  13. -hda $FILE \
  14. -cpu coreduo \
  15. -smp 4 \
  16. -cdrom $CDROM \
  17. -boot d \
  18. -net user,hostfwd=tcp:127.0.0.1:2222-:22 \
  19. -net nic,model=pcnet \
  20. -no-reboot \
  21. -no-shutdown \
  22. -vga std \
  23. -display curses \
  24. -display gtk \
  25. -device AC97 \
  26. -enable-kvm; \
  27. # -machine kernel_irqchip=off \
  28.  
  29. #+END_SRC
Advertisement
Add Comment
Please, Sign In to add comment