While WSL in Windows 11 has reduced the need for Multipass on Microsoft's desktop OS, the unavailability of something similar on Apple silicon means that the latest update will make it an effective solution for developers wanting to use their new M1 MacBooks for virtual machine development. Multipass already supported Windows and x86-Mac, and the latest update now ensures that it supports all major desktop platforms. According to Canonical, it will help users get a "near-native experience for any Linux program" and will immensely help people who only need to use a Linux environment occasionally. Multipass 1.8 comes with a bunch of other new features as well, including 'Aliases,' which allow Multipass users to tie commands within a virtual machine to commands on the host OS. The company also claimed that the software can get Ubuntu running on M1-powered Macs in as little as 20 seconds, which should enable developers to get started with their projects rather than having to invest additional time and energy on setting up. In the press release announcing the update, Canonical claimed that the new feature will allow users to run Ubuntu VMs with minimal set-up and maximum efficiency. 13-Inch: M1 & M1 Pro Laptops ComparedĬanonical has added Ubuntu support for Apple silicon as part of the Multipass 1.8 update that enables the software to download and launch a virtual machine image with a single command. That makes Multipass a great option for developers interested in running Linux on their M1-powered MacBooks. While VirtualBox does not support the M1's underlying ARM architecture, VMWare Fusion's Linux support for Apple silicon is still in the preview stage. To install packages from the Internet, I copied over /etc/apt/sources.list from another system.Apart from the aforementioned software, M1 users do not currently have many options to run Linux on their machines. Related to the package selection bug, the /etc/apt/sources.list file still installs packages from the installer CD (which works flawlessly). After the base system is installed I had to manually proceed to the GRUB installation step. The installer was a little quirky, and didn't allow me to select packages to install. Then running exit got me back into the installer with the CD mounted. This caused /dev/sr0 to appear, which I mounted: mount -t iso9660 /dev/sr0 /cdrom It was a bit of guesswork to find the right drivers to load but I found these to be sufficient: modprobe ahci isofs Then I installed the drivers: tar xf /mnt/modules/modules.tar -C / The Ubuntu installer correctly enumerated this device so I mounted it: mkdir /mnt/modules Then I attached the same hard drive to the virtual machine. Here /output was a volume mount to a FAT32 USB hard drive I had attached to macOS. Tar cf /output/modules.tar /lib/modules/4.15.0-156-generic Specifically, I used a Docker container to download the modules for this version: apt updateĪpt install -y -no-install-recommends linux-modules-4.15.0-156-generic linux-modules-extra-4.15.0-156-generic The Ubuntu 18.04.6 arm64 installer uses kernel version 4.15.0-156 so I prepared a tarball including additional kernel modules for this release. Here is an incredibly hacky way to proceed with installation.īoth the virtual CD drive and virtual hard disk should be attached as SATA devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |