Earlier quoted context omitted.
You don't run the Linux x64 binary on macOS ARM. You run the Linux x64 binary on Linux ARM inside a VM on macOS ARM.
It seems overly complicated. Is there any benefit over using Docker?
Running GUI Linux in a virtual machine on a Mac
121–130 of 206 posts
Re: Running GUI Linux in a virtual machine on a Mac
#122Earlier quoted context omitted.
https://download.virtualbox.org/virtualbox/7.0.0_BETA3/Virtu... ;)
For those not in tune with virtualbox, this beta lets you run 32-bit x86 guests on aarch64 macOS
Quote:
There has been no port to M1/M2. All there has been is early work that does nothing useful but somehow escaped the stables. You can safely forget all about it for now.
[0] https://forums.virtualbox.org/viewtopic.php?f=15&t=106919
Re: Running GUI Linux in a virtual machine on a Mac
#123Mac and Windows frequently perform non-consensual changes to my workstation. On the other hand, GNU/Linux is challenging for me to get working 100% on bare metal.
This setup is reasonably fast for my work, which is mostly text editing.
Re: Running GUI Linux in a virtual machine on a Mac
#124Earlier quoted context omitted.
Our solution was to run Linux native on all dev machines. Docker really is a Linux tool and it works much better under Linux. We were running JetBrains IDEs and doing mostly Go, Python and JS development, so the switch was pretty easy and painless. The switch also dramatically reduced developer time spent solving Mac/Linux incompatibilities in tooling, and let us focus more on our product. Overall we accelerated deve…
What hardware and distro+kernel version are you using? I am trying to do this on a 12th gen. Intel Dell XPS, and to be honest the hardware support isn’t great. I had to install an upstream 5.19 kernel (rather than 5.15 that ships on Ubuntu 22.04). Sill, at least 2-3 times per week the machine fails to wake from sleep and has to be hard rebooted. Meanwhile my M1 Pro Mac 14” MBP routinely goes 3-4 weeks uptime, with re…
Re: Running GUI Linux in a virtual machine on a Mac
#125Earlier quoted context omitted.
GNU coreutils are essential on macOS, and Apple should just include it by default. \o/
Um… GNU’s license is incompatible with Apple; that’s why Bash 3.2 is the current version for macOS.
Re: Running GUI Linux in a virtual machine on a Mac
#126Are there any good, free desktop hypervisor apps for ARM macOS at this point? I always used VirtualBox on Intel but they don't support ARM guests on ARM hosts so I've been stuck using qemu, which is not so great performance-wise. I know I can use the APIs linked here but I would rather not build my own hypervisor client if at all possible haha
Re: Running GUI Linux in a virtual machine on a Mac
#127Re: Running GUI Linux in a virtual machine on a Mac
#128Re: Running GUI Linux in a virtual machine on a Mac
#129Earlier quoted context omitted.
Our solution was to run Linux native on all dev machines. Docker really is a Linux tool and it works much better under Linux. We were running JetBrains IDEs and doing mostly Go, Python and JS development, so the switch was pretty easy and painless. The switch also dramatically reduced developer time spent solving Mac/Linux incompatibilities in tooling, and let us focus more on our product. Overall we accelerated deve…
I swear I'm not trying to be facetious, not trying to stir the same old tired "hurrr year of the linux desktop" shit... I have to ask: you accelerate development by 1 day/week, but do your devs lose any time with the accumulation of tiny annoyance such as sorting out bluetooth/audio/hibernation/battery drain?
No. All of the above have been fine - save hibernate. Standard kit is a multidevice logitech bluetooth keyboard and mouse... no issues. A couple of the devs on my team use bluetooth headsets, and that too is no problem. The LG Gram gets about 16-19 hours on a battery, so we've not had drain issues. Audio hasn't been a problem. We did have issues with hibernation when we switched, and solved it by disabling hibernate, and setting the machine to sleep when the lid shuts. I've left my laptop in the bag, sleeping all weekend and had 70% battery on Monday morning. Incidentally, the battery is really not critical... 65W USB3 chargers are cheap so we mostly run plugged in.
Your mileage may vary. Incidentally, LG is making a great machine right now. Huge 17" display, metal case, keyboard has a numeric keypad, great battery life, and it weighs 1 oz more than a 13" Macbook Pro. Oh, and lots of ports.
Re: Running GUI Linux in a virtual machine on a Mac
#130Earlier quoted context omitted.
I feel like I pretty much have full control over my Mac laptop. Why would you expect to fully control a machine from inside a VM anyway? Sounds like a massive security risk too.
> I feel like I pretty much have full control over my Mac laptop. https://news.ycombinator.com/item?id=25074959