about summary refs log tree commit diff
path: root/nixos/doc/manual/installation
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-10-27 16:08:20 +0200
committerJörg Thalheim <joerg@thalheim.io>2023-10-27 16:08:26 +0200
commit3c2efe61dc6a6919e667bf70616da7819352431f (patch)
treed37f5660c04312a626f41b4f15cb0c565d69888e /nixos/doc/manual/installation
parent7f7c22b3470bb6e09f6e782764c2064731afcb55 (diff)
docs/installation-usb: add more flags to dd
oflag=direct is faster for writing because it by-passes the page cache
status=progress shows speed and progress
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r--nixos/doc/manual/installation/installing-usb.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/installing-usb.section.md b/nixos/doc/manual/installation/installing-usb.section.md
index adfe22ea2f00e..3b9e2f492f04d 100644
--- a/nixos/doc/manual/installation/installing-usb.section.md
+++ b/nixos/doc/manual/installation/installing-usb.section.md
@@ -35,7 +35,7 @@ select the image, select the USB flash drive and click "Write".
 4. Then use the `dd` utility to write the image to the USB flash drive.
 
   ```ShellSession
-  sudo dd if=<path-to-image> of=/dev/sdX bs=4M conv=fsync
+  sudo dd bs=4M conv=fsync oflag=direct status=progress if=<path-to-image> of=/dev/sdX
   ```
 
 ## Creating bootable USB flash drive from a Terminal on macOS {#sec-booting-from-usb-macos}