I can not see the disk device on my wsl ubuntu machine. can i get help with this issue?
I have tried multiple solutions online but non worked for me.
I tried running this command:
lsblk -f
on my wsl ubuntu machine both it keeps failing with this error below:
lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory
CodePudding user response:
Try opening your terminal and use either lsblk -a (the -a refers to all devices). You've said -f doesn't work so try another arg. Another option is to use sudo fdisk -l. fdisk is useful for formatting disks, the -l tag stands for list.
CodePudding user response:
I found an article that suggests this error can't be fixed since it's a wsl, not an actual Linux machine. Here's a reference!
