16 comments

  • downut36 days ago
    &gt; quickget windows 10 Downloading Windows 10 (English International) - Parsing download page: <a href="https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;software-download&#x2F;windows10ISO" rel="nofollow">https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;software-download&#x2F;windows10I...</a> - Getting Product edition ID: 2618 - Permit Session ID: ea2e2386-932a-44f2-b9b1-da7629b3d601 - Getting language SKU ID: 16068 - Getting ISO download link... - URL: <a href="https:&#x2F;&#x2F;software.download.prss.microsoft.com&#x2F;dbazure&#x2F;Win10_22H2_EnglishInternational_x64v1.iso" rel="nofollow">https:&#x2F;&#x2F;software.download.prss.microsoft.com&#x2F;dbazure&#x2F;Win10_2...</a> #################################### #################################################################################################### 100.0% Downloading VirtIO drivers... #################################################################################################### 100.0% Downloading Spice drivers... #################################################################################################### 100.0% #################################################################################################### 100.0% #################################################################################################### 100.0% Making unattended.iso Making windows-10.conf - Setting windows-10.conf executable<p>To start your Windows virtual machine run: quickemu --vm windows-10.conf<p>&gt; quickemu --vm windows-10.conf ERROR! QEMU 6.0.0 or newer is required, detected 10.1.2.
    • buovjaga36 days ago
      It&#x27;s fixed in <a href="https:&#x2F;&#x2F;github.com&#x2F;quickemu-project&#x2F;quickemu&#x2F;pull&#x2F;1640" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quickemu-project&#x2F;quickemu&#x2F;pull&#x2F;1640</a> but they haven&#x27;t cut a release since Dec 2024.
    • nicman2336 days ago
      the tyranny of regex
  • mmastrac36 days ago
    I&#x27;ve been trying to do something similar to set up Windows VMs with developer tools. This would be awesome if there was a way to inject a `ps1` script where we could go through the awkwardness of installing choco and various dev tools.<p>For anyone interested, the magic incantation in the autoattend.xml is:<p><pre><code> &lt;settings pass=&quot;specialize&quot;&gt; &lt;component name=&quot;Microsoft-Windows-Deployment&quot; processorArchitecture=&quot;amd64&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; language=&quot;neutral&quot; versionScope=&quot;nonSxS&quot;&gt; &lt;RunSynchronous&gt; &lt;RunSynchronousCommand wcm:action=&quot;add&quot;&gt; &lt;Order&gt;1&lt;&#x2F;Order&gt; &lt;Path&gt;cmd &#x2F;c powershell.exe -ExecutionPolicy Bypass -File A:\scripts\setup-dev.ps1 &amp;gt; \\.\COM1&lt;&#x2F;Path&gt; &lt;Description&gt;Run dev setup script&lt;&#x2F;Description&gt; &lt;&#x2F;RunSynchronousCommand&gt; &lt;&#x2F;RunSynchronous&gt; &lt;&#x2F;component&gt; &lt;&#x2F;settings&gt; </code></pre> Redirecting to COM1 is a fun hack I discovered that allows you to remotely monitor these from build scripts.<p>Even better would be figuring out how to slipstream the choco packages into the ISO - it&#x27;s not super reliable to install these packages in my recent experience.
    • password432136 days ago
      <a href="https:&#x2F;&#x2F;boxstarter.org" rel="nofollow">https:&#x2F;&#x2F;boxstarter.org</a> has been working on this for a long time and might have some useful ideas.
  • dang36 days ago
    Related. Others?<p><i>Quickemu: Quickly run optimised Windows, macOS and Linux virtual machines</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39188432">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39188432</a> - Jan 2024 (133 comments)
  • peter_d_sherman38 days ago
    Brilliant!<p><i>This may just become my next most favorite project on GitHub!</i><p>For anyone who would create their own OS, or just experiment with other OS&#x27;es, this could be a godsend!<p>The set of ideas which gives rise to this tool are brilliant, and while I haven&#x27;t reviewed all of the code for potential security implications (as I would want to if I were deploying it to a production server in a business environment) -- it looks very well thought out at first glance!<p>Extra kudos for having a flake.nix (for us Nix users!)<p>(If you&#x27;re using NixOS or the Nix package manager, you can download it here <a href="https:&#x2F;&#x2F;search.nixos.org&#x2F;packages?channel=25.11&amp;query=quickemu" rel="nofollow">https:&#x2F;&#x2F;search.nixos.org&#x2F;packages?channel=25.11&amp;query=quicke...</a> , i.e., &quot;$ nix-shell -p quickemu&quot;)<p>And extra extra kudos for having Alpine, Nix, ReactOS, TinyCore and OpenBSD as downloadable OS choices!<p>In the future, I&#x27;d love to see Windows XP, Windows 2000, and Windows NT too (assuming that Microsoft would permit that!) -- but that would just be the icing on the cake!<p>Short review: There&#x27;s potentially something for everyone here! (Well, any OS person! Could Minix 3 be added in the future? :-) )<p>Long review: Will definitely have to watch this project in the future, to see where it goes!
    • ryandrake36 days ago
      My first reaction was: Fuck! Terrible timing!! I just spent the last few days (during some time off from work) manually setting up macOS and Windows qemu VMs on my homelab running Proxmox, just to see if I could do it. And navigating all the janky, old tutorials, forums full of &quot;try this&quot; junk, hitting roadblock after roadblock (ProTip: macOS versions &gt; Monterey will NOT run on Ivy Bridge processors in a virtualized environment) and trying to filter out and dodge AI garbage advice, was a real slog. Why didn&#x27;t I see this article the first time it made the rounds on HN???<p>My second reaction was in line with yours. This is awesome. Bookmarked already. +1 for the suggestion of doing more ancient Windows versions.
      • thejazzman34 days ago
        Don’t kill the messenger but <a href="https:&#x2F;&#x2F;github.com&#x2F;luchina-gabriel&#x2F;OSX-PROXMOX" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;luchina-gabriel&#x2F;OSX-PROXMOX</a><p>I installed Sequoia but it’s painfully slow on a 4 core 3ghz something or other. I previously did the one after high sierra and it’s reasonably snappy, but APFS outdated for my situation
      • 2setIntrsction36 days ago
        lol I just moved from the same setup to a fully Nix based homelab.<p>Proxmox was a good start but I don’t need it (I think)
  • fraserphysics36 days ago
    I thought that macOS was proprietary, and that apple only allowed it to be run on apple hardware. Just last month, I used incus to test a software package in 6 Linux distributions. I want to also test the package in macOS. Must I get a license from apple to do that with Quickemu?
    • mmastrac36 days ago
      Officially? You can&#x27;t get a license.<p>Unofficially? <a href="https:&#x2F;&#x2F;github.com&#x2F;kholia&#x2F;OSX-KVM" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kholia&#x2F;OSX-KVM</a>
    • fraserphysics35 days ago
      Encouraged by the replies here, I tried to get quickemu to setup macOS on my AMD based desktop. The emulated machine crashed trying to boot macOS, and I gave up after a couple of hours.
    • eek212136 days ago
      hackintoshes have been a thing forever. Apple hopes to kill them off with the transition to arm...SPOILER: they won&#x27;t.
      • trollbridge36 days ago
        The problem is that macOS ARM uses extra features that don&#x27;t exist on CPUs outside of Apple Silicon. So you can run virtual macOS ARM on a macOS host (such as inside UTM), but not on anything else.<p>There isn&#x27;t currently a real ecosystem of non-Apple ARM machines anyway.
        • actionfromafar36 days ago
          Servers exist. Also, maybe the missing instructions can be trapped and emulated?
          • trollbridge36 days ago
            It’s possible. As far as I know nobody has done this yet (outside of Apple).
        • saagarjha36 days ago
          The virtual kernels are almost stock.
          • trollbridge36 days ago
            Yeah, it wouldn’t be a huge amount of work.
      • Wowfunhappy36 days ago
        Uh, I think they will! A few people will just keep running older versions forever, but anyone who wants a modern Mac operating system is going to be out of luck once Intel support is dropped next year.<p>Intel-based Macs were fundamentally commodity hardware. You can buy AMD GPUs which are very close to what Apple shipped. Select the right components, add a few software patches, and everything just kind of works.<p>By contrast, you can&#x27;t get an Apple Silicon GPU. And on ARM, macOS doesn&#x27;t support software rendering at all. Graphics alone are going to kill any future Hackintosh prospects, because even if you can get Darwin to boot on your ARM laptop, you won&#x27;t be able to display anything.<p>An an aside, Apple never seemed to try very hard to kill personal Hackintoshes, I really don&#x27;t think they cared. Now it&#x27;s going to happen incidentally.
  • westurner39 days ago
    IOMMU GPU passthrough with device selection would be a helpful feature: <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=gpu+passthrough+qemu" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=gpu+passthrough+qemu</a><p>LXD manages qemu VMs and supports snapshotting, live migration, and a number of storage drivers: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=45270468">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=45270468</a><p>virtio-gpu-rutabaga works with Android VMs on qemu, but does it work with Win&#x2F;Mac&#x2F;Lin: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42921315">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42921315</a>
    • subscribed38 days ago
      I would love that so much. That&#x27;s the feature I wanted to play for the longest while, but the shortage of time just doesn&#x27;t let me.<p>That would be a jixe step up.
    • pamcake36 days ago
      [dead]
  • binary13236 days ago
    This type of thing always makes me think about an alternate timeline where Docker never got popular because VM runtimes and tooling did everything Docker can do, better.
  • dartharva36 days ago
    No Windows binaries, even as qemu itself fully supports Windows hosts?
  • tempodox36 days ago
    I have to try this. All my previous attempts to get to grips with qemu left me with the impression that it’s strictly for rocket scientists. This might ease the learning curve for me.
    • dizhn36 days ago
      Can&#x27;t you use virt-manager? Proxmox even.
      • tempodox36 days ago
        Nope, I’m on macOS.
        • dizhn36 days ago
          <a href="https:&#x2F;&#x2F;www.arthurkoziel.com&#x2F;running-virt-manager-and-libvirt-on-macos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.arthurkoziel.com&#x2F;running-virt-manager-and-libvir...</a><p>This guy seems to have a brew package for it.<p>At the bottom he has a warning and a link to another blog post about HVF acceleration (no idea what that is) which seems to work on the command line. I suspect there&#x27;d be a way to incorporate that to the xml file in the gui.
          • tempodox35 days ago
            Thx, checking it out!<p>HVF == `Hypervisor.framework`.
  • hoppp35 days ago
    I feel the need for this as I went from raw dogging qemu commands to using virt-manager and its still not perfect.
  • clircle36 days ago
    Is this less buggy than UTM on apple silicon?
    • blacksmith_tb36 days ago
      Is UTM buggy on Apple Si? I have been running an aarch64 Ubuntu VM on my M4 Mini for a while without any problems. Haven&#x27;t tried macOS or Win guests though.
    • c-hendricks35 days ago
      I&#x27;m not even sure it supports aarch64 hosts. There doesn&#x27;t seem to be anything in there re: Arch ARM which sucks because that&#x27;s a bit of a pain to set up.<p>For something that is a bash wrapper over qemu these limitations are surprising.
  • utopiah36 days ago
    I&#x27;ll keep it in mind but honestly learning the basics of QEMU is probably a safe bet. It&#x27;s a bit like bash, you might like it or not but decades later it&#x27;s still there, on most devices. Plenty of tools rely on it and getting the basics right is really a matter of following a 15min tutorial.
  • dontdieych36 days ago
    No support for aarch64 host? (Asahilinux)
  • vjay1536 days ago
    Really useful tool, OSS for the win!!!
  • yinyang_in36 days ago
    How does it differ from Vagrant ?
  • 99990000099936 days ago
    I&#x27;m a little confused as to why projects like this support macOS since at a minimum it&#x27;s a TOS violation.<p>Doing stuff like this, and integrating it into the main project puts the whole thing at risk.<p>The only real reason to MacOS is it&#x27;s tight integration with Mac hardware.<p>Weird flex...
    • pamcake36 days ago
      I don&#x27;t see any legitimate existential risk for the devs or project?<p>ToS are only relevant for those who are a party to it - this is the users responsibility.<p>Historically, while Apple is protective of their IP they have not been acting like Nintendo with regards to emulators and hackintosh and such in court.<p>Weird concern unless you can point to actual threats or precedence.<p>&gt; Weird flex<p>On the contrary, it&#x27;s a legitimately useful feature that has popular demand.
      • 99990000099936 days ago
        It&#x27;s arguably violating Apple&#x27;s IP rights, they have taken down similar projects.<p><a href="https:&#x2F;&#x2F;www.xda-developers.com&#x2F;i-tried-running-macos-inside-a-docker-container&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.xda-developers.com&#x2F;i-tried-running-macos-inside-...</a><p>In the article it&#x27;s mentioned a docker version of this got a dmca takedown.<p>Apple does not license MacOS for use on hardware they don&#x27;t sell. It can be argued this feature does not have any legitimate functionality.<p>At the same time, if you must decide to violate the license terms of OSX it should be done in a separate fork.<p>GitHub will just delete the whole project if Apple ever catches wind of it and complains. The DMCA isn&#x27;t exactly a court proceeding, usually the content host determines the juice isn&#x27;t worth the squeeze.<p>That sucks for everyone who decides to use it for legitimate purposes.<p>To be blunt Apple gate keeps there software and build tools behind expensive hardware. If you disagree, use different software.<p>Edit: Given I&#x27;m 90% sure they aren&#x27;t running Arm OSX anyway, this is going to be irrelevant in about 2 years.
        • thejazzman34 days ago
          &gt; Apple does not license MacOS for use on hardware they don&#x27;t sell. It can be argued this feature does not have any legitimate functionality.<p>Anymore. They don’t license it anymore. And the answer is money. So much money it is part of one of SV’s favorite success stories.<p>They don’t appear to give a ahit about hobby use. If you are running macOS commercial on non Apple hardware they will figuratively murder you.<p>And you’re allowed to run macOS VMs on top of macOS hosts, so the functionally is sound in that context
        • pamcake36 days ago
          [dead]
    • steelbrain36 days ago
      &gt; I&#x27;m a little confused as to why projects like this support macOS since at a minimum it&#x27;s a TOS violation.<p>As others have pointed out, emulating macOS is only a ToS violation if done on non-Apple hardware, and this tool supports macOS. There is a legitimate usecase of running macOS VM on macOS.<p>Sure, you <i>could</i> use some apple-provided emulation tool instead of QEMU but that&#x27;s a matter of choice, not a violation of ToS.<p>Disclaimer: I&#x27;m not a lawyer. This is not legal advice.
    • rekttrader36 days ago
      It’s for running MacOS on Apple hardware. Apple has their own container tech now, Qemu just makes it easy to run everything else including MacOS
      • amelius36 days ago
        But an emulator should be able to run it on any other hardware where the emulator suite runs, imho.<p>Otherwise it&#x27;s not an emulator but some kind of pass-through mechanism.
    • Brian_K_White36 days ago
      weird reaction