There's no direct download of Ubuntu Desktop 22.04 for ARM64 yet, how do you install it?
3 Answers
Some were confused, here's a complete screencast of the process outlined below:
- Download the ARM64 Server edition from:
- Install with the ISO when creating a new guest/vm in Parallels 17
- Update System
sudo apt update && sudo apt upgradethensudo reboot - Login and install:
sudo apt install ubuntu-desktop - Reboot (
sudo reboot) - Parallels Tools Installation: two options
Use Menubar:
- Menubar → Actions → Install Parallels Tools
- Install via shell:
cd /media/USERNAME/Parallels\ Tools sudo ./install sudo reboot
Use ISO: mount Parallels ARM64 tools ISO and install:
- Note: initially I installed Parallels Tools before installing the graphical user interface, but if you install it after the installation of
ubuntu-desktopor evenkde-standard/full/whateverthen copy paste, etc. functionality will also be installed.
- CD-ROM: "Connect image..."
- Navigate to
/Applications/and change to List view - Expand
Parallels - Select and Open
prl-tools-lin-arm.iso - Execute:
sudo mount /dev/cdrom /media/ cd /media/ sudo ./install # allow it to install appropriate tools sudo reboot
- Note: initially I installed Parallels Tools before installing the graphical user interface, but if you install it after the installation of
DOCKER:
There was a question below about whether or not Docker can work with Ubuntu 22.04 on Apple Silicon. The answer is YES. The catch or hang up that people are hitting is when they try to use "Docker Desktop" on Ubuntu (instead of directly on macOS). This tries to run a nested virtualization scenario and Apple does not have this instruction set available on the M1 series of Apple Silicon devices. The key, however, is to just use Docker itself with something like a tutorial from here:
You'll then notice that after you successfully set it up and run docker run hello-world that it does work. Furthermore you can do install distributions like Alpine and run them:
$ docker pull alpine
$ docker run -it alpine
/ # ls
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
/ # exit
$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
alpine latest 3fb3c9af89a9 5 weeks ago 5.32MB
hello-world latest 46331d942d63 7 weeks ago 9.14kB
$ docker system prune -a --volumes
WARNING! This will remove: - all stopped containers - all networks not used by at least one container - all volumes not used by at least one container - all images without at least one container associated to them - all build cache
Are you sure you want to continue? [y/N] y
Deleted Containers:
e02dce4144eccb4828a3775ec96c97c5741c69120981bf323732796ff2e4855f
72beba41f97505fe14532b0f700e6c1477986c35c656bac7500591194725e1ef
Deleted Images:
untagged: hello-world:latest
untagged: hello-world@sha256:80f31da1ac7b312ba29d65080fddf797dd76acfb870e677f390d5acba9741b17
deleted: sha256:46331d942d6350436f64e614d75725f6de3bb5c63e266e236e04389820a234c4
deleted: sha256:efb53921da3394806160641b72a2cbd34ca1a9a8345ac670a85a04ad3d0e3507
untagged: alpine:latest
untagged: alpine@sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454
deleted: sha256:3fb3c9af89a9178a2ab12a1f30d8df607fa46a6f176acf9448328b22d31086a2
deleted: sha256:4f4ce317c6bbf55719e49973d32d33ba456d7cb08693a6d6fb372690eacee23b
Total reclaimed space: 5.331MB 2 I tried creating a VM on my M1 with Parallels 1.7.2 (23531) and ubuntu-22.04-live-server-arm64.iso. But after the Grub screen a blank screen appears which stays forever.
So I have to assume that the installation fails/hangs. Is there any special setting that I have to apply (BIOS/UEFI, ...) that makes it boot successfully?
I also tried to remove the quiet parameter from the boot command in grub, then I'm getting the following output:
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...What does it mean and what could I do about it?
Thanks
8I had the same issue, as Stephan, with installing Ubuntu 22.04 on a MacBook Pro (16-inch, 2021) M1 Pro with 32 GB RAM. I had the Apple store version 1.7.x (I think it was 1.7.2). Per the advice in the accepted solution above, I removed Parallels from my machine, logged into my parallels.com account, and re-installed parallels Version 17.1.2 (51548)) after downloading and activating the new install, I followed the advice given above accepted solution and Ubuntu 22.04 is now running as per the accepted solution answer.
I should mention that I did have issues getting the parallel tools installed. In the end, what I did was to click the warning icon at the top of the VM window warning me that the tools need to be installed. That apparently mounted the disk and installed the tools.
My gut feel is that there is a difference in the Apple store version I was using. I have not confirmed that, to be sure, but the actions I took certainly seems to indicate that so.
UPDATE 5/4/2022Based on a support email I received from parallels.com, the Apple store version I had installed was parallels desktop and is not the same as the parallel Pro version I purchased on the parallels.com web site. I was sent the following link for future information, but in a nut shell, I do believe that parallels pro was required in my case.
"Difference between editions - "
14