Sep 14, 2023

External Drive on LInux

So im trying to get an external drive to be seen on the linux VM built into chromeOS for VSCode. No matter what I try it doesn't show when I go to open a folder. It is formatted as exFAT, which I recall should be compatible with debian. I shared it, installed fuse-exfat, tried NTFS format (I know, no chance that would've worked). I just don't know what I'm doing wrong.
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
Recommended Answer
Sep 15, 2023
Okay, yeah, as DennyL mentioned above, the Linux environment doesn't get direct access to any hardware devices (including storage drives) so it won't show up as an external drive within VSCode. There is a way to access the files/folders on those external devices though.

  • In the ChromeOS Files app, right-click on your external drive and select "Share with Linux". 
  • In the Linux development environment, that external drive will be mounted at /mnt/chromeos/removable/$drive_name.
  • You can then navigate to that location within VSCode's file/folder picker.
Diamond Product Expert DennyL recommended this
Helpful?
All Replies (2)
Sep 14, 2023
IGS
 
Have you tried adding a USB device?
It may be what's missing, open this URL: 
  • chrome://os-settings/crostini/sharedUsbDevices
Then see if the drive shows up when you click on 'Add' to the right of the line that starts with: 'USB devices'
 
~DennyL
Last edited Sep 14, 2023
Sep 14, 2023
Are you looking for the external drive to show up as an external drive within VSCode, or are you looking for it under the `/mnt/chromeos/removable` path?
Sep 14, 2023
when i click on open folder i expect to see my external drive show up in the more locations tab
Recommended Answer
Sep 15, 2023
Okay, yeah, as DennyL mentioned above, the Linux environment doesn't get direct access to any hardware devices (including storage drives) so it won't show up as an external drive within VSCode. There is a way to access the files/folders on those external devices though.

  • In the ChromeOS Files app, right-click on your external drive and select "Share with Linux". 
  • In the Linux development environment, that external drive will be mounted at /mnt/chromeos/removable/$drive_name.
  • You can then navigate to that location within VSCode's file/folder picker.
Diamond Product Expert DennyL recommended this
false
2792083083901995621
true
Search Help Center
true
true
true
true
true
208
Search
Clear search
Close search
Main menu
false
false