{"id":4139,"date":"2022-05-06T10:47:50","date_gmt":"2022-05-06T02:47:50","guid":{"rendered":"https:\/\/www.liangliang.org.cn\/?p=4139"},"modified":"2022-05-06T19:22:46","modified_gmt":"2022-05-06T11:22:46","slug":"%e5%9c%a8%e6%90%ad%e8%bd%bdapple-t2%e5%ae%89%e5%85%a8%e8%8a%af%e7%89%87%e7%9a%84mac%e6%9c%ba%e5%9e%8b%e4%b8%8a%e5%ae%89%e8%a3%85linux","status":"publish","type":"post","link":"https:\/\/www.liangliang.org.cn\/?p=4139","title":{"rendered":"\u5728\u642d\u8f7dApple T2\u5b89\u5168\u82af\u7247\u7684Mac\u673a\u578b\u4e0a\u5b89\u88c5Linux"},"content":{"rendered":"<h1>\u5728\u642d\u8f7dApple T2\u5b89\u5168\u82af\u7247\u7684Mac\u673a\u578b\u4e0a\u5b89\u88c5Linux<\/h1>\n<h3>\u914d\u5907 Apple T2 \u5b89\u5168\u82af\u7247\u7684\u7535\u8111\uff082018\u5e74\u4ee5\u540e\u7684x86\u673a\u578b\uff09<\/h3>\n<pre><code>\u4e0b\u5217 Mac \u7535\u8111\u914d\u5907\u4e86 Apple T2 \u5b89\u5168\u82af\u7247\uff1a\n\n- iMac\uff08\u89c6\u7f51\u819c 5K \u663e\u793a\u5c4f\uff0c27 \u82f1\u5bf8\uff0c2020 \u5e74\uff09\n- iMac Pro\n- Mac Pro\uff082019 \u5e74\uff09\n- Mac Pro\uff08\u673a\u67b6\u5f0f\u673a\u578b\uff0c2019 \u5e74\uff09\n- Mac mini\uff082018 \u5e74\uff09\n- MacBook Air\uff08\u89c6\u7f51\u819c\u663e\u793a\u5c4f\uff0c13 \u82f1\u5bf8\uff0c2020 \u5e74\uff09\n- MacBook Air\uff08\u89c6\u7f51\u819c\u663e\u793a\u5c4f\uff0c13 \u82f1\u5bf8\uff0c2019 \u5e74\uff09\n- MacBook Air\uff08\u89c6\u7f51\u819c\u663e\u793a\u5c4f\uff0c13 \u82f1\u5bf8\uff0c2018 \u5e74\uff09\n- MacBook Pro\uff0813 \u82f1\u5bf8\uff0c2020 \u5e74\uff0c\u4e24\u4e2a\u96f7\u96f3 3 \u7aef\u53e3\uff09\n- MacBook Pro\uff0813 \u82f1\u5bf8\uff0c2020 \u5e74\uff0c\u56db\u4e2a\u96f7\u96f3 3 \u7aef\u53e3\uff09\n- MacBook Pro\uff0816 \u82f1\u5bf8\uff0c2019 \u5e74\uff09\n- MacBook Pro\uff0813 \u82f1\u5bf8\uff0c2019 \u5e74\uff0c\u4e24\u4e2a\u96f7\u96f3 3 \u7aef\u53e3\uff09\n- MacBook Pro\uff0815 \u82f1\u5bf8\uff0c2019 \u5e74\uff09\n- MacBook Pro\uff0813 \u82f1\u5bf8\uff0c2019 \u5e74\uff0c\u56db\u4e2a\u96f7\u96f3 3 \u7aef\u53e3\uff09\n- MacBook Pro\uff0815 \u82f1\u5bf8\uff0c2018 \u5e74\uff09\n- MacBook Pro\uff0813 \u82f1\u5bf8\uff0c2018 \u5e74\uff0c\u56db\u4e2a\u96f7\u96f3 3 \u7aef\u53e3\uff09<\/code><\/pre>\n<h1>\u4e00\u4e9b\u95ee\u9898<\/h1>\n<ul>\n<li>\n<p>\u4e00\u4e9b\u5185\u6838\u7248\u672c\uff0c\u7279\u522b<code>5.8.x<\/code>\u662f<code>5.9.x<\/code>\u5df2\u77e5\u5b58\u5728\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p>\u65e0\u6cd5\u4f7f\u7528Mac\u542f\u52a8\u7ba1\u7406\u5668\u542f\u52a8GRUB \u3002\u5982\u679c\u65e0\u6cd5\u6210\u529f\u5f15\u5bfc\u8bf7\u53c2\u7167\u672c\u6559\u7a0b\u4e2d\u5728Macos\u4e2d\u5b89\u88c5rEFInd\u6765\u5f15\u5bfc\u5185\u6838\u3002<\/p>\n<\/li>\n<li>\n<p>\u6211\u53ef\u4ee5\u5b8c\u5168\u5220\u9664 macOS \u5417\uff1f<\/p>\n<p>\u6280\u672f\u4e0a\u5b8c\u5168\u53ef\u884c\uff0c\u4f46\u5efa\u8bae\u4f7f\u7528Macos\u548cLinux\u53cc\u91cd\u5f15\u5bfc\u3002<\/p>\n<p>\u56e0\u4e3a\uff1a<\/p>\n<ol>\n<li>\u5145\u5f53\u5907\u4efd\uff0c\u4ee5\u9632\u51fa\u73b0\u95ee\u9898\u3002<\/li>\n<li>macOS \u66f4\u65b0\u7684\u56fa\u4ef6\uff0c\u901a\u8fc7\u4e00\u4e9b\u624b\u6bb5\u53ef\u4ee5\u7528\u4e8eLinux\u3002<\/li>\n<\/ol>\n<ul>\n<li>\n<p>\u5982\u679c\u60a8\u5b8c\u5168\u5220\u9664 macOS\uff0c\u5efa\u8bae\u60a8<a href=\"https:\/\/support.apple.com\/en-us\/HT201372\">\u521b\u5efa\u4e00\u4e2a\u53ef\u542f\u52a8\u7684 macOS \u5b89\u88c5\u7a0b\u5e8f<\/a>\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u9009\u62e9\u6062\u590d macOS\u3002<\/p>\n<\/li>\n<li>\n<p>\u6216\u4f7f\u7528<a href=\"https:\/\/support.apple.com\/en-in\/HT204904\">Internet Recovery<\/a>\u91cd\u65b0\u5b89\u88c5 macOS\uff0c\u7f51\u7edc\u9700\u8981\u53ef\u9760\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u54ea\u4e9bLinux\u53d1\u884c\u7248\u53ef\u4ee5\u5b89\u88c5<\/h2>\n<pre><code>\u57fa\u4e8eDebian Ubuntu\n\u57fa\u4e8eArch Manjaro\n\u57fa\u4e8eRedhat Fedora\n....<\/code><\/pre>\n<p>\u200b<br \/>\n\u200b    \u867d\u7136\u4ece\u6280\u672f\u4e0a\u8bb2\uff0c\u5b89\u88c5 Linux\u5e76\u6ca1\u6709\u9650\u5236\uff0c\u4f46\u4e0d\u540c\u7684\u53d1\u884c\u7248\u786e\u5b9e\u63d0\u4f9b\u4e86\u4e0d\u540c\u7ea7\u522b\u7684\u6587\u6863\u3001\u6613\u7528\u6027\u548c\u95ee\u9898\u3002<\/p>\n<pre><code>\u672c\u6559\u7a0b\u63d0\u4f9bDebian\u3001Ubuntu\u3001Manjaro<\/code><\/pre>\n<h2>Debian\u5b89\u88c5\u6307\u5357<\/h2>\n<ol>\n<li>\n<p>\u5728 MacOS \u4e2d\u51cf\u5c0f mac \u5206\u533a\u7684\u5927\u5c0f<\/p>\n<ul>\n<li>HowTo\uff1a<a href=\"https:\/\/www.anyrecover.com\/hard-drive-recovery-data\/resize-partition-mac\/\">\u8c03\u6574 Mac \u5206\u533a\u5927\u5c0f\u7684\u6b65\u9aa4<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n<p><em>\u91cd\u8981<\/em>\uff1a\u5728\u78c1\u76d8\u6700\u540e\u5212\u5206200mb fat\u5206\u533a\uff0c\u7528\u4e8e\u5b58\u50a8debianT2\u5185\u6838\u4ee5\u53cafirmwware\u811a\u672c\u7b49\u3002<\/p>\n<ul>\n<li>\u4e0b\u8f7d\u5730\u5740\uff1a<br \/>\n<a href=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/iso-firmware.deb\" title=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/iso-firmware.deb\">iso-firmware.deb<\/a><br \/>\n<a href=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/iso-firmware.deb\" title=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/linux-headers-5.17.5-t2_5.17.5-1_amd64.deb\">linux-headers-5.17.5-t2_5.17.5-1_amd64.deb<\/a><br \/>\n<a href=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/iso-firmware.deb\" title=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/linux-image-5.17.5-t2_5.17.5-1_amd64.deb\">linux-image-5.17.5-t2_5.17.5-1_amd64.deb<\/a><br \/>\n<a href=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/iso-firmware.deb\" title=\"https:\/\/www.liangliang.org.cn\/wp-content\/uploads\/2022\/05\/mbp-debian\/linux-libc-dev_5.17.5-1_amd64.deb\">linux-libc-dev_5.17.5-1_amd64.deb<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5173\u95ed\u5b89\u5168\u542f\u52a8\u5e76\u5141\u8bb8\u4ece\u5916\u90e8\u5a92\u4f53\u542f\u52a8 - <a href=\"https:\/\/support.apple.com\/en-us\/HT208330\">https:\/\/support.apple.com\/en-us\/HT208330<\/a><\/p>\n<\/li>\n<li>\n<p>\u4e0b\u8f7ddebian iso - <a href=\"https:\/\/mirrors.163.com\/debian-cd\/\">https:\/\/mirrors.163.com\/debian-cd\/<\/a><\/p>\n<p>\u4f8b\u5982\uff1a<a href=\"https:\/\/mirrors.163.com\/debian-cd\/11.3.0-live\/amd64\/iso-hybrid\/debian-live-11.3.0-amd64-gnome.iso\">https:\/\/mirrors.163.com\/debian-cd\/11.3.0-live\/amd64\/iso-hybrid\/debian-live-11.3.0-amd64-gnome.iso<\/a><\/p>\n<ul>\n<li>\u68c0\u67e5\u63d0\u53d6\u7684 .ISO \u7684 SHA256 \u6821\u9a8c\u548c\uff0c\u4ee5\u9a8c\u8bc1\u60a8\u7684\u63d0\u53d6\u8fc7\u7a0b\u662f\u5426\u987a\u5229<\/li>\n<\/ul>\n<p>MacOS\uff1a<code>shasum -a 256 .iso debian-live-11.3.0-amd64-gnome.iso<\/code> Linux<code>sha256sum debian-live-11.3.0-amd64-gnome.iso<\/code> \u8bf7\u5c06\u5176sha256\u6587\u4ef6\u4e2d\u7684\u503c\u8fdb\u884c\u6bd4\u8f83\u3002<a href=\"https:\/\/mirrors.163.com\/debian-cd\/11.3.0-live\/amd64\/iso-hybrid\/SHA256SUMS\">https:\/\/mirrors.163.com\/debian-cd\/11.3.0-live\/amd64\/iso-hybrid\/SHA256SUMS<\/a><\/p>\n<\/li>\n<li>\n<p>\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5c06\u6620\u50cf\u523b\u5f55\u5230 U \u76d8 &gt;=8GB\uff1a<\/p>\n<h4>\u63a8\u8350\u4f7f\u7528etcher <a href=\"https:\/\/www.balena.io\/etcher\/\">https:\/\/www.balena.io\/etcher\/<\/a><\/h4>\n<ul>\n<li>\n<p><code>dd<\/code><\/p>\n<ul>\n<li>\n<p>Linux<code>sudo dd bs=4M if=\/home\/user\/Downloads\/debian-live-11.3.0-amd64-gnome.iso of=\/dev\/sdc conv=fdatasync status=progress<\/code><\/p>\n<\/li>\n<li>\n<p>\u82f9\u679c\u7cfb\u7edf<\/p>\n<\/li>\n<\/ul>\n<pre><code>diskutil list #\u627e\u5230\u54ea\u4e2a\u53f7\u7801\u6709USB \nsudo diskutil umountDisk \/dev\/diskX \nsudo dd bs=4096 if=debian-live-11.3.0-amd64-gnome.iso of=\/dev\/diskX<\/code><\/pre>\n<ul>\n<li>\u5982\u679c<code>dd<\/code>\u7531\u4e8e\u6709\u5404\u79cd\u67d0\u79cd\u539f\u56e0\u4e0d\u9002\u5408\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u901a\u8fc7\u5b89\u88c5<code>gdd<\/code>\u5e76<code>brew<\/code>\u6539\u7528 GNU<code>dd<\/code>\u547d\u4ee4<code>sudo gdd bs=4M if=debian-live-11.3.0-amd64-gnome.iso of=\/dev\/diskX conv=fdatasync status=progress<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Rufus (GPT)- <a href=\"https:\/\/rufus.ie\/\uff0c\u5982\u679c\u63d0\u793a\u4f7f\u7528\">https:\/\/rufus.ie\/\uff0c\u5982\u679c\u63d0\u793a\u4f7f\u7528<\/a> DD \u6a21\u5f0f<\/p>\n<\/li>\n<li>\n<p>\u8bf7\u4e0d\u8981\u4f7f\u7528 livecd-iso-to-disk\uff0c\u56e0\u4e3a\u5b83\u4f1a\u8986\u76d6 ISO \u9ed8\u8ba4 grub \u8bbe\u7f6e\uff0c\u5e76\u4e14 Ubuntu \u5c06\u65e0\u6cd5\u6b63\u786e\u542f\u52a8\uff01<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u63d0\u524d\u51c6\u5907\u597d........deb\u5185\u6838\u653e\u7f6e\u7b2c\u4e8c\u4e2au\u76d8\u6216efi\u5206\u533a\u3002<\/p>\n<\/li>\n<li>\n<p>\u5916\u63a5\u952e\u9f20<\/p>\n<\/li>\n<li>\n<p>\u4ee5\u6062\u590d\u6a21\u5f0f\u542f\u52a8\u5e76\u5141\u8bb8\u542f\u52a8\u672a\u77e5\u64cd\u4f5c\u7cfb\u7edf<\/p>\n<\/li>\n<li>\n<p>\u91cd\u542f\u5e76\u7acb\u5373\u6309\u4e0b\u9009\u9879\u952e\uff0c\u76f4\u5230\u51fa\u73b0Logo<\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9\u201cEFI Boot\u201d\uff08\u4e5f\u8bb8\u6709\u4e24\u4e2a\u9009\u62e9\u6700\u540e\u4e00\u4e2a\uff09<\/p>\n<\/li>\n<li>\n<p>\u542f\u52a8 Debian <\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5<\/p>\n<\/li>\n<li>\n<p><strong>[\u91cd\u8981]<\/strong>\u9009\u62e9\u9002\u5408\u60a8\u7684\u9009\u9879\u5e76\u4f7f\u7528\u4ee5\u4e0b\u8bbe\u7f6e\u8fdb\u884c\u5206\u533a\uff1a<\/p>\n<ul>\n<li>\u4fdd\u7559\u5b89\u88c5\u7a0b\u5e8f\u9884\u5148\u9009\u62e9\u7684 efi \u5f15\u5bfc\u3002\u60a8\u7684 Mac \u5c06\u7ee7\u7eed\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<li>\u6dfb\u52a0\u4e00\u4e2a ext4 \u5206\u533a\u5e76\u5b89\u88c5\u4e3a<code>\/boot<\/code>(1024MB)\u3002<\/li>\n<li>\u6dfb\u52a0\u4e00\u4e2a ext4 \u5206\u533a\u5e76 monted as <code>\/<\/code>(rest)\u3002<\/li>\n<li>\u9009\u62e9<code>\/boot<\/code>\u5206\u533a\u4f5c\u4e3a GRUB \u5b89\u88c5\u7684\u76ee\u6807\uff0c\u5426\u5219\u7cfb\u7edf\u5c06\u65e0\u6cd5\u542f\u52a8\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff08\u6211\u7684\u60c5\u51b5\u662f\u5728\u6784\u5efagrub\u65f6\u5019\u4f1a\u63d0\u793a\u5931\u8d25\uff0c\u5148\u4e0d\u7528\u7ba1\uff0c\u7b49\u540e\u7eed\u64cd\u4f5c\uff09<\/p>\n<\/li>\n<li>\n<p>\u542f\u52a8Console\uff0c\u53ef\u4ee5crtl+alt+f1.2.3.4.5.....<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5deb\u5185\u6838\u4e0d\u5b9afirwmare<\/p>\n<p>\/sbin\/fdisk -l<\/p>\n<p>\u627e\u5230\u4f60200mb fat\u5206\u533a<\/p>\n<pre><code>\/sbin\/fdisk -l\nmount \/dev\/xxxx \/mnt\nexport PATH=\/usr\/loca\/sbin:\/usr\/sbin:\/sbin:$PATH\ndpkg \/mnt\/*.deb\nreboot<\/code><\/pre>\n<\/li>\n<li>\n<p>\u91cd\u542f<\/p>\n<\/li>\n<li>\n<p>\u5173\u95ed\u5e76\u79fb\u9664 USB \u9a71\u52a8\u5668<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528Option\u952e\uff0c\u5f15\u5bfcMacos\u3002<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.liangliang.org.cn\/?p=4137\">macOS\u4e2d\u6784\u5efarEFInd Boot Manager<\/a> <\/p>\n<\/li>\n<li>\n<p>\u5229\u7528rEFInd\u542f\u52a8debian\u3002<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u5f15\u5bfc\u4e0d\u4e86\u8bf7\u8054\u7cfb\u7b14\u8005\u4ea4\u6d41\u95ee\u9898 gugong.j@foxmail.com<\/p>\n<\/li>\n<\/ol>\n<p>\u540e\u7eed\uff1a<\/p>\n<p>[ 2836.722627] evbug.c: Event. Dev: input5, Type: 4, Code: 4, Value: 156<br \/>\n[ 2836.722638] evbug.c: Event. Dev: input5, Type: 1, Code: 96, Value: 0<br \/>\n[ 2836.722645] evbug.c: Event. Dev: input5, Type: 0, Code: 0, Value: 0<\/p>\n<p>touch \/etc\/modprobe.d\/blacklist.conf<br \/>\ntail -n2 \/etc\/modprobe.d\/blacklist.conf<\/p>\n<h1>evbug<\/h1>\n<p>blacklist evbug<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u642d\u8f7dApple T2\u5b89\u5168\u82af\u7247\u7684Mac\u673a\u578b\u4e0a\u5b89\u88c5Linux \u914d\u5907 Apple T2 \u5b89\u5168\u82af\u7247\u7684\u7535\u8111\uff082018\u5e74\u4ee5\u540e\u7684x86\u673a\u578b\uff09 \u4e0b\u5217 Mac \u7535\u8111\u914d\u5907\u4e86 Apple T2 \u5b89\u5168\u82af\u7247\uff1a &#8211; iMac\uff08&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74,4,12,16],"tags":[],"class_list":["post-4139","post","type-post","status-publish","format-standard","hentry","category-arch","category-debian","category-linux-gnu","category-mac-os"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/4139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4139"}],"version-history":[{"count":2,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/4139\/revisions"}],"predecessor-version":[{"id":4141,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/4139\/revisions\/4141"}],"wp:attachment":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}