about summary refs log tree commit diff
path: root/nixos/doc/manual/installation
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2018-10-02 20:13:18 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2018-10-03 22:34:57 -0400
commit8192fcd0fdac8d17c5719994a0c60ae0bd1109ed (patch)
tree12bc39bacec86272634489916bfde1b43674f3fc /nixos/doc/manual/installation
parent2c0d56f00719f27533a3a1a89d2bd48710735a1e (diff)
downloadnixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar.gz
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar.bz2
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar.lz
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar.xz
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.tar.zst
nixlib-8192fcd0fdac8d17c5719994a0c60ae0bd1109ed.zip
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.
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r--nixos/doc/manual/installation/installing-usb.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/nixos/doc/manual/installation/installing-usb.xml b/nixos/doc/manual/installation/installing-usb.xml
index c5934111749c..4315eb5942b9 100644
--- a/nixos/doc/manual/installation/installing-usb.xml
+++ b/nixos/doc/manual/installation/installing-usb.xml
@@ -9,13 +9,12 @@
   For systems without CD drive, the NixOS live CD can be booted from a USB
   stick. You can use the <command>dd</command> utility to write the image:
   <command>dd if=<replaceable>path-to-image</replaceable>
-  of=<replaceable>/dev/sdb</replaceable></command>. Be careful about specifying
+  of=<replaceable>/dev/sdX</replaceable></command>. Be careful about specifying
   the correct drive; you can use the <command>lsblk</command> command to get a
   list of block devices.
- </para>
-
- <para>
-  On macOS:
+  <note>
+   <title>On macOS</title>
+   <para>
 <programlisting>
 $ diskutil list
 [..]
@@ -26,10 +25,12 @@ $ diskutil unmountDisk diskN
 Unmount of all volumes on diskN was successful
 $ sudo dd bs=1m if=nix.iso of=/dev/rdiskN
 </programlisting>
-  Using the 'raw' <command>rdiskN</command> device instead of
-  <command>diskN</command> completes in minutes instead of hours. After
-  <command>dd</command> completes, a GUI dialog "The disk you inserted was not
-  readable by this computer" will pop up, which can be ignored.
+    Using the 'raw' <command>rdiskN</command> device instead of
+    <command>diskN</command> completes in minutes instead of hours. After
+    <command>dd</command> completes, a GUI dialog "The disk you inserted was
+    not readable by this computer" will pop up, which can be ignored.
+   </para>
+  </note>
  </para>
 
  <para>