Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Anyone with experience with UTM Emulator on M1?

6,613 views
Skip to first unread message

Chris

unread,
Jul 26, 2021, 5:38:07 PM7/26/21
to

I'm wanting to get an Ubuntu install working on my M1 MBP and I see UTM
is a way to do this.
https://mac.getutm.app/gallery/ubuntu-20-04

The problem is that, for specific dependency reasons, I need to run
18.04. However, I can't get it to work. I can get 20.04 working well so
I don't /think/ I'm doing anything wrong: the settings are the same for
both.

Unfortunately, the only symptom with 18.04 is a simple flashing cursor
on a black screen so really nothing to go on. This is after select
'Install Ubuntu server' in the Grub menu.

The only suspicion I have is that the 20.04 one is a 'live' image
whereas 18.04 isn't (see the ISO names below). Could that be the reason?
ubuntu-18.04.5-server-arm64.iso
ubuntu-20.04.2-live-server-arm64.iso

Anyone have any experience or pointers?

Theo

unread,
Jul 27, 2021, 8:15:38 AM7/27/21
to
I'm running 20.04 successfully as arm64, and a prebuilt 16.04 image as
x86_64 (more slowly). UTM is just qemu under the hood, so it is likely a
qemu-related issue rather than something specific to UTM.

I would guess it's something to do with UEFI boot settings - could try
tweaking what settings UTM offers.

I guess this is you:
https://github.com/utmapp/UTM/issues/2685

You seem to have a lot of virtio there. I'd try installing with all your
drives as IDE, in case UEFI doesn't have virtio drivers. Once installed you
can switch back to virtio storage (which I'm using and works fine).
(I think the instructions tell you to make the DVD as USB, which would also
be fine)

I would also install single-core to begin with. Really shouldn't matter,
but just being conservative.

If you look at Activity Monitor you can see if QEMU is busy doing work,
or if it's stalled for some reason. It's possible you just need to wait a
while - qemu is not the fastest.

Theo

Chris

unread,
Jul 27, 2021, 8:54:05 AM7/27/21
to
On 27/07/2021 12:20, Alan B wrote:
> You could use Parallels but it will cost you!

I know and it's not a lot of money, really, but I'm cheapskate!

Chris

unread,
Jul 27, 2021, 9:28:46 AM7/27/21
to
On 27/07/2021 13:15, Theo wrote:
> Chris <ithi...@gmail.com> wrote:
>>
>> I'm wanting to get an Ubuntu install working on my M1 MBP and I see UTM
>> is a way to do this.
>> https://mac.getutm.app/gallery/ubuntu-20-04
>>
>> The problem is that, for specific dependency reasons, I need to run
>> 18.04. However, I can't get it to work. I can get 20.04 working well so
>> I don't /think/ I'm doing anything wrong: the settings are the same for
>> both.
>>
>> Unfortunately, the only symptom with 18.04 is a simple flashing cursor
>> on a black screen so really nothing to go on. This is after select
>> 'Install Ubuntu server' in the Grub menu.
>>
>> The only suspicion I have is that the 20.04 one is a 'live' image
>> whereas 18.04 isn't (see the ISO names below). Could that be the reason?
>> ubuntu-18.04.5-server-arm64.iso
>> ubuntu-20.04.2-live-server-arm64.iso
>
> I'm running 20.04 successfully as arm64, and a prebuilt 16.04 image as
> x86_64 (more slowly). UTM is just qemu under the hood, so it is likely a
> qemu-related issue rather than something specific to UTM.
>
> I would guess it's something to do with UEFI boot settings - could try
> tweaking what settings UTM offers.
>
> I guess this is you:
> https://github.com/utmapp/UTM/issues/2685

Indeed it is.

> You seem to have a lot of virtio there. I'd try installing with all your
> drives as IDE, in case UEFI doesn't have virtio drivers.

Threw an error.

> Once installed you
> can switch back to virtio storage (which I'm using and works fine).
> (I think the instructions tell you to make the DVD as USB, which would also
> be fine)
>
> I would also install single-core to begin with. Really shouldn't matter,
> but just being conservative.
>
> If you look at Activity Monitor you can see if QEMU is busy doing work,
> or if it's stalled for some reason. It's possible you just need to wait a
> while - qemu is not the fastest.

I left it for over an hour. AM just showed it ticking over at ~5%.

However, your input encouraged me. Turns out it's a display issue.
Setting the Display to 'console only' fixes it! The installer ran
beautifully in full ASCII glory. Once installed, I can revert back to
"Full Graphics" and install a desktop UI.

I had a nagging suspicion it was something to do with the non-'live'
aspect of 18.04.

Many thanks for the input.

Chris

unread,
Jul 28, 2021, 4:06:27 AM7/28/21
to
On 27/07/2021 15:34, Alan B wrote:
> I tried UTM a while ago. I had a couple of major problems when I tried to use
> Ubuntu 18.04 server:
> - network would only connect when in console only mode

Yup the network does seem a bit flakey. I had to manually add it back
after it successfully installed >1000 packages via apt and then do a
software update. After that it refused to work. Weirdly the adapter name
in the settings wasn't the same as the actual adapter name. Not sure how
it ever worked?

> - with graphice applied, the keyboard would often not work at all

I find I have to leave it a few minutes after it boots as it won't
capture the mouse. After that, however, it's grand.

> I already had a paid-for Parallels sub. and I've found that several Linux ARM
> distros run quite well as VMs on my M1 machine. Hopefully Parallels will soon
> put out a build to enable installation of Tools to make host file sharing
> easier and 3-D graphics capability.

Do parallels ever do discounted offers? I may be interested when/if they do.


Theo

unread,
Jul 28, 2021, 7:45:35 AM7/28/21
to
Chris <ithi...@gmail.com> wrote:
> On 27/07/2021 15:34, Alan B wrote:
> > I tried UTM a while ago. I had a couple of major problems when I tried to use
> > Ubuntu 18.04 server:
> > - network would only connect when in console only mode
>
> Yup the network does seem a bit flakey. I had to manually add it back
> after it successfully installed >1000 packages via apt and then do a
> software update. After that it refused to work. Weirdly the adapter name
> in the settings wasn't the same as the actual adapter name. Not sure how
> it ever worked?

DNS inside qemu doesn't seem to work for me. So I do:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf

to make it use external DNS, which works until NetworkManager decides to
rewrite resolv.conf which it does occasionally. I should probably configure
that setting in NM directly.

> > - with graphice applied, the keyboard would often not work at all
>
> I find I have to leave it a few minutes after it boots as it won't
> capture the mouse. After that, however, it's grand.

I'm using it inside an IPKVM (PiKVM on a Raspberry Pi Zero) so I can't tell
if mouse/keyboard issues are UTM or the KVM. PiKVM uses a single composite
USB device for keyboard and mouse (and storage), which sometimes trips up
target machines.

Theo

Chris

unread,
Jul 28, 2021, 9:56:14 AM7/28/21
to
On 28/07/2021 12:19, Alan B wrote:
> Probably but I've not seen one. Until they get serious competition re M1
> machines, I can't see there being discounts any time soon. VMWare are working
> on a M1 compatible product but I've no idea when we will see it. I've also
> seen reports that there will be no M1 VirtualBox product.

I imagine this M1 transition is highlighting how hardwired the different
tools were to an intel host. Parallels definitely seem to have the jump
on the rest.

> I may give UTM
> another go as you have had some success.

UTM has been updated recently so that may have made the difference.
Although it's definitely not commercial software in terms of polish or
completeness. Suits my needs though.

> Have you tried the 15 day (or
> whatever) trial you get with Parallels?

I have not and now I don't need to ;) may give it whirl when I have time.

Chris Ridd

unread,
Jul 28, 2021, 2:55:09 PM7/28/21
to
On 28/07/2021 14:56, Chris wrote:
> I imagine this M1 transition is highlighting how hardwired the different
> tools were to an intel host. Parallels definitely seem to have the jump
> on the rest.

I don't think that's surprising - VMware has always been about x86
virtual machines on x86 hosts. Anything else would be a significantly
different product.

--
Chris

Ian McCall

unread,
Jul 28, 2021, 5:59:28 PM7/28/21
to
On 28 Jul 2021, Chris Ridd wrote
(in article <sds96b$maa$1...@dont-email.me>):
I did note though that in the last version of Fusion they said they’d
replaced the hypervisor with the native one. That...surprised me, and I’d
still be surprised if that was exactly what they meant.

Cheers,
Ian


Chris Ridd

unread,
Jul 29, 2021, 2:54:24 PM7/29/21
to
Yeah, me too. Even if you're using Apple's hypervisor framework I'm sure
there's a way for you to add your own optimisations to the thing.

--
Chris

Chris

unread,
Jul 30, 2021, 5:20:06 AM7/30/21
to
On 29/07/2021 15:58, Alan B wrote:
> On 2021-07-29, Alan B <alanrich...@nospamgmail.com.here> wrote:
>> On 2021-07-28, Chris <ithi...@gmail.com> wrote:
>>
>> [snip]
>>
>>> UTM has been updated recently so that may have made the difference.
>>> Although it's definitely not commercial software in terms of polish or
>>> completeness. Suits my needs though.
>>
>> I've installed UTM but still can't get network access with Ubuntu. However
>> I've downloaded the Debian XFCE VM and am having some success (e.g. This
>> followup) but cannot get host file sharing to work yet.
>
> Cracked it!
>
> Shared directory shows up as a WebDAV server on http://127.0.0.1:9843/
>
> sudo mount -t davfs http://127.0.0.1:9843 <mount point>

Nice n easy, isn't it? :)

I had a little regret re this M1 that I wouldn't be able to run intel
VMs for a while, but UTM and Arm linux has come to my rescue.

Overall am very impressed with UTM, runs very fast. Certainly faster
than VirtualBox on my old intel MBP.

There's now literally nothing I can't do on the M1 that I could do
before. Happy bunny :)

STALKING_TARGET_64

unread,
Jul 30, 2021, 6:48:28 PM7/30/21
to
Why would you understand me if you trust there is a possibility that I use
sock puppets? That actually works in your brain? This is the contemporary
'ideal' by those calling themselves 'Democrats', you must 'pH test' yourself,
you are no longer merely suspected, you're assumed guilty until you attack
someone else... a thing that isn't possible in this system. The only way
that I could disregard AZ Cypher's constant demand for tinkering because
of crashing headaches or buggy features is if I enjoyed the steady supply
of lies its community have been feeding Wolffan since 2015. Think about it,
who knows JavaScript, is a programmer, has hacked rbowman's ID, has motive
and is a huge immature mama's boy who, when he is called out, posts demands
he be "trusted" even when he's NOT flooding... AND... who struggles to attributes
everything HE is doing on "others" and has for years? Wolffan failed to show
a case study of a successful business that has gained its position by not
giving a damn about its consumers and merchandise.

In Wolffan's case, I, and a whole list of "forgers", had pointed to things
Wolffan said and did, he denied them. What Wolffan did not deny was people
complaining about them, which is how he ended up with his list, as you know.

I am not going to pretend rbowman did not help me on encryption and I am
indebted to him for his guidance. Wolffan has this thread to follow and might
begin to at least pretend he knows something about it because of this...
but he fell on his face when he brought it up ;)


--
Curious how these posts are made? Email: m...@sandman.net

Stephen Petruzzellis - fretwizzen

unread,
Jul 30, 2021, 7:36:44 PM7/30/21
to
On Friday, July 30, 2021 at 2:20:06 AM UTC-7, Chris wrote:
Contrary to Wolffan's claim that he has "no enthusiasm in making enemies"
(a lie as illustrated by the fact that he hacked Gremlin's Gmail account)
he was seen asking support staff how they would do a DDOS attack. I have
known bricks who argue better than you do.

The most obvious answer: Wolffan's consumed glue since then, and 'wiped
out those brain cells'. You've proven that it is Wolffan. Translation: "Wolffan"
is now ENTIRELY unable to camouflage his forging.


--
My Snoring Solution!
https://duckduckgo.com/?q=steve%20carroll%20racist%20swine
https://duckduckgo.com/?q=%22RACIST+SWINE%22
Dustin Cook: Functionally Illiterate Fraud

STALKING_TARGET_66

unread,
Jul 30, 2021, 8:09:13 PM7/30/21
to
Being decentralized as it is, low-level programming will never go away
but it'll never be what it once was. What it looks like matters little
and easily remedied, especially if it's popular. His desire is to see
Gremlin bothered by nonstop flooding. And hey, that could or could not...
you know what I mean. Amusingly, David virtually asked Gremlin for the
site that calls out his lies. Pull up a background report on David and
you will get proof that he was in a correctional facility for a long
time. The probes don't go into that extent of detail and public records
in his area need to be subpoenaed. Sandman lies.Here is a list of names
Jonas Eklundh has admitted he attributes to David "Cactus Pete", "Donald",
"Donald Miller", "Horace McSwain", "Hymen", "meat", "Mike Weaver", "Modena
IV Drid", "Omar Murad Asfour", "Rhino Plastee", "Soapy", "SopwithCamel",
"Sunny Day", "Takuya Saitoh", "The Letter Q", "tmelmosfire", "zevon".
Most of those are names of his buddy Steven Petruzzellis.


-
Curious how these posts are made? Email: fretw...@gmail.com

Gremlin the Functionally Illiterate Fraud

unread,
Jul 30, 2021, 8:25:34 PM7/30/21
to
I have a number of reasons for believing the flooder is Diesel, who is a
self professed AppleScripter but I don't know if it could be used to get
by Google's spam filters. Did he think that was clever?

With the idea of working towards peace, it appears that in order for ~BD~
to do that, he has to give Diesel a do-over for every single disgusting
judgement he's made about ~BD~, and forget every single false lie he's posted
about ~BD~ as well.

Diesel and the other trolls say asking for advice for a OS X application
is trolling. "Somewhere between 1998 or 2006 I trusted ~BD~ - the fully
irrational liar" - Diesel.


--
Puppy Videos!!
https://gibiru.com/results.html?q=Dustin+Cook+%22functional+illiterate+fraud%22
Dustin Cook is a functional illiterate fraud

Chris

unread,
Aug 3, 2021, 4:48:22 PM8/3/21
to
Alan B <alanrich...@nospamgmail.com.here> wrote:
> I’ve now created an OpenSUSE Leap 15.3 VM but like the Debian VM I can’t
> get the Section/PlusMinus key to work at all. Also using the alt key to
> produce characters such as # and € doesn’t work. I’ve fiddled with xmodmap
> but to no avail. Have you had similar problems? To be honest it’s no big
> deal though!

Yep. Exact same problems. I assumed the Section/Pm key was down to choosing
the wrong keyboard.

I also noticed the weird situation where pressing the RH Shift key changes
the keyboard to some command mode. Typing just brings up various windows or
prompts. Very weird until I worked out what toggled it.

Chiraag

unread,
Feb 22, 2023, 2:44:33 AM2/22/23
to
I am using UTM to run Kali Linux on M1; the experience has been pretty good till now. in the start, there was a problem when booting for the first time but after adding the seral Device to kali I installed kali from the terminal.
0 new messages