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

601 lines
22 KiB
HTML
Raw Permalink Normal View History

<!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
-->
<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 -->
<!-- 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 https://realfavicongenerator.net/ -->
<!-- hacks-guide change start: cookie consent, favicon, locales -->
<link rel="apple-touch-icon" sizes="180x180" href="/images/site-config/apple-touch-icon.png?v=PYEmwKvQAx">
<link rel="icon" type="image/png" href="/images/site-config/favicon-16x16.png?v=PYEmwKvQAx" sizes="16x16">
<link rel="icon" type="image/png" href="/images/site-config/favicon-32x32.png?v=PYEmwKvQAx" sizes="32x32">
<link rel="icon" type="image/png" href="/images/site-config/favicon-194x194.png?v=PYEmwKvQAx" sizes="194x194">
<link rel="icon" type="image/png" href="/images/site-config/android-chrome-192x192.png?v=PYEmwKvQAx" sizes="192x192">
<link rel="manifest" href="/images/site-config/manifest.json?v=PYEmwKvQAx">
<link rel="mask-icon" href="/images/site-config/safari-pinned-tab.svg?v=PYEmwKvQAx" color="#2E3440">
<link rel="shortcut icon" href="/images/site-config/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/site-config/mstile-144x144.png?v=PYEmwKvQAx">
<meta name="msapplication-config" content="/assets/xml/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>
<!-- hacks-guide change end -->
<!-- end custom head snippets -->
</head>
<!-- hacks-guide change start: Disable caching -->
<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">
<!-- hacks-guide change start: disable default masthead title -->
<!--
<a class="site-title" href="/">
3DS Hacks Guide
</a>
-->
<!-- hacks-guide change end -->
<ul class="visible-links">
<!-- hacks-guide change start: multi-language configuration -->
<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>
<!-- hacks-guide change end -->
</ul>
<!-- hacks-guide change start: Add language selector -->
<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>
<!-- hacks-guide change end -->
</nav>
</div>
</div>
</div>
<div class="initial-content">
<div id="main" role="main">
<!-- hacks-guide change start: Implement progress table, replace existing sidebar -->
<!--
<div class="sidebar sticky">
</div>
-->
<div class="sidebar sticky" style="display: none;">
<!-- hacks-guide change start: Refactor entire subsection to allow using translations -->
<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="installing-boot9strap-(mset9)"><a href='/zh_CN/installing-boot9strap-(mset9)'>Installing boot9strap (MSET9)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(mset9-cli)"><a href='/zh_CN/installing-boot9strap-(mset9-cli)'>Installing boot9strap (MSET9 CLI)</a></li>
<li style="display: none;" data-name="installing-boot9strap-(mset9-play-store)"><a href='/zh_CN/installing-boot9strap-(mset9-play-store)'>Installing boot9strap (MSET9 Play Store)</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="installing-boot9strap-(hardmod)"><a href='/zh_CN/installing-boot9strap-(hardmod)'>Installing boot9strap (Hardmod)</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-(safecerthax)"><a href='/zh_CN/installing-boot9strap-(safecerthax)'>Installing boot9strap (safecerthax)</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-(super-skaterhax)"><a href='/zh_CN/installing-boot9strap-(super-skaterhax)'>Installing boot9strap (super-skaterhax)</a></li>
<li style="display: none;" data-name="finalizing-setup"><a href='/zh_CN/finalizing-setup'>Finalizing Setup</a></li>
</ol>
</li>
</ul>
</nav>
<!-- hacks-guide change end -->
</div>
<!-- hacks-guide change end-->
<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">
<!-- hacks-guide change start -->
<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>
<!-- hacks-guide change end -->
<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>
<li><a href="#troubleshooting" id="markdown-toc-troubleshooting">Troubleshooting</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 or lower: <code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/(device name from above) -s 64 -F 16</code>
<ul>
<li>This creates a single FAT16 partition with 32 KB cluster size on the SD card</li>
</ul>
</li>
<li>4GB - 128GB: <code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/(device name from above) -s 64 -F 32</code>
<ul>
<li>This creates a single FAT32 partition with 32 KB cluster size on the SD card</li>
</ul>
</li>
<li>128GB or higher: <code class="language-plaintext highlighter-rouge">sudo mkfs.fat /dev/(device name from above) -s 128 -F 32</code>
<ul>
<li>This creates a single FAT32 partition with 64 KB cluster size on the SD card</li>
</ul>
</li>
</ul>
</li>
</ol>
<h3 id="troubleshooting">Troubleshooting</h3>
<ul>
<li>SD card remains undetected by console or continues to display the wrong capacity after formatting
<ul>
<li>Your SD card may be partitioned or have unallocated space. Follow the instructions <a href="https://wiki.hacks.guide/wiki/SD_Clean/Linux">here</a> to reformat your SD card.</li>
</ul>
</li>
</ul>
</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>
</ul>
</div>
<!-- hacks-guide change start: custom footer -->
<div class="page__footer-copyright">&copy; 2024 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>
<!-- hacks-guide change end -->
</footer>
</div>
<!-- hacks-guide change end -->
<script src="/assets/js/main.min.js"></script>
<!-- hacks-guide change start: Disable caching -->
<!-- hacks-guide change end -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-760Y60FQ3T"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-760Y60FQ3T', { 'anonymize_ip': false});
</script>
</body>
</html>