What? Can I access a windows USB drive?

372 views
Skip to first unread message

elsieb...@gmail.com

unread,
Feb 7, 2017, 3:54:44 PM2/7/17
to qubes-users
What? Can I access a windows USB drive?

I really didn't want to add a windows vm, just wanted to get some of my stuff off from it. I found how to "add block devices", but after that I'm guessing it won't read windows file system...

I'm hoping there's an easy way to do this... ???

Andrew David Wong

unread,
Feb 8, 2017, 4:41:50 PM2/8/17
to elsieb...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2017-02-07 12:54, elsieb...@gmail.com wrote:
> What? Can I access a windows USB drive?
>

Yes.

> I really didn't want to add a windows vm, just wanted to get some
> of my stuff off from it. I found how to "add block devices", but
> after that I'm guessing it won't read windows file system...
>

No, it should work. "Windows filesystem" is typically NTFS, which
should be fine.

> I'm hoping there's an easy way to do this... ???
>

Yes, it should work rather easily. Please describe, in detail, (1)
what you expect to happen, (2) the exact steps you're performing in an
attempt to achieve (1), and (3) the actual results you're experiencing
instead of (1).

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYm5B1AAoJENtN07w5UDAwH4AQAI4TOw9F/5vaRnvj/ztZSNq4
yZVE64MVPZ51kls2nUxttEV6bTXrgUkSRz4EaMhIlXJtzLfeoNiVojUwnT77lAQ4
vIsBR2uS+eNQgG5M8fw6EIIva7DrQMMaPI7gt37s7BWJCg4mrBj15B0ra+5z3qd5
B0J70WBptIe2qB0FYaNqB1FiwV+sgzMf+kNZGMGPa0lscv4wlROaiVFKGDi6G+0R
SsuWB1mPTJb+A+e1SbBbpp4Kn7vrKHFul+3Ks9MX7p9sBltzzuV4Pinm33oUd59M
cvY77DhkRCf+lgFCNl+2+xbWcDMo84R1/XIFnLutsk1SK0aZaAs5pMMbwA3PgWjZ
bR2iX9clUpLu7xKrfkqpMJMZK/EtvGrIJPtPjq2iKuMd9dBIdvObtK0anhtRfWW5
TbYtt1qH6N2f18WSwDfBCNSNr8Wi0aS/HWPkqX5UCWUDf/0RoXXg3Xc+ZlYH5W6Q
NzMS0O8Xx7ZAojhUDjTsAsMYr82ulO2yeYF5QKj08m8P/UQkwGOAu8TvzbI1l2l+
WzJ5w7swYCU2Sr4YqwOp2iSaCoeZkrmeD5JfT9h6nNgwzh5Y+cWWvpywVzBuOm4o
4g3HkVcMGu3kEnClN6RscUdephUIy+B3GJygvae8/6xptTqGxGj0RyGnHG1y+suv
4bB/IyuLLc5QYJWhMUbZ
=sg2Q
-----END PGP SIGNATURE-----

Jean-Philippe Ouellet

unread,
Feb 8, 2017, 5:33:33 PM2/8/17
to elsieb...@gmail.com, qubes-users
If you install fuse-exfat (from the rpmfusion-free repo) in the
template used by sys-usb, then Nautilus (the default file manager)
should be able to auto-mount them and they should Just Work(TM). At
least... this worked for me.

Chris Laprise

unread,
Feb 9, 2017, 1:30:00 AM2/9/17
to elsieb...@gmail.com, qubes-users
After you attached it, did you check in Files/Nautilus?

Chris

elsieb...@gmail.com

unread,
Feb 9, 2017, 11:09:08 AM2/9/17
to qubes-users, elsieb...@gmail.com
I right clicked (Q manager) work vm left clicked attached block devices. Opened files (work vm) and this time I couldn't even find the drive. Last time I found the drive, but couldn't access the contents.

Andrew David Wong

unread,
Feb 9, 2017, 8:42:22 PM2/9/17
to elsieb...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Instead of using Qubes Manager to attach it, try just opening Nautilus
in your USB qube. It should appear automatically in the side bar or
under "Other Locations." At least, this is what happens when I plug in
an NTFS-formatted drive. (Actually, it should also work in the same
way using qvm-block, but the let's try to eliminate some variables.)

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYnRpuAAoJENtN07w5UDAwZe8P/A0UlSRG9cZl+dQ3K3Km0Icy
dF0fUgxqVTK9P0NDayFRpcyQvWwl5Ns4oC6wapg+lCFhsSRCHxZkcFKrh9qhahdH
k35HaUxILzO76hCrmzZmdjnuEVDYno/THe4sckeR3qDsJG0v4azoJoAuikrwuVVf
co234EV5sNmT9Ao+dHaR5PMH2xt/ibcDgPs8TRHdc3TvzSAWMUQGjPA3Y15ujyc4
XTuVrVqTopG5I7JDniKX4QU/K8tz7QTabp8+dpVAAoClAvylaGPDdNV+QUbRrdPu
02dR5WRH2+cYZtVzS2IqdmFvtwEUDdZUvUy6ErcwzDvfqzDVXY+TgftqJNSCGYEy
Wi17ffKcOxQM53wcG21YyIwe8KrG3pU0OLCme/aXUq63BTWxijmcdGBhX9dYWFYf
5Lorq4tsyQU55xS+w7brbUqXS4gXH4J7qE7rk1T42OpEDP+XnCzT6h4+Ju1VCvi5
9vMGXAFxn8rQ6RjiRm+Jf+3MrAKt1acK6FtHBWdfGs29t/612AoeSj5HUoSSCuck
ot0Vsiwa4vDeZU+lQQ1pDGsU7mcJRhkBt7v8incOtgnFN0xq+6mXtNMCwOnuSLkY
h4iW2IQsHMM4egeBp0FLXC4F+z5pQ4WRRadrkKGy+jzSSFsyOFThracuU9pf2Sjr
Ma0FYFl6nJi1gezLqmJx
=Wql9
-----END PGP SIGNATURE-----

raah...@gmail.com

unread,
Feb 10, 2017, 12:38:24 PM2/10/17
to qubes-users, elsieb...@gmail.com
Yes go to sys-usb in the start menu and select files.

elsieb...@gmail.com

unread,
Feb 11, 2017, 6:17:16 PM2/11/17
to qubes-users, elsieb...@gmail.com
Ok, did that. What I get is

Computer
TI10673200G /dev/sda4

Networks
Windows Network

When I left click TI106(...) I get nothing. When I right click, the menu says open, open in a new tab, open in a new window, and Mount. Nothing happened.

What should I try now?

elsieb...@gmail.com

unread,
Feb 12, 2017, 12:56:43 PM2/12/17
to qubes-users
I'm still stuck here... anyone?

Unman

unread,
Feb 12, 2017, 2:43:51 PM2/12/17
to elsieb...@gmail.com, qubes-users
On Sun, Feb 12, 2017 at 09:56:43AM -0800, elsieb...@gmail.com wrote:
> I'm still stuck here... anyone?
>

You really haven't given enough information for anyone to help you.
I'm going to assume that you are using a default install of Qubes: your
sys-usb is based on Fedora-23, and the qube you want to use the drive
in is also based on the same template. Please correct me if this isn't
correct.

There's no such thing as a "windows USB drive". I assume you mean a drive
that you used on Windows. You may or may not have formatted the drive:
I don't know because you haven't told us.

Drives for use on Windows can be formatted using various filesystems:
FAT32, NTFS , EXFAT among them.
I don't know what you have. Perhaps you don't know.
We can find out.

You say you know to attach the drive to a qube. Open a terminal in the
target qube,and attach the USB drive.
Then type 'dmesg' (without the quotes)
You should see lots of stuff in the terminal, ending with some lines
that say something like "blkfront: xvdi .....". If you don't see this
then the drive hasn't been attached to the qube.
The "xvdi" bit shows the device name that's been allocated to the USB.

Now type in "sudo cfdisk /dev/xvdi"(Or whatever device name you have)
This will show you the partitions on the USB stick and how they are
formatted. Take note.
Quit from cfdisk.

Open nautilus in the target qube, and look under "Other Locations" You
should see the drives from the USB stick there.
FAT32 partitions should just load in nautilus out of the box.
So should NTFS partitions.
If you have EXFAT format, then as Jean-Philippe has said, you will need
to install extra packages in the template. If you need help with this,
please ask.

If you don't see ANY device or Id Type in cfdisk, then it's possible your
drive is encrypted and you didn't realise(because it "just worked" under
Windows. That's a separate issue but also solvable.

So try this and report back what you find.






Reply all
Reply to author
Forward
0 new messages