Advertisement
Guest User

How To Install & Use Qemu On A Mac (Final)

a guest
Jul 29th, 2018
5,727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1. Qšžš¦š® š¦š¢š š”š­ š¬šžšžš¦ šœšØš§šŸš®š¬š¢š§š , š›š®š­ š¢š­ š­ššš¤šžš¬ š¬šØš¦šž š šžš­š­š¢š§š  š®š¬šžš š­šØ. ššžš¦š® š¢š¬ šš š„šØš°-š„ššš­šžš§šœš², š„š¢š š”š­-š°šžš¢š š”š­ šÆš¢š«š­š®ššš„ š¦šššœš”š¢š§šž š­š”ššš­ š«šžšŖš®š¢š«šžš¬ š§šØ šžš±š­šžš«š§ššš„ š©š«šØš š«ššš¦š¬ (šŽš­š”šžš« š­š”ššš§ š­š”šž šˆš’šŽ šŸš¢š„šž šØšŸ š­š”šž šŽš’)
  2.  
  3. š…šØš« šš š¦šØš«šž š­š”šØš«šØš®š š” šžš±š©š„ššš§ššš­š¢šØš§ šØš§ š”šØš° š­šØ š¢š§š¬š­ššš„š„ ššžš¦š® šŸš«šØš¦ š”šØš¬š­ šŒšššœšŽš’š—, š©š„šžššš¬šž šÆš¢š¬š¢š­ š­š”šž šŸšØš„š„šØš°š¢š§š  š„š¢š§š¤ š›šžš„šØš°
  4.  
  5. https://www.emaculation.com/doku.php/ppc-osx-on-qemu-for-osx
  6. _______________________________________________________________________________
  7.  
  8. INSTALLING BREW & QEMU
  9.  
  10. Right off the bat; Create a directory for Qemu, create a folder anywhere on your hard drive. Don't over-complicate it, just call it "QEMU".
  11.  
  12. Open "Terminal" either going to Spotlight and entering 'Terminal', or going to your applications folder, Utilities and you'll see Terminal in there.
  13.  
  14. Once open, you'll need to install Homebrew, which you can do from the following link below. Copy and paste the command into terminal and hit enter.
  15.  
  16. /š®š¬š«/š›š¢š§/š«š®š›š² -šž "$(šœš®š«š„ -šŸš¬š’š‹ š”š­š­š©š¬://š«ššš°.š š¢š­š”š®š›š®š¬šžš«šœšØš§š­šžš§š­.šœšØš¦/š‡šØš¦šžš›š«šžš°/š¢š§š¬š­ššš„š„/š¦ššš¬š­šžš«/š¢š§š¬š­ššš„š„)"
  17.  
  18. The Homebrew website can be found below
  19. https://brew.sh/
  20.  
  21. Once Homebrew is installed, it's time to install QEMU. Again in terminal, copy and paste the following code below
  22.  
  23. š›š«šžš° š¢š§š¬š­ššš„š„ šŖšžš¦š®
  24.  
  25. The official QEMU website can be found here:
  26. https://www.qemu.org/
  27.  
  28. The QEMU Project can also be found on Github here;
  29. https://github.com/qemu/qemu
  30.  
  31. _______________________________________________________________________________________________________________________________________________________________________________________
  32. INSTALLING YOUR OS
  33.  
  34. Make sure you have an ISO file ready-to-go. You can't run an OS out of thin air. You need to download one before-hand. Check the OS ISO Folder
  35.  
  36. š‚š‘š„š€š“š„ š€ š•šˆš‘š“š”š€š‹ šƒšˆš’šŠ:
  37. We'll be using 20 Gigs as an example. You can make it however much you want. But it's recommended to stick to 20-or-so.
  38.  
  39. qemu-img create -f raw -o size=20G NAMEYOUWANTTOCALLOS.img
  40.  
  41. (š…šØš« š­š”šž .š¢š¦š  šŸš¢š„šž, š¢š­'š¬ š«šžšœšØš¦š¦šžš§ššžš š²šØš® šœššš„š„ š¢š­ š°š”ššš­ š¢š­ š¢š¬. šˆšŸ š²šØš®'š«šž š¢š§š¬š­ššš„š„š¢š§š  š–š¢š§ššØš°š¬ šŸ•, š¤šžšžš© š¢š­ š¬š¢š¦š©š„šž š›š² šœššš„š„š¢š§š  š¢š­ "š–š¢š§ššØš°š¬šŸ•.š¢š¦š ") .
  42.  
  43.  
  44. _______________________________________________________________________________________________________________________________________________
  45.  
  46. Find the ISO file of the OS you want to install, drag & drop it into the terminal, and replace the bold lettering with it.
  47.  
  48. qemu-system-x86_64 -boot d -cdrom šŽš’ šˆš’šŽ š…šˆš‹š„ š…š‘šŽšŒ š“š„š‘šŒšˆšš€š‹ š‡š„š‘š„ -m 2048M -hda šš€šŒš„ šŽš… .šˆšŒš† š…šˆš‹š„ š‡š„š‘š„.img
  49.  
  50. It will then boot.
  51. Install and wait for it.
  52.  
  53.  
  54. š‡šŽš– š“šŽ ššŽšŽš“ š“š‡š„ šŽš’:
  55. To boot the installed Mac OS, you need to edit the qemu.command file:
  56. Change the ā€œ-boot dā€ argument to ā€œ-boot cā€.
  57. Reverse the order in which your disk and cd rom entry are listed in qemu.command.
  58. So, when booting with ā€œ-boot cā€, make sure your hard disk image file is listed first. If you have no need for the cd rom disk to be available, you can remove the entry from the command line. Save the file. Double-click qemu.command and Mac OS will boot from the hard disk.
  59. Done.
  60.  
  61. ššØš­šž: šˆšŸ š²šØš® šššš š­š”šž .šˆšŒš† šŸš¢š„šž š­šØ ššš§ š„š±š­šžš«š§ššš„ š‡ššš«š šƒš«š¢šÆšž, ššš§š š²šØš® š šžš­ š­
  62. š„šØš°š¢š§š 
  63.  
  64. "šŖšžš¦š®-š¬š²š¬š­šžš¦-š±šŸ–šŸ”_šŸ”šŸ’: -š”ššš šš€šŒš„.š¢š¦š : š‚šØš®š„š š§šØš­ šØš©šžš§ 'šš€šŒš„.š¢š¦š ': ššØ š¬š®šœš” šŸš¢š„šž šØš« šš¢š«šžšœš­šØš«š²"
  65.  
  66. šŒššš¤šž š¬š®š«šž š­šØ š¬šžš§š š­š”šž š“šžš«š¦š¢š§ššš„ š­šØ š­š”šž šœšØš«š«šžšœš­ šš¢š«šžšœš­šØš«š² šØšŸ š­š”šž š„šØšœššš­š¢šØš§ šØšŸ š­š”šž .šˆšŒš† šŸš¢š„šž š°š¢š­š” š­š”šž šŸšØš„š„šØš°š¢š§š  šœšØš¦š¦ššš§š.
  67.  
  68. š…š¢š§š š­š”šž šŸšØš„ššžš« š¢š§ š­š”šž š„š±š­šžš«š§ššš„ šØš« š…š„ššš¬š” šƒš«š¢šÆšž š­š”ššš­ š²šØš®š« .šˆšŒš† š¢š¬ š„šØšœššš­šžš š¢š§, š­š²š©šž š¢š§
  69. "šœš" ššš§š š­š”šžš§ šš«ššš  ššš§š šš«šØš© š­š”šž šŸšØš„ššžš« š¢š§š­šØ š­šžš«š¦š¢š§ššš„. š“šžš«š¦š¢š§ššš„ š°š¢š„š„ š§šØš° š›šž šš¢š«šžšœš­š¢š§š  š­š”š«šØš®š š” š­š”šž šœšØš«š«šžšœš­ šŸšØš„ššžš«.
  70.  
  71. š„š±ššš¦š©š„šž:
  72. šœš /š•šØš„š®š¦šžš¬/š„š—š“š„š‘šš€š‹\ š‡šƒ/šƒšØšœš®š¦šžš§š­š¬/šš„šŒš”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement