Guide_3DS/zh_CN/formatting-sd-(linux).html

581 lines
21 KiB
HTML
Raw 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>
<!--
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
<!-- for guide purposes all caching is removed and is separately built. -->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!-- begin _includes/seo.html --><title>格式化 SD 卡(通过 Linux 操作系统) - 3DS Hacks Guide</title>
<meta name="description" content="A complete guide to 3DS custom firmware">
<meta name="author" content="Nintendo Homebrew">
<meta property="og:type" content="website">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="3DS Hacks Guide">
<meta property="og:title" content="格式化 SD 卡(通过 Linux 操作系统)">
<meta property="og:url" content="https://3ds.hacks.guide/zh_CN/formatting-sd-(linux).html">
<meta property="og:description" content="A complete guide to 3DS custom firmware">
<link rel="canonical" href="https://3ds.hacks.guide/zh_CN/formatting-sd-(linux).html">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Nintendo Homebrew",
"url": "https://3ds.hacks.guide/"
}
</script>
<meta name="google-site-verification" content="jVXoPK_-qzKJp4SScnZYpOIX3yDXfGnAoTBJYixUOwg" />
<meta name="msvalidate.01" content="F3532011519E308583A0A2CAF2DD69E8">
<!-- end _includes/seo.html -->
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="3DS Hacks Guide Feed">
<!-- https://t.co/dKP3o1e -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
</script>
<!-- For all browsers -->
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css"></noscript>
<!-- start custom head snippets -->
<!-- insert favicons. use http://realfavicongenerator.net/ -->
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png?v=PYEmwKvQAx">
<link rel="icon" type="image/png" href="/images/favicon-32x32.png?v=PYEmwKvQAx" sizes="32x32">
<link rel="icon" type="image/png" href="/images/favicon-194x194.png?v=PYEmwKvQAx" sizes="194x194">
<link rel="icon" type="image/png" href="/images/android-chrome-192x192.png?v=PYEmwKvQAx" sizes="192x192">
<link rel="icon" type="image/png" href="/images/favicon-16x16.png?v=PYEmwKvQAx" sizes="16x16">
<link rel="manifest" href="/images/manifest.json?v=PYEmwKvQAx">
<link rel="mask-icon" href="/images/safari-pinned-tab.svg?v=PYEmwKvQAx" color="#2E3440">
<link rel="shortcut icon" href="/images/favicon.ico?v=PYEmwKvQAx">
<meta name="apple-mobile-web-app-title" content="Guide">
<meta name="application-name" content="Guide">
<meta name="msapplication-TileColor" content="#2E3440">
<meta name="msapplication-TileImage" content="/images/mstile-144x144.png?v=PYEmwKvQAx">
<meta name="msapplication-config" content="/images/browserconfig.xml?v=PYEmwKvQAx">
<meta name="theme-color" content="#2E3440">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css" integrity="sha512-LQ97camar/lOliT/MqjcQs5kWgy6Qz/cCRzzRzUCfv0fotsCTC9ZHXaPQmJV8Xu/PVALfJZ7BDezl5lW3/qBxg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js" integrity="sha512-yXXqOFjdjHNH1GND+1EO0jbvvebABpzGKD66djnUfiKlYME5HGMUJHoCaeE4D5PTG2YsSJf6dwqyUUvQvS0vaA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#2e3440"
},
"button": {
"background": "#60818f"
}
},
"theme": "edgeless",
"position": "top",
"static": true,
"content": {
"message": "本网站利用cookies在侧边栏上显示当前的操作进度并改善此站点的使用体验。"
}
})});
</script>
<!-- end custom head snippets -->
</head>
<body class="layout--single">
<nav class="skip-links">
<ul>
<li><a href="#site-nav" class="screen-reader-shortcut">Skip to primary navigation</a></li>
<li><a href="#main" class="screen-reader-shortcut">Skip to content</a></li>
<li><a href="#footer" class="screen-reader-shortcut">Skip to footer</a></li>
</ul>
</nav>
<!--[if lt IE 9]>
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
<![endif]-->
<div class="masthead">
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
<!-- <a class="site-title" href="/">
3DS Hacks Guide
</a>
-->
<ul class="visible-links">
<!-- modified to use multilang, guide-specific -->
<li class="masthead__menu-item masthead__menu-item--lg"><a href="/zh_CN/">主页</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/faq">常见问题</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/troubleshooting">问题排查</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/checking-for-cfw">检查自制固件</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/godmode9-usage">GodMode9 使用教程</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/contribute">捐助</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/region-changing">区域变更</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/uninstall-cfw">卸载自制固件</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/credits">致谢</a></li>
<li class="masthead__menu-item"><a href="/zh_CN/site-navigation">网站导航</a></li>
<!-- end guide specific -->
</ul>
<!-- completely redo hidden links for multilang, guide-specific -->
<ul class="hidden-links links-menu hidden"></ul>
<ul class="hidden-links lang-menu hidden">
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/formatting-sd-(linux).html">English</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/es_ES/formatting-sd-(linux).html">Español</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/de_DE/formatting-sd-(linux).html">Deutsch</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/fr_FR/formatting-sd-(linux).html">Français</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/it_IT/formatting-sd-(linux).html">Italiano</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/nl_NL/formatting-sd-(linux).html">Nederlands</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/pt_BR/formatting-sd-(linux).html">Português do Brasil</a></li>
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/pt_PT/formatting-sd-(linux).html">Português (Portugal)</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ru_RU/formatting-sd-(linux).html">Русский</a></li> -->
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/zh_CN/formatting-sd-(linux).html">简体中文</a></li>
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/zh_TW/formatting-sd-(linux).html">繁體中文</a></li>
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/pl_PL/formatting-sd-(linux).html">Polski</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/tr_TR/formatting-sd-(linux).html">Türkçe</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/vi_VN/formatting-sd-(linux).html">Tiếng Việt</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ca_ES/formatting-sd-(linux).html">Català</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/el_GR/formatting-sd-(linux).html">Ελληνικά</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/he_IL/formatting-sd-(linux).html">עברית‎</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/sv_SE/formatting-sd-(linux).html">Svenska</a></li> -->
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ko_KR/formatting-sd-(linux).html">한국어</a></li>
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/no_NO/formatting-sd-(linux).html">Norsk</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ja_JP/formatting-sd-(linux).html">日本語</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ar_SA/formatting-sd-(linux).html">اللغة العربية</a></li> -->
<li class="masthead__menu-item"><a href="https://3ds.hacks.guide/hu_HU/formatting-sd-(linux).html">Magyar</a></li>
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ro_RO/formatting-sd-(linux).html">Română</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/sr_SP/formatting-sd-(linux).html">Српски</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/af_ZA/formatting-sd-(linux).html">Afrikaans</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/ms_MY/formatting-sd-(linux).html">Bahasa Melayu</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/fi_FI/formatting-sd-(linux).html">Suomi</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/da_DK/formatting-sd-(linux).html">Dansk</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/uk_UA/formatting-sd-(linux).html">Українська</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/cs_CZ/formatting-sd-(linux).html">Čeština</a></li> -->
<!-- <li class="masthead__menu-item"><a href="https://3ds.hacks.guide/en_PT/formatting-sd-(linux).html">Pirate English</a></li> -->
</ul>
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">Toggle Menu</span>
<div class="navicon"></div>
</button>
<button class="greedy-nav__toggle_lang"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
</nav>
</div>
</div>
</div>
<div class="initial-content">
<div id="main" role="main">
<!--
<div class="sidebar sticky">
</div>
-->
<div class="sidebar sticky" style="display: none;">
<nav class="nav__list">
<input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">Toggle Menu</label>
<ul class="nav__items">
<li>
<span class="nav__sub-title">总进度</span>
<ol>
<li style="display: none;" data-name="home"><a href='/zh_CN/'>主页</a></li>
<li style="display: none;" data-name="key-information"><a href='/zh_CN/key-information'>Key Information</a></li>
<li style="display: none;" data-name="get-started"><a href='/zh_CN/get-started'>Get Started</a></li>
<li style="display: none;" data-name="ntrboot"><a href='/zh_CN/ntrboot'>ntrboot</a></li>
<li style="display: none;" data-name="seedminer"><a href='/zh_CN/seedminer'>Seedminer</a></li>
<li style="display: none;" data-name="seedminer-(twn)"><a href='/zh_CN/seedminer-(twn)'>Seedminer (TWN)</a></li>
<li style="display: none;" data-name="bannerbomb3"><a href='/zh_CN/bannerbomb3'>BannerBomb3</a></li>
<li style="display: none;" data-name="multiple-options"><i>(Multiple Options)</i></li>
<li style="display: none;" data-name="flashing-ntrboot-(3ds-single-system)"><a href='/zh_CN/flashing-ntrboot-(3ds-single-system)'>Flashing ntrboot (3DS Single System)</a></li>
<li style="display: none;" data-name="flashing-ntrboot-(3ds-multi-system)"><a href='/zh_CN/flashing-ntrboot-(3ds-multi-system)'>Flashing ntrboot (3DS Multi System)</a></li>
<li style="display: none;" data-name="flashing-ntrboot-(dsi)"><a href='/zh_CN/flashing-ntrboot-(dsi)'>Flashing ntrboot (DSi)</a></li>
<li style="display: none;" data-name="flashing-ntrboot-(nds)"><a href='/zh_CN/flashing-ntrboot-(nds)'>Flashing ntrboot (NDS)</a></li>
<li style="display: none;" data-name="homebrew-launcher-(pichaxx)"><a href='/zh_CN/homebrew-launcher-(pichaxx)'>Homebrew Launcher (PicHaxx)</a></li>
<li style="display: none;" data-name="bannerbomb3-fredtool-(twn)"><a href='/zh_CN/bannerbomb3-fredtool-(twn)'>BannerBomb3 + Fredtool (TWN)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(hardmod)"><a href='/zh_CN/installing-boot9strap-(hardmod)'>Installing boot9strap (Hardmod)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(hbl-usm)"><a href='/zh_CN/installing-boot9strap-(hbl-usm)'>Installing boot9strap (HBL-USM)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(ntrboot)"><a href='/zh_CN/installing-boot9strap-(ntrboot)'>Installing boot9strap (ntrboot)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(soundhax)"><a href='/zh_CN/installing-boot9strap-(soundhax)'>Installing boot9strap (Soundhax)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(ssloth-browser)"><a href='/zh_CN/installing-boot9strap-(ssloth-browser)'>Installing boot9strap (SSLoth-Browser)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(fredtool)"><a href='/zh_CN/installing-boot9strap-(fredtool)'>Installing boot9strap (Fredtool)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(usm)"><a href='/zh_CN/installing-boot9strap-(usm)'>Installing boot9strap (USM)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(kartdlphax)"><a href='/zh_CN/installing-boot9strap-(kartdlphax)'>Installing boot9strap (kartdlphax)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(hbl-usm)"><a href='/zh_CN/installing-boot9strap-(hbl-usm)'>Installing boot9strap (HBL-USM)</a></li>
<li style="display: none;" data-name="finalizing-setup"><a href='/zh_CN/finalizing-setup'>Finalizing Setup</a></li>
</ol>
</li>
</ul>
</nav>
</div>
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<meta itemprop="headline" content="格式化 SD 卡(通过 Linux 操作系统)">
<div class="page__inner-wrap">
<header>
<h1 id="page-title" class="page__title" itemprop="headline">格式化 SD 卡(通过 Linux 操作系统)
</h1>
</header>
<section class="page__content" itemprop="text">
<hr>
<div class ="notice"><b>如果有疑问并且懂英语的话,可以到 <a href="https://discord.gg/MWxPgEp">Nintendo Homebrew Discord 服务器</a>上使用英文寻求帮助。(请注意,如果你身处中国大陆,你可能需要通过科学上网来访问 Discord
你也可以到译者的 <a href="https://stray-soul.site/index.php/qqgroup">QQ 群</a>寻求帮助,群号为 942052497。</b></div>
<div class ="notice"><b>如果你喜欢我们的教程,可以通过<a href="contribute#donations">捐赠</a>支持我们。</b></div>
<hr>
<aside class="sidebar__right">
<nav class="toc">
<header><h4 class="nav__title"><i class="fas fa-file-alt"></i> 目录内容</h4></header>
<ul class="toc__menu" id="markdown-toc">
<li><a href="#重要事项" id="markdown-toc-重要事项">重要事项</a></li>
<li><a href="#操作步骤" id="markdown-toc-操作步骤">操作步骤</a></li>
</ul>
</nav>
</aside>
<h3 id="重要事项">重要事项</h3>
<p>这是一个适用于为 3DS 准备的 SD 卡的格式化教程。</p>
<p>如果 3DS 已经识别到了 SD 卡,那么就不需要做这个教程了。</p>
<p>本页教程仅限 Linux 用户。 如果你没有在用 Linux那么请看<a href="formatting-sd-(windows)">格式化 SD 卡(通过 Windows 操作系统)</a><a href="formatting-sd-(mac)">格式化 SD 卡(通过 Mac 操作系统)</a></p>
<h3 id="操作步骤">操作步骤</h3>
<ol>
<li>请确保你的 SD 卡 <strong></strong> 被插入电脑</li>
<li>启动 Linux 终端</li>
<li>输入 <code class="language-plaintext highlighter-rouge">watch "lsblk"</code></li>
<li>将 SD 卡插入你的电脑</li>
<li>查看终端输出内容。 输出内容应该与以下内容相似:
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 3,8G 0 disk
└─mmcblk0p1 179:1 0 3,7G 0 part /run/media/user/FFFF-FFFF
</code></pre></div> </div>
</li>
<li>注意设备名。 在我们上面的示例中,它是 <code class="language-plaintext highlighter-rouge">mmcblk0p1</code>
<ul>
<li>如果 <code class="language-plaintext highlighter-rouge">RO</code> 为 1请确保写保护开关未被打开</li>
</ul>
</li>
<li>按下 CTRL + C 退出菜单</li>
<li>根据 SD 卡的容量输入以下信息:
<ul>
<li>2GB 及以下:<code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/&lt;先前获取到的设备名称&gt; -s 64 -F 16</code>
<ul>
<li>这将创建一个 32 KB 簇大小的 FAT16 分区</li>
</ul>
</li>
<li>4GB 至 128GB<code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/&lt;先前获取到的设备名称&gt; -s 64 -F 32</code>
<ul>
<li>这将创建一个 32 KB 簇大小的 FAT32 分区</li>
</ul>
</li>
<li>128GB 及更高:<code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/&lt;先前获取到的设备名称&gt; -s 128 -F 32</code>
<ul>
<li>这将创建一个 64 KB 簇大小的 FAT32 分区</li>
</ul>
</li>
</ul>
</li>
</ol>
</section>
<footer class="page__meta">
</footer>
</div>
</article>
</div>
</div>
<div id="footer" class="page__footer">
<footer>
<!-- start custom footer snippets -->
<!-- end custom footer snippets -->
<div class="page__footer-follow">
<ul class="social-icons">
<li><strong>Follow:</strong></li>
<li><a href="https://github.com/hacks-guide/Guide_3DS" rel="nofollow noopener noreferrer"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
<!--
<li><a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li>
</ul>
-->
</div>
<!-- custom footer, guide specific -->
<div class="page__footer-copyright">&copy; 2023 Nintendo Homebrew. - <a href="site-navigation">网站导航</a> - <a href="privacy-policy">隐私政策</a> <!-- Powered by <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
</footer>
</div>
<script src="/assets/js/main.min.js"></script>
<!-- for guide purposes all caching is removed and is separately built. -->
</body>
</html>