diff --git a/StickMounting.md b/StickMounting.md index 83d1a342..4e3bddc8 100644 --- a/StickMounting.md +++ b/StickMounting.md @@ -24,13 +24,17 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as qvm-block -l {% endhighlight %} -> This will list all available block devices connected to any USB controller in your system, no matter in which VM hosts the controller. The name of the VM hosting the USB controller is displayed before the colon in the device name. The string after the colon is the name of the device used within the VM. + This will list all available block devices connected to any USB controller + in your system, no matter in which VM hosts the controller. The name of the + VM hosting the USB controller is displayed before the colon in the device + name. The string after the colon is the name of the device used within the + VM. -> **Note:** If your device is not listed here, you may refresh the list by calling (from the VM to which device is connected): -> -> {% highlight trac-wiki %} -> sudo udevadm trigger --action=change -> {% endhighlight %} + **Note:** If your device is not listed here, you may refresh the list by calling (from the VM to which device is connected): + + {% highlight trac-wiki %} + sudo udevadm trigger --action=change + {% endhighlight %} 1. Connect the device to an AppVM: @@ -40,17 +44,20 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as **Note:** The order of these parameters was changed in Qubes 1.0-rc1. -> This will attach the device as "/dev/xvdi" in the AppVM. + This will attach the device as "/dev/xvdi" in the AppVM. 1. The USB stick is now attached to the AppVM. If using a default AppVM, you may open Nautilus file manager in the AppVM, and your stick should be visible in the **Devices** panel on the left. 1. When you finish using your USB stick, click the eject button or right-click and select **Unmount**. -1. In a dom0 console, unmount the stick: +1. In a dom0 console, detach the stick: -{% highlight trac-wiki %} -qvm-block -d -{% endhighlight %} + {% highlight trac-wiki %} + qvm-block -d + {% endhighlight %} 1. You may now remove the device. +**Warning: Do not remove the device before detatching it from the VM!** Otherwise you +will not be able to attach it anywhere later. See [this +ticket](https://github.com/QubesOS/qubes-issues/issues/1082) for details.