I am trying to copy the files on my ubuntu home directory to a USB flash drive. I am following these guidelines How to access a usb flash drive from the terminal?. When I run lsblk
I get lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory
. When I run sudo blkid
I get nothing. When I run fdisk -l
I get fdisk: cannot open /proc/partitions: No such file or directory
.When I run cd media
and ls
I get nothing. I also ran lsusb
, and I got unable to initialize libusb: -99
. Ran usb-devices
, got nothing. Same with dmesg | grep -i USB
.
Getting kinda desperate. Help would be much appreciated.
Update: I run mkdir /mnt/c
and sudo mount -t drvfs C: /mnt/c
then ls /mnt/c
and I got:
ls: cannot access 'DumpStack.log.tmp': Permission deniedls: cannot access 'hiberfil.sys': Permission deniedls: cannot access 'pagefile.sys': Permission deniedls: cannot access 'swapfile.sys': Permission denied'$Recycle.Bin' Intel ProgramData Users hpswsetup'$WinREAgent' OneDriveTemp Programas Windows pagefile.sys'Documents and Settings' PerfLogs Recovery adobeTemp swapfile.sys DumpStack.log 'Program Files''System Volume Information' hiberfil.sys DumpStack.log.tmp 'Program Files (x86)' System.sav hp
I guess what I did was mounting the whole windows system to WSL. How do I access my flash drive now?