qemu.sh 790 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. qemu-system-x86_64 \
  3. -kernel fatbase/kernel \
  4. -initrd \
  5. fatbase/mod/zero.ko,\
  6. fatbase/mod/random.ko,\
  7. fatbase/mod/serial.ko,\
  8. fatbase/mod/debug_sh.ko,\
  9. fatbase/mod/procfs.ko,\
  10. fatbase/mod/tmpfs.ko,\
  11. fatbase/mod/ata.ko,\
  12. fatbase/mod/ext2.ko,\
  13. fatbase/mod/iso9660.ko,\
  14. fatbase/mod/ps2kbd.ko,\
  15. fatbase/mod/ps2mouse.ko,\
  16. fatbase/mod/lfbvideo.ko,\
  17. fatbase/mod/vbox.ko,\
  18. fatbase/mod/vmware.ko,\
  19. fatbase/mod/vidset.ko,\
  20. fatbase/mod/packetfs.ko,\
  21. fatbase/mod/snd.ko,\
  22. fatbase/mod/ac97.ko,\
  23. fatbase/mod/net.ko,\
  24. fatbase/mod/pcnet.ko,\
  25. fatbase/mod/rtl.ko,\
  26. fatbase/mod/e1000.ko,\
  27. fatbase/mod/pcspkr.ko,\
  28. fatbase/ramdisk.img \
  29. -append "vid=qemu,1440,900 root=/dev/ram0,nocache start=--migrate _start=--headless" \
  30. -nographic \
  31. -enable-kvm \
  32. -serial mon:stdio \
  33. -m 1G -soundhw ac97,pcspk