I am trying to access a usb device that I connect to my personal qube. I manage to connect the usb to personal qube by selecting to attach it in qubes devices however when I try to open it I get an error . Please see screenshot. Hoping you can help
What filesystem is used for this partition?
Check it using this command:
sudo file -sL /dev/xvdi1
You can also try to manually mount this partition:
How to use block storage devices | Qubes OS
is it in dom0 i should run the command to check?
In the personal qube.
the response i received was ‘’/DEV/XVDI1: CANNOT OPEN ‘/DEV/XVDI1’ (NO SUCH FILE OR DIRECTORY)
Did you attach your block device to the personal qube before running the command?
yes i did and i see it listed under “devices” in my personal qubes when i open the file manager
What’s the output of this command in the personal qube?
sudo fdisk -l
Do you see the /dev/xvdi device there?
when i run the command ‘sudo fdisk -1’ in personal cube the response is 'fdisk: invalid option – ‘1’ Try ‘fdisk --help’ for more information
There is a lower case L in the fdisk options, not 1 (one).
got it and i do not see /dev/xvdi .Instead i see /dev/xvdj which seems to be my usb stick
Then check the filesystem using this command:
sudo file -sL /dev/xvdj1
this is the response
user@personal:~$ sudo file -sL /dev/xvdj1
/dev/xvdj1: DOS/MBR boot sector, code offset 0x52+2, OEM-ID "NTFS ", sectors/cluster 8, Media descriptor 0xf8, sectors/track 63, heads 255, hidden sectors 2048, dos < 4.0 BootSector (0), FAT (1Y bit by descriptor); NTFS, sectors/track 63, physical drive 0x80, sectors 243402495, $MFT start cluster 786432, $MFTMirror start cluster 2, bytes/RecordSegment 2^(-1*246), clusters/index block 1, serial number 06e18630b1862d19f; contains bootstrap BOOTMGR
What’s the template of personal qube?
debian-12-xfce
Try to mount the partition manually in the personal qube:
cd ~
mkdir mnt
sudo mount /dev/xvdj1 mnt
ls mnt
user@personal:~$ cd ~
user@personal:~$ mkdir mnt
user@personal:~$ sudo mount /dev/xvdj1 mnt
$MFTMirr does not match $MFT (record 3).
Failed to mount ‘/dev/xvdj1’: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it’s a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation
for more details.
before i started having these issues i had attached the usb to an disposable qube that i download a file in theni copy file to my usb and the closed disp. after that the problems started as shown in the screenshot below where whenever i try to attach the usb to my personal qube it attaches but is unable to open giving the erro code displayed in screenshot
ok will check this out