Files
pages/2024/06/16/hackintosh.html
2025-12-31 16:00:29 +00:00

321 lines
20 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Hackintosh使用体验 | Mayx的博客</title>
<meta name="generator" content="Jekyll v3.9.5" />
<meta property="og:title" content="Hackintosh使用体验" />
<meta name="author" content="mayx" />
<meta property="og:locale" content="zh_CN" />
<meta name="description" content="使用Mac到底有些什么优势呢" />
<meta property="og:description" content="使用Mac到底有些什么优势呢" />
<meta property="og:site_name" content="Mayx的博客" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2024-06-16T00:00:00+08:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Hackintosh使用体验" />
<meta name="google-site-verification" content="huTYdEesm8NaFymixMNqflyCp6Jfvd615j5Wq1i2PHc" />
<meta name="msvalidate.01" content="0ADFCE64B3557DC4DC5F2DC224C5FDDD" />
<meta name="yandex-verification" content="fc0e535abed800be" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"mayx"},"dateModified":"2024-06-16T00:00:00+08:00","datePublished":"2024-06-16T00:00:00+08:00","description":"使用Mac到底有些什么优势呢","headline":"Hackintosh使用体验","mainEntityOfPage":{"@type":"WebPage","@id":"/2024/06/16/hackintosh.html"},"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://avatars0.githubusercontent.com/u/17966333"},"name":"mayx"},"url":"/2024/06/16/hackintosh.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="canonical" href="https://mabbs.github.io/2024/06/16/hackintosh.html" />
<link type="application/atom+xml" rel="alternate" href="/atom.xml" title="Mayx的博客" />
<link rel="alternate" type="application/rss+xml" title="Mayx的博客(RSS)" href="/rss.xml" />
<link rel="alternate" type="application/json" title="Mayx的博客(JSON Feed)" href="/feed.json" />
<link rel="stylesheet" href="/assets/css/style.css?v=1767196818" />
<!--[if !IE]> -->
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
<!-- <![endif]-->
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Mayx的博客" />
<link rel="webmention" href="https://webmention.io/mabbs.github.io/webmention" />
<link rel="pingback" href="https://webmention.io/mabbs.github.io/xmlrpc" />
<link rel="preconnect" href="https://summary.mayx.eu.org" crossorigin="anonymous" />
<link rel="prefetch" href="https://www.blogsclub.org/badge/mabbs.github.io" as="image" />
<link rel="blogroll" type="text/xml" href="/blogroll.opml" />
<link rel="me" href="https://github.com/Mabbs" />
<script src="/assets/js/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.3/jquery.xdomainrequest.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var lastUpdated = new Date("Thu, 01 Jan 2026 00:00:18 +0800");
var BlogAPI = "https://summary.mayx.eu.org";
</script>
<script src="/assets/js/main.js"></script>
<!--[if !IE]> -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-137710294-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-137710294-1');
</script>
<script src="/assets/js/instant.page.js" type="module"></script>
<!-- <![endif]-->
</head>
<body>
<!--[if !IE]> --><noscript><marquee style="top: -15px; position: relative;"><small>发现当前浏览器没有启用JavaScript这不影响你的浏览但可能会有一些功能无法使用……</small></marquee></noscript><!-- <![endif]-->
<!--[if IE]><marquee style="top: -15px; position: relative;"><small>发现当前浏览器为Internet Explorer这不影响你的浏览但可能会有一些功能无法使用……</small></marquee><![endif]-->
<div class="wrapper">
<header class="h-card">
<h1><a class="u-url u-uid p-name" rel="me" href="/">Mayx的博客</a></h1>
<img src="https://avatars0.githubusercontent.com/u/17966333" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px;" />
<p class="p-note">Mayx's Home Page</p>
<form action="/search.html">
<input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />&#160;<input type="submit" value="搜索" />
</form>
<br />
<p class="view"><a class="u-url" href="/Mabbs/">About me</a></p>
<ul class="downloads">
<li style="width: 270px; border-right: none;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
</ul>
</header>
<section class="h-entry">
<small><time class="date dt-published" datetime="2024-06-16T00:00:00+08:00">16 June 2024</time> - 字数统计2130 - 阅读大约需要7分钟 - Hits: <span id="/2024/06/16/hackintosh.html" class="visitors">Loading...</span></small>
<h1 class="p-name">Hackintosh使用体验</h1>
<p class="view">by <a class="p-author h-card" href="//github.com/Mabbs">mayx</a></p>
<div id="outdate" style="display:none;">
<hr /><p>
这是一篇创建于 <span id="outime"></span> 天前的文章,其中的信息可能已经有所发展或是发生改变。
</p>
</div>
<script>
daysold = Math.floor((new Date().getTime() - new Date("Sun, 16 Jun 2024 00:00:00 +0800").getTime()) / (24 * 60 * 60 * 1000));
if (daysold > 90) {
document.getElementById("outdate").style.display = "block";
document.getElementById("outime").innerHTML = daysold;
}
</script>
<hr />
<b>AI摘要</b>
<p id="ai-output">这篇文章讲述了作者尝试安装Hackintosh即在非Mac硬件上运行macOS的体验。起始时因为对Mac尤其是基于Intel架构的性价比、硬件差异和性能的质疑使得作者并未尝试过。但随着ARM架构Mac的出现他们决定安装黑苹果进行尝试。尽管安装过程并不复杂主要是根据硬件自定义EFI但对于无线网络和一些Apple芯片优化软件支持存在限制。尽管体验与MacBook相似作者认为黑苹果在功能上与Linux接近性能上不如Mac notebo挠在续航上的优势明显。总体来说作者认为黑苹果的吸引力有限主要是节省了一部分成本而Mac的独家体验和续航无法替代。</p>
<hr />
<ul><li><a href="#起因">起因</a></li><li><a href="#安装体验">安装体验</a></li><li><a href="#使用体验">使用体验</a></li><li><a href="#感想">感想</a></li></ul>
<hr />
<main class="post-content e-content" role="main"><p>使用Mac到底有些什么优势呢<!--more--></p>
<h1 id="起因">
<a href="#起因"><svg class='octicon' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg></a> 起因
</h1>
<p>我曾经装过很多系统Windows、FreeBSD、Linux发行版什么的都试过但是直到我<a href="/2023/02/03/mbp.html">拥有MacBook</a>我也没有试过安装黑苹果。主要是在ARM芯片的Mac出现之前我一直看不起Mac因为没有差异化明明和其他电脑用的是同样的东西一样的CPU、一样的显卡、一样的内存以及硬盘凭什么比其他电脑贵那么多也因此CPU能效不行续航也不行而且质量也不行据说在使用蝴蝶键盘那段时间键盘的损坏率极高而且散热很差经常出现CPU空焊的问题还因此有了“梦幻单热管”的名号。 </p><p>
当然也是因为垃圾的硬件与其配套的软件macOS也并没有什么优势我也没什么兴趣去装黑苹果对我来说我觉得x86时代的macOS更像是一种Linux发行版。 </p><p>
但直到ARM芯片的Mac出来之后一切才不一样起来差异化是一方面在这个芯片的加持下的macOS也出现了很多的黑科技……当然这都不是重点重点是最近正好需要一台Mac我又不想用我自己的MacBook所以随便找了台电脑装了个黑苹果试试效果。</p>
<h1 id="安装体验">
<a href="#安装体验"><svg class='octicon' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg></a> 安装体验
</h1>
<p>据说安装黑苹果很麻烦不过具体麻烦在哪我也不太清楚。看了一下教程是要根据自己的电脑硬件情况自定义一个EFI文件夹用来引导应该就是用这个方式模拟Mac的引导环境。至于怎么搞这个EFI文件夹我搜了一下有一个叫做<a href="https://github.com/JeoJay127/RapidEFI-Tool">RapidEFI-Tool</a>的软件可以填入自己电脑的硬件信息然后一键生成EFI。生成完成之后把要装macOS的硬盘的分区全部删除然后新建ESP分区把EFI文件放进去就行了然后剩余的空间再创建一个分区把苹果官方的系统镜像用<a href="https://etcher.balena.io/">balenaEtcher</a>烧录到U盘里剩下的就和正常安装系统的步骤一样了遵循向导的提示进行就行了。 </p><p>
这么来看好像也没有很复杂也可能是因为我用的是台式机不用考虑无线网络之类的问题吧当然隔空投送之类的东西就用不了了我看其他大多数人遇到的问题好像都出在无线网络上而且我的CPU比较老是i5-7500在适合装黑苹果的范围内所以没有出现奇怪的问题安装完成之后硬盘、显卡、内存都正确识别了打开浏览器也能正常上网看来是成功了。</p>
<h1 id="使用体验">
<a href="#使用体验"><svg class='octicon' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg></a> 使用体验
</h1>
<p>我装的系统和我的MacBook一样都是macOS Sonoma 14.5所以整体体验都是一样的而且黑苹果的内存还更大是16GiB的这也能让我安心的尝试虚拟机了不像我的笔记本才8GiB连虚拟机都不敢安。 </p><p>
绝大多数软件安装都没有问题使用也和笔记本一样不过如果完全一样不就体现不出我笔记本的优势了嘛🤣我还试了试别的软件比如针对Apple芯片优化的<a href="https://github.com/ggerganov/llama.cpp">llama.cpp</a>试了一下可以运行但是结果全是乱码。应该是llama.cpp可以调Metal的API使用核显进行加速但是核显好像最多只能分配2GiB的显存而且和Apple芯片不一样的是它好像并不是可以随意分配内存给显卡的分配给显卡的部分CPU就不能用了而Apple芯片是两边都可以用也正是如此假设核显的内存够用模型也要占两份内存而Apple芯片的只需要占一份内存我猜的😝</p><p>
另外使用了Apple芯片的NPU的软件<a href="https://github.com/MochiDiffusion/MochiDiffusion">Mochi Diffusion</a>也是不能运行的因为根本没有做x86版本的🤣不过用brew安装居然可以安但是打不开🤣所以提了个<a href="https://github.com/Homebrew/homebrew-cask/pull/176891">pr</a>。不过就算做了拿Intel那个核显跑估计会卡死。 </p><p>
另外还有<a href="https://github.com/PlayCover/PlayCover">PlayCover</a>也装不了这个也算是Apple芯片的特色了毕竟苹果不可能做ARM转x86的RosettaiOS的软件只可能是ARM架构的Intel的Mac当然执行不了了。 </p><p>
还有为GPTk设计的软件<a href="https://github.com/Whisky-App/Whisky">Whisky</a>也不能用不过这个无所谓毕竟黑苹果想切回Windows再简单不过了根本没有安装这种软件的必要当然如果说类似的Crossover应该可以用不过那个不是免费的所以我不会去尝试它。 </p><p>
虚拟机的话我先试了一下VMware Fusion安装是正常的但是打不开BIOS的虚拟化也开了VT-d好像黑苹果不能开但应该不影响运行虚拟机。之后又试了一下UTM我本来以为UTM是专门给Apple芯片使用的结果居然能安装上而且Intel版也有苹果官方的虚拟化框架所以原生运行x86版的Ubuntu没有问题而且系统信息显示的是Apple Virtualization Generic Platform看来虚拟化的功能都是正常的黑苹果效果还不错。</p>
<h1 id="感想">
<a href="#感想"><svg class='octicon' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg></a> 感想
</h1>
<p>虽然总的来看黑苹果算是不错但是在我看来也顶多省了个Mac Mini而已当然Mac Pro应该也能拿黑苹果代替iMac毕竟有个质量还不错的屏幕不能完全代替。毕竟从功能来说我觉得macOS和Linux差不多尤其现在Linux的软件越来越多现在连微信都有Linux原生版了而且还有Intel Mac没有的移动端软件Linux可以<a href="/2023/12/24/android.html">用容器运行Android</a>。不过对于笔记本来说续航是最大的优势Apple芯片+macOS带来的笔记本体验才是最好的其他Mac Mini啥的根本没有体现出Apple芯片的优势毕竟要说性能的话同价格Mac是没有优势的唯有续航是没有其他笔记本产品能打的带充电宝没用充电宝能续几个航啊</p></main>
<small style="display: block">tags: <a rel="category tag" class="p-category" href="/search.html?keyword=Apple"><em>Apple</em></a> - <a rel="category tag" class="p-category" href="/search.html?keyword=Hackintosh"><em>Hackintosh</em></a> - <a rel="category tag" class="p-category" href="/search.html?keyword=macOS"><em>macOS</em></a> - <a rel="category tag" class="p-category" href="/search.html?keyword=%E9%BB%91%E8%8B%B9%E6%9E%9C"><em>黑苹果</em></a> <span style="float: right;"><a href="https://gitlab.com/mayx/mayx.gitlab.io/tree/master/_posts/2024-06-16-hackintosh.md">查看原始文件</a></span></small>
<h4 style="border-bottom: 1px solid #e5e5e5;margin: 2em 0 5px;">推荐文章</h4>
<p id="suggest-container">Loading...</p>
<script>
var suggest = $("#suggest-container");
$.get(BlogAPI + "/suggest?id=/2024/06/16/hackintosh.html&update=" + lastUpdated.valueOf(), function (data) {
if (data.length) {
getSearchJSON(function (search) {
suggest.empty();
var searchMap = {};
for (var i = 0; i < search.length; i++) {
searchMap[search[i].url] = search[i];
}
var tooltip = $('<div class="content-tooltip"></div>').appendTo('body').hide();
for (var j = 0; j < data.length; j++) {
var item = searchMap[data[j].id];
if (item) {
var link = $('<a href="' + item.url + '">' + item.title + '</a>');
var contentPreview = item.content.substring(0, 100);
if (item.content.length > 100) {
contentPreview += "……";
}
link.hover(
function(e) {
tooltip.text($(this).data('content'))
.css({
top: e.pageY + 10,
left: e.pageX + 10
})
.show();
},
function() {
tooltip.hide();
}
).mousemove(function(e) {
tooltip.css({
top: e.pageY + 10,
left: e.pageX + 10
});
}).data('content', contentPreview);
suggest.append(link);
suggest.append(' - ' + item.date + '<br />');
}
}
});
} else {
suggest.html("暂无推荐文章……");
}
});
</script>
<br />
<div class="pagination">
<span class="prev">
<a href="/2024/05/19/bt-ops.html">
上一篇:从宝塔面板中学习运维知识
</a>
</span>
<br />
<span class="next">
<a href="/2024/07/03/ai-summary.html">
下一篇使用Cloudflare Workers制作博客AI摘要
</a>
</span>
</div>
<!--[if !IE]> -->
<link rel="stylesheet" href="/assets/css/gitalk.css">
<script src="/assets/js/gitalk.min.js"></script>
<div id="gitalk-container"></div>
<script>
var gitalk = new Gitalk({
clientID: '36557aec4c3cb04f7ac6',
clientSecret: 'ac32993299751cb5a9ba81cf2b171cca65879cdb',
repo: 'mabbs.github.io',
owner: 'Mabbs',
admin: ['Mabbs'],
id: '/2024/06/16/hackintosh', // Ensure uniqueness and length less than 50
distractionFreeMode: false, // Facebook-like distraction free mode
proxy: "https://cors-anywhere.mayx.eu.org/?https://github.com/login/oauth/access_token"
})
gitalk.render('gitalk-container')
</script>
<!-- <![endif]-->
</section>
<!--[if !IE]> -->
<div id="landlord" style="left:5px;bottom:0px;">
<div class="message" style="opacity:0"></div>
<canvas id="live2d" width="500" height="560" class="live2d"></canvas>
<div class="live_talk_input_body">
<form id="live_talk_input_form">
<div class="live_talk_input_name_body" >
<input type="checkbox" id="load_this" />
<input type="hidden" id="post_id" value="/2024/06/16/hackintosh.html" />
<label for="load_this">
<span style="font-size: 11px; color: #fff;">&#160;想问这篇文章</span>
</label>
</div>
<div class="live_talk_input_text_body">
<input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?" />
<button type="submit" class="live_talk_send_btn" id="talk_send">发送</button>
</div>
</form>
</div>
<input name="live_talk" id="live_talk" value="1" type="hidden" />
<div class="live_ico_box" style="display:none;">
<div class="live_ico_item type_info" id="showInfoBtn"></div>
<div class="live_ico_item type_talk" id="showTalkBtn"></div>
<div class="live_ico_item type_music" id="musicButton"></div>
<div class="live_ico_item type_youdu" id="youduButton"></div>
<div class="live_ico_item type_quit" id="hideButton"></div>
<input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
<audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
<input id="duType" value="douqilai" type="hidden" />
</div>
</div>
<div id="open_live2d">召唤伊斯特瓦尔</div>
<!-- <![endif]-->
<footer>
<p>
<small>Made with ❤ by Mayx<br />Last updated at 2026-01-01 00:00:18<br /> 总字数614622 - 文章数178 - <a href="/atom.xml" >Atom</a> - <a href="/README.html" >About</a></small>
</p>
</footer>
</div>
<script src="/assets/js/scale.fix.js"></script>
<!--[if !IE]> -->
<script src="/assets/js/main_new.js"></script>
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
<script src="/Live2dHistoire/live2d/js/message.js"></script>
<!-- <![endif]-->
</body>
</html>