From 09788ca8e8f5507300f7fb56db0aa9021253aaeb Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 13 May 2010 17:28:12 +0000 Subject: [PATCH] StickMounting changed Initial content --- StickMounting.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 StickMounting.md diff --git a/StickMounting.md b/StickMounting.md new file mode 100644 index 00000000..fdc4fdb3 --- /dev/null +++ b/StickMounting.md @@ -0,0 +1,31 @@ +--- +layout: wiki +title: StickMounting +permalink: /wiki/StickMounting/ +--- + +This requires qubes-core-appvm-1.0.1 of higher. + +1. Insert your USB stick. + +1. In Dom0 konsole (running as normal user) do: + +``` {.wiki} +xm block-attach phy:/dev/sdb1 /dev/xvdi w +``` + +This assumes that your stick is seen by Dom0 kernel as **/dev/sdb** and you're mounting its first partition, so **/dev/sdb1** (the usual case). + +1. Open Dolphin file manager in the AppVM. Your stick should be visible in the "Places" panel on the left. Just click on the device. + +1. When you finish using your USB stick, right-click its icon in Dolphin and chose "Safely Remove \". + +1. Back to Dom0 konsole -- in order to unmount the stick do the following: + +``` {.wiki} +xm block-detach random /dev/xvdi +``` + +1. You can remove the device. + +Needless to say, we will be adding support for USB mounting to our GUI Qubes Manager so that the user will not need to use console in Dom0 -- just click a button. Coming soon, stay tuned!