NixOS Installation Guide/zh: Difference between revisions
I can't submit the translation with URL,even simply copy and paste fails.So I just submit a temporary one without URL. |
Created page with "* o (dos硬盘标签) * n new * p primary (4 primary in total) * 1 (分区编号[1/4]) * 2048 first sector (alignment for performance) * +500M last sector (引导扇区的大小) * rm signature (Y), if ex. => warning of overwriting existing system, could use wipefs * n * p * 2 * default (填满分区) * default (填满分区) * w (写入)" Tags: Mobile edit Mobile web edit |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 45: | Line 45: | ||
==== 在macOS上 ==== | ==== 在macOS上 ==== | ||
# 使用<code>diskutil list</code>找到正确的设备, 比如说<code><i>diskX</i></code>. | |||
# | # 使用<code>diskutil unmountDisk <i>diskX</i></code>取消挂载. | ||
# | # 使用<code>sudo dd if=<b>path_to_nixos.iso</b> of=/dev/<i>diskX</i></code>进行刻录 | ||
# | |||
{{tip|使用<code>rdiskX</code>而不是<code>diskX</code>可以大幅改变速度. 你可以在另一个终端里使用<code>iostat 2</code>检查写入速度.}} | |||
{{tip| | |||
<span id="From_Windows"></span> | <span id="From_Windows"></span> | ||
| Line 127: | Line 123: | ||
=== DOS === | === DOS === | ||
* o (dos硬盘标签) | |||
* o (dos | |||
* n new | * n new | ||
* p primary (4 primary in total) | * p primary (4 primary in total) | ||
* 1 ( | * 1 (分区编号[1/4]) | ||
* 2048 first sector (alignment for performance) | * 2048 first sector (alignment for performance) | ||
* +500M last sector ( | * +500M last sector (引导扇区的大小) | ||
* rm signature (Y), if ex. => warning of overwriting existing system, could use wipefs | * rm signature (Y), if ex. => warning of overwriting existing system, could use wipefs | ||
* n | * n | ||
* p | * p | ||
* 2 | * 2 | ||
* default ( | * default (填满分区) | ||
* default ( | * default (填满分区) | ||
* w ( | * w (写入) | ||
=== UEFI === | === UEFI === | ||