qemu.sh 776 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/ps2kbd.ko,\
  14. fatbase/mod/ps2mouse.ko,\
  15. fatbase/mod/lfbvideo.ko,\
  16. fatbase/mod/vbox.ko,\
  17. fatbase/mod/vmware.ko,\
  18. fatbase/mod/vidset.ko,\
  19. fatbase/mod/packetfs.ko,\
  20. fatbase/mod/snd.ko,\
  21. fatbase/mod/ac97.ko,\
  22. fatbase/mod/net.ko,\
  23. fatbase/mod/pcnet.ko,\
  24. fatbase/mod/rtl.ko,\
  25. fatbase/mod/e1000.ko,\
  26. fatbase/mod/pcspkr.ko,\
  27. fatbase/mod/portio.ko,\
  28. fatbase/mod/tarfs.ko,\
  29. fatbase/ramdisk.img \
  30. -append "root=/dev/ram0 root_type=tar logtoserial=2 vid=qemu" \
  31. -enable-kvm \
  32. -serial mon:stdio \
  33. -m 1G -soundhw ac97,pcspk