Bummer fails on build w/ git permissions for SwiftSH. Bummer i'd like to try it.
You rang? 😂 Interesting thread, not helping me holding off buying an M1 Mac though 🙈holy sh*t, this really works! I was able to successfully boot @Ubuntu on M1 using Apple's Hypervisor.framework.
View attachment 1676704
This would be running an ARM distribution of Linux not AMD64(x86-64) version. Depending on your needs it may or may not fit the bill. It would be similar to Raspbian on Raspberry Pi vs an Ubuntu Distribution on a PC. I have compiled it, but haven't tried it out.Does anyone know how this works? Is it running an ARM version of Linux or is it using emulation like the Windows solution described in a different thread?
This is AWESOME!
So I've gotten to the point where I am booted up into the installer using:
ubuntu-20.04.1-live-server-arm64.iso
But when I choose default network interface, etc, it gets stuck setting up the disk. Should I be using a different ISO? I've installed a lot of linux VMs before, but never a hypervisor like this. Where is the disk created?
View attachment 1677250
macOS Big Sur on a MacBook Air M1. Apple includes a hypervisor to allow ARM based VMs. KhaosT created an open source app that allows you to boot up an ARM system from ISO. So since Ubuntu has arm64 ISOs available, you can boot Ubuntu on your Mac and run it natively. Note that this will be a text only OS, as KhaosT hasn't implemented any GPU code as far as I know.How are you running this? Through what platform?
Real 'men' use the CLIMy concern is that if this only runs CLI and not a GUI, then it's really not any different than Microsoft's inclusion of Ubuntu, SuSe, Mint, etc. in the Microsoft Store. Those can all be downloaded and run inside Windows, but they are all CLI only, which limits their usefulness for many people. I tried both Ubuntu and Mint on my MSI rig, and there were so many weird quirks with Microsoft's implementation of the Linux Subsystem that both were largely unusable.
Well, it's running a virtualized OS, so I'm not sure "native" is the correct term - although I understand it is not emulated. I would use the terms "bare metal"/"physical" and "virtualized".macOS Big Sur on a MacBook Air M1. Apple includes a hypervisor to allow ARM based VMs. KhaosT created an open source app that allows you to boot up an ARM system from ISO. So since Ubuntu has arm64 ISOs available, you can boot Ubuntu on your Mac and run it natively. Note that this will be a text only OS, as KhaosT hasn't implemented any GPU code as far as I know.
I recommend you scroll back to the beginning of this thread and read the info there.
This is exactly what Parallels and VMWare will be releasing, but just an extremely simple open source version. The commercial products will probably also include GPU/peripheral passthrough, and that is where the complex code will be.
You cannot run X86 code this way. Only ARM. But ARM is native; so full speed!
Could you explain your steps:holy sh*t, this really works! I was able to successfully boot @Ubuntu on M1 using Apple's Hypervisor.framework.
View attachment 1676704
Could you explain your steps:
- Which ISO distro?
- How to set up and attach a VM Disk image?
- How to mount inside the VM?
- etc.
Could you explain your steps:
- Which ISO distro?
- How to set up and attach a VM Disk image?
- How to mount inside the VM?
- etc.
Here is another interesting project inspired by SimpleVM:
GitHub - JacopoMangiavacchi/M1-Linux-SSH: Apple M1 Linux VM with SSH interface
Apple M1 Linux VM with SSH interface. Contribute to JacopoMangiavacchi/M1-Linux-SSH development by creating an account on GitHub.github.com
Is there a native macOS X11 server? macOS has "always" had an X11 server. If so then the Linux GUI could be forwarded from the VM to the "real" MacOS.My concern is that if this only runs CLI and not a GUI, then it's really not any different than Microsoft's inclusion of Ubuntu, SuSe, Mint, etc. in the Microsoft Store. Those can all be downloaded and run inside Windows, but they are all CLI only, which limits their usefulness for many people. I tried both Ubuntu and Mint on my MSI rig, and there were so many weird quirks with Microsoft's implementation of the Linux Subsystem that both were largely unusable.