如何成功在M1 macbook上运行Ubuntu20.04_ubuntu20.04 for m1-程序员宅基地

技术标签: 虚拟机  ubuntu  linux  arm  mac  

如何在搭载M1芯片的苹果电脑上跑Ubuntu

Parallels官方发布了针对搭载apple silcon M1芯片的Mac的测试版虚拟机,官网介绍如下:
参考地址:Meet the new Parallels Desktop

To run a virtual machine on a new Mac computer with the Apple M1 chip, the Parallels Engineering team created a new virtualization engine that uses the Apple M1 chip hardware-assisted virtualization and can run ARM-based OS in a virtual machine. Due to the significant difference between Intel x86 and ARM architectures, it’s not possible to either run existing virtual machines created on Mac computers with Intel processors or to create a new virtual machine with Intel x86 based OS.

Many Parallels Desktop features depend on a virtualization engine and guest OS architecture and must be developed nearly from scratch for the Apple M1 chip: starting from running an OS itself, graphics, the ability to suspend/resume a virtual machine, seamless integration, Coherence mode, Shared Folders, and many more. While our team continues to work hard on bringing all of the best Parallels Desktop features to Mac computers with Apple M1 chip, we are proud to share the results we achieved with this significant milestone.

笔者已经成功运行,具体步骤总结如下:

第一步 安装测试版 Parallels Desktop

需要去官网注册账户然后下载专门的测试软件

步骤如下:

Step 1: Check what you need.
To install the Parallels Desktop 16 for M1 Mac Technical Preview, you need:
*A Mac computer with an Apple M1 chip.
*An ARM-based operating system installation image (VHDX or ISO).
(Note: This Technical Preview is limited to Mac computers with Apple M1 chip and will not install on Mac computers with Intel processors.)

Step 2: Review Limitations.
As this is a new virtualization engine, there are both some fundamental technical limitations related to the Intel x86 platform, and some temporary limitations due to a work-in-progress product state. Please note well key limitations of this version below:
*It is not possible to install or start an Intel x86 based operating system in a virtual machine.
*It is not possible to suspend and resume a virtual machine, including reverting to a “running state” snapshot.
*It is not possible to use the “close” button when a virtual machine is running - shut down the virtual machine instead.
*ARM32 applications do not work in a virtual machine.
(Note: Please keep in mind that this is not a final product and should not be used in a business-critical environment.)

Step 3: Install and Activate.
Parallels Desktop 16 for M1 Mac
https://www.parallels.com/directdownload/pdbeta/
Activation key
C5DSYK-KZ5SHK-ESMK26-6X67T6-8VEWXQ
(To install the Parallels Desktop 16 for M1 Mac Technical Preview, please download the installation file (use the link above), then double-click it and follow the onscreen instructions. To activate Parallels Desktop, use the activation key displayed above.)

Parallels Desktop下载地址

这激活密钥可能每个账户都不一样,以账户注册返回值为准


第二步 下载ubuntu基于arm的版本

去ubuntu官网下载镜像文件 Ubuntu Server for ARM

我下的是 ubuntu 20.04.1 LTS 文件名是 ubuntu-20.04.1-live-server-arm64.iso


第三步 Parallels 安装 Ubuntu系统
我使用Parallels Desktop导入镜像文件时有错误,官网也有人反应:

因为这个问题,所以只能先安装虚拟机,再安装系统。步骤如下

  1. Open Parallels Desktop. Click New > Install Windows or another OS from a DVD or image file > Continue > Choose Manually > Continue without a source > Continue > Ok > Continue > Create.
  2. Open the virtual machine’s Configuration: click Parallels icon || > Control Center > right click on the virtual machine > Configure.
  3. Click Hardware > CD/DVD > Source and browse to the installation .iso
  4. Switch back to the virtual machine’s Window and in the top menu click Actions > Reset.
  5. Virtual machine shall boot from the installation image and let you proceed with installing the OS.

第四步 安装图形界面

其实以上三步完成后就可以正常使用了,但是因为本人不是很熟悉命令行,更喜欢有图形化界面的系统所以找了方法来安装unity界面。

参考链接为:里维斯社

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_42170583/article/details/111594421

智能推荐

上网八个常用cmd命令你掌握了几个?-程序员宅基地

文章浏览阅读103次。上网八个常用cmd命令你掌握了几个?  一、ping  它是用来检查网络是否通畅或者网络连接速度的命令。作为一个生活在网络上的管理员或者黑客来说,ping命令是第一个必须掌握的DOS命令,它所利用的原理是这样的:网络上的机器都有唯一确定的IP地址,我们给目标IP地址发送一个数据包,对方就要返回一个同样大小的数据包,根据返回的数..._cmd其他你认为比较常见的命令使用及作用

使用class weight和sample weight处理不平衡问题-程序员宅基地

文章浏览阅读1.8w次,点赞7次,收藏59次。class weight:对训练集里的每个类别加一个权重。如果该类别的样本数多,那么它的权重就低,反之则权重就高.sample weight:对每个样本加权重,思路和类别权重类似,即样本数多的类别样本权重低,反之样本权重高[1]^{[1]}[1]。PS:sklearn中绝大多数分类算法都有class weight和 sample weight可以使用。PytorchTensorf..._class weight

深入理解NLP中LayerNorm的原理以及LN的代码详解-程序员宅基地

文章浏览阅读4w次,点赞200次,收藏396次。在NLP中,大多数情况下大家都是用LN(LayerNorm)而不是BN(BatchNorm)。最直接的原因是BN在NLP中效果很差,所以一般不用。LN是把**normalized_shape这几个轴的元素**都放在一起,取平均值和方差的,然后对每个元素进行归一化,最后再乘以对应的$\gamma$和$\beta$(**每个元素不同**)。**LN共有N1*N2个mean和var**(假设输入数据的维度为(N1,N2,normalized_shape),normalized_shape表示多个维度)......_layernorm

简单的C语言程序示例_c语言程序简单编程-程序员宅基地

文章浏览阅读3.3k次,点赞3次,收藏5次。经典的C语言程序示例是在屏幕上打印出hello world。但是这多少有点简单,为了更加深入的了解C语言程序,让我们搞点更加“高级”的程序。是不是更高级了?哈哈^_^。现在我们看到的是编译的结果 下面我们开始逐一解读这一行行C语言代码。#include是一条C预处理指令,预处理就是C编译器在编译前对源代码做的准备工作。include文件用来提供便捷的途径共享许多程序共有的信息。stdio.h文件包含了所有C编译器所使用的输入和输出函数,且该文件名的含义就是标准输入/输出头文件,所以所有的C编译器的软件_c语言程序简单编程

毕业设计常用温度测量模块之DS18B20温度传感器介绍-程序员宅基地

文章浏览阅读3.8k次,点赞8次,收藏34次。DS18B20是一种单总线数字温度传感器,测试温度范围-55℃-125℃,具有体积小,硬件开销低,抗干扰能力强,精度高的特点。单总线通信,意味着没有时钟线,只有一根通信线。单总线读写数据是靠控制起始时间和采样时间来完成,所以时序要求很严格,这也是DS18B20驱动编程的难点。_ds18b20温度传感器介绍

06 RuoYi-Vue后台管理系统-系统监控模块_后台管理实时监控模块怎么写-程序员宅基地

文章浏览阅读1.8k次。在线用户数据库中没有对应的表。这些信息来自redis中。数据监控输入用户名和密码:ruoyi 123456可以查看sql相关信息。服务监控缓存监控_后台管理实时监控模块怎么写

随便推点

OSG::Quat(四元数)用法-程序员宅基地

文章浏览阅读3.1k次。转自:http://blog.163.com/dj_zone/blog/static/4908931320098294047820/osg::QuatTo set the attitude of a node or group of nodes, we use a new object, the osg::Quat. An osg::Quat is used to instanti_osg::quat

亲测有效解决网页响应慢,waiting(TTFB)时间过长_stalled耗时很久-程序员宅基地

文章浏览阅读7.0k次。本人在学习ajax无刷新分页的过程中,发现换页响应时间很长,要1秒以上那么 Waiting(TTFB) 是什么呢?TTFB 全称 Time To First Byte,是指网络请求被发起到从服务器接收到第一个字节的这段时间,它包含了 TCP 连接时间、发送 HTTP 请求时间和获得响应消息第一个字节的时间。现将解决问题的步骤记录如下,希望能帮到遇到同样问题的小伙伴反复测试发现是pd..._stalled耗时很久

网络安全协议-程序员宅基地

文章浏览阅读1w次,点赞40次,收藏44次。本章将会进行网络安全协议的讲解网络安全(Cyber Security)是指网络系统的硬件、软件及其系统中的数据受到保护,不因偶然的或者恶意的原因而遭受到破坏、更改、泄露,系统连续可靠正常地运行,网络服务不中断。为了对现有计算机系统的安全性进行统一评价,为计算机系统制造商提供一个权威的系统安全性标准。需要有一个计算机系统安全测评标准。美国国防部于1983年推出了历史上第一个计算机评价准则—(可信计算机系统评价准则)(TCSEC),带动了国际上计算机安全测评的研究。_网络安全协议

用C#怎样把当前系统时间存入数据库_c# 数组中存当时时间-程序员宅基地

文章浏览阅读5.8k次。做法1,数据库中存入时间 字段设置不允许为空,然后默认值写getdate()做法2,string d = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")然后再sql语句中按字符串类型的字段insert进去,sql = "insert table (存入时间) values('" + d + "')";注意这里只是示例 now.ToString("y_c# 数组中存当时时间

LPC11U68试用-程序员宅基地

文章浏览阅读440次。使用LPC11U68单片机,帖子汇总如下:欢迎访问我的个人博客查看:访问hehung博客下面是在NXP论坛上发帖:1、开箱测试2、串口控制(UART4)3、串口4控制LED颜色变换4、IIC OLED测试5、RTC时钟的使用6、闹钟实现..._lpc11u68

Python前端开发-程序员宅基地

文章浏览阅读7.3k次,点赞9次,收藏64次。Python前端开发1.前端三剑客(HTML,CSS和JavaScript)1.1 HTML1.1.1 HTML简介HyperText Mark-up Language, 指的是超文本标记语言;html是开发网页的语言;html中的标签大多数都是成对出现的, 格式: <标签名></标签名>1.1.2 HTML结构第一行是文档声明部分HTML:分为页头,页身和页脚。标签大部分是成对出现1.1.3第一行文档声明部分HTML在vscode中的使用vscode是由微软研_python前端开发

推荐文章

热门文章

相关标签