git.iko.soy/typeable/nixpkgs
on master help sign in
doc: installing-usb make macOS note a note.

While it seemingly brings more attention to the macOS notes with the default docbook template, it better represents which parts of the section are about macOS, and which parts are simply in the flow of the text; otherwise the last paragraph may be lost into the details for macOS.

commit8192fcd0fdac8d17c5719994a0c60ae0bd1109ed authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateTue 2 Oct 2018, 20:13 (8 years ago) parent2c0d56f
1 file changed+10−9
nixos/doc/manual/installation/installing-usb.xml+10−9
nixos/doc/manual/installation/installing-usb.xml+10−9
@@ -9,13 +9,12 @@
99 For systems without CD drive, the NixOS live CD can be booted from a USB
1010 stick. You can use the <command>dd</command> utility to write the image:
1111 <command>dd if=<replaceable>path-to-image</replaceable>
12− of=<replaceable>/dev/sdb</replaceable></command>. Be careful about specifying
12+ of=<replaceable>/dev/sdX</replaceable></command>. Be careful about specifying
1313 the correct drive; you can use the <command>lsblk</command> command to get a
1414 list of block devices.
15− </para>
16−
17− <para>
18− On macOS:
15+ <note>
16+ <title>On macOS</title>
17+ <para>
1918<programlisting>
2019$ diskutil list
2120[..]
@@ -26,10 +25,12 @@ $ diskutil unmountDisk diskN
2625Unmount of all volumes on diskN was successful
2726$ sudo dd bs=1m if=nix.iso of=/dev/rdiskN
2827</programlisting>
29− Using the 'raw' <command>rdiskN</command> device instead of
30− <command>diskN</command> completes in minutes instead of hours. After
31− <command>dd</command> completes, a GUI dialog "The disk you inserted was not
32− readable by this computer" will pop up, which can be ignored.
28+ Using the 'raw' <command>rdiskN</command> device instead of
29+ <command>diskN</command> completes in minutes instead of hours. After
30+ <command>dd</command> completes, a GUI dialog "The disk you inserted was
31+ not readable by this computer" will pop up, which can be ignored.
32+ </para>
33+ </note>
3334 </para>
3435
3536 <para>