macbook linux 双系统,MAC Ubuntu双系统方案

摘要:
在Ubuntu上可以利用Vmware等工具安装linux系统,但是由于某些原因,需要装双系统等,可以使用以下方案:在Mac笔记本下安装ubuntu双系统的方案是利用refind、Etcher软件实现。步骤如下:1.下载Ubuntu从Canonical网站下载当前的Ubuntu LTS安装程序。2.创建您的Ubuntu安装驱动器我们将在此示例中使用U盘。驱动器必须至少为2 GB且为空。格式化驱动器1.将USB插入Mac。2.从“应用程序/实用程序”中打开“磁盘工具”。在侧栏中选择USB驱动器。3单

Ubuntu上可以利用Vmware等工具安装linux系统,但是由于某些原因,需要装双系统等,可以使用以下方案:

在Mac笔记本下安装ubuntu双系统的方案是利用refind、Etcher软件实现。

步骤如下:

1.下载Ubuntu

从Canonical网站下载当前的Ubuntu LTS安装程序。

221503be535cfb4929845dd501ab3b8c.png

2.创建您的Ubuntu安装驱动器

我们将在此示例中使用U盘。驱动器必须至少为2 GB且为空。

格式化驱动器

1.将USB插入Mac。

2.从“应用程序/实用程序”中打开“磁盘工具”。在侧栏中选择USB驱动器。

3单击菜单栏中的“擦除”以格式化驱动器。

da7a35036c2aaa135250f24cf417e948.png

4.在下一个屏幕中,将格式设置为“MS-DOS(FAT)”,将方案设置为“GUID分区映射”。

764ffcca20cf75301a186370522f0304.png

5.单击“擦除”并等待格式化过程完成。

881ab8c66943f42354623ad7e90281f1.png

写入镜像

我们将使用Etcher将Ubuntu安装映像写入磁盘。

9c3976b0536fefbb2c40541e0e7bd14c.png

2.打开Etcher。单击“选择图像”,然后选择Ubuntu ISO文件,选择插入的u盘,然后点击Flash,等待写入完成。

aa2bec22d0952b2486602b27b7c40b7c.png

3b15c2541e79a66809799f46dfab3444.png

3.准备安装系统

我们使用rEFInd作为Ubuntu和macOS的引导程序。

本人使用外置移动硬盘作为ubuntu系统盘。

首先插入硬盘,然后同样抹除硬盘,将格式设置为“MS-DOS(FAT)”,将方案设置为“GUID分区映射”。

e9f645b319243edb526adab06ea15999.png

安装rEFInd

2.解压缩下载的文件。

3.从“/ Applications / Utilities / Terminal”打开终端。

4.将“refind-installer”文件拖到“终端”图标上以运行脚本。

./refind-install

Not running as root; attempting to elevate privileges via sudo….

Password:

ShimSource is none

Installing rEFInd on OS X….

Installing rEFInd to the partition mounted at /Volumes/ESP

Found rEFInd installation in /Volumes/ESP/EFI/refind; upgrading it.

**** ALERT: SIP ENABLED! ****

You are attempting to upgrade an existing installation, but it appears that

System Integrity Protection (SIP) is enabled. If rEFInd is working now, then

this is fine; you can upgrade your existing rEFInd. If rEFInd is not working,

though, re-installing from this boot will not help. To re-enable rEFInd, you

must re-install it from a Recovery system or from another OS. To enter the

Recovery system and re-install rEFInd:

1. Reboot

2. Hold down Command+R as the chime sounds

3. When the OS has booted, select Utilities->Terminal

4. Change to this directory with the ‘cd’ command; it will probably be under

/Volumes/Macintosh HD/Users/apple/Downloads/refind-bin-0.11.2

5. Re-run this script.

For more on this subject, see http://www.rodsbooks.com/refind/sip.html

Do you want to attempt installation (Y/N)?

根据提示,我们需要

重启你的Mac。当启动屏幕出现时,按住Command+ R直到屏幕上出现Apple徽标。

完成加载并进入恢复模式后,单击“实用程序 – >终端”。

在“终端”窗口中,输入csrutil disable并按Enter键。

重启你的Mac。

5.重新启动Mac以确保rEFInd正常运行。

7de4e01593b723c1fef62d64c9cf6352.png

可以看到类似界面,然后点击移动盘盘启动,就可以进行Ubuntu安装了,Ubuntu安装过程就不叙述了,网上教程很多。

按照此方案也可以做多系统启动引导,如Mac Win7 Ubuntu三系统等。

最后介绍rEFInd的配置方法:

diskutil list | grep EFI | awk ‘{print $6}’

如果显示如下:

disk0s1

然后输入命令如下:

sudo mkdir /Volumes/efi

sudo mount -t msdos /dev/disk0s1 /Volumes/efi

cd /Volumes/efi/EFI/refind/

文件夹下有refind.conf文件,vim refind.conf

常用的可以修改的配置:

timeout,等待时间(如果想要直接进入Mac,则设置为-1)

resolution,屏幕分辨率

default_selection,默认进入的系统选项

include,引导界面美化常用

max_tag,最多可显示几个启动项

dont_scan_dirs, dont_scan_files, dont_scan_volumes,设置引导器过滤那些目录、文件、卷类型

MAC Ubuntu双系统方案

免责声明:文章转载自《macbook linux 双系统,MAC Ubuntu双系统方案》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇浅谈基于WOPI协议实现跨浏览器的Office在线编辑解决方案火狐浏览器插件安装及推荐下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

mac 添加安卓设备的支持

1. 把android设备插到mac电脑上 2. 首先可以看一下之前在该mac电脑上有没有添加过这个 , 命令 : adb devices 如果显示出,下面字样,说明之前添加过了,下面就可以不用再看了。 List of devices attached 42f6940daa32bf91device 3. 添加android设备第一步:打开终端,输...

【转】ATA Secure Erase

ATA Secure Erase     This procedure describes how to use the hdparm command to issue a Secure Erase ATA instruction to a target storage device. When a Secure Erase is issued aga...

mac关于stf开源工具安装

准备: 1.安装brew工具,后续安装stf依赖会用到 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2.安装yasm brew install yasm #安装jpegturbo会用到(不安装这个,jpegturbo安装会...

获取客户端网卡MAC地址和IP地址的几种方法(一)

           在做B/S结构的系统时,我们常常需要获取客户端的一些信息,如IP和MAC,以结合身份验证。在ASP.NET中,要获取服务器端的MAC很容易,但是要获取客户端的MAC的地址确要花费一翻心思,通常的做法是调用Win32API或直接调用nbtstat命令,这样做有很多问题,而另一种方法就是直接用客户端脚本,我们这里用Javascript,这...

MAC下使用Charles抓取安卓模拟器数据

一、安装Charles,这个不多记录 二、Charles数据乱码问题 启动 Charles 软件,在菜单中找到 Help -> SSL Proxying -> Install Charles Root Certificate. 如下图所示: 证书位置为登陆 随后双击证书,里面选择信任列表 在 Charles 的工具栏上点击设置按钮,选择 S...

Aircrack-ng无线审计工具使用

Aircrack-ng工具   Aircrack-ng是一个与802.11标准的无线网络分析的安全软件,主要功能有网络探测、数据包嗅探捕获、WEP和WPA/WPA2-PSK破解。Aircrack可以工作在任何支撑监听模式的无线网卡上,并嗅探802.11a、802.11b、802.11g的数据包。   1.1、Aircrack-ng工具集   Aircrac...