I have a Ubuntu 18.04 virtual box running inside a Windows 10 64-bit.
I want to access my encrypted external ext4-harddrives in that virtual box. Sadly, Windows doesn’t support ext4, and the tools that are on the market (Ext2Fsd for example) no longer work on the newer Windows-10 installations.
As to be expected, Windows doesn’t see that disk, not in the File Explorer, not in the Storage settings. Nowhere actually.
Luckily, VirtualBox has a somewhat hidden option that can even make encrypted ext4-drives visible inside the box. You do need to install the Virtual Box extension pack first.
- Go the the settings of the Virtual Box. Select "USB" in the left menu.
- If the hard drive is connected through a USB 2-port, choose the "USB 2-interface". If it’s connected through a USB3-port (the blue ones), select "USB 3-interface".
- Click on the little plus-button in the right column. It shows all the USB attached peripherals, including external harddrives.
- Search your harddisk in the list. It could be its name is rather cryptical. It won’t say "Samsung harddisk", but something like "ASMT" or any other name you’ve name heard of.
If you’re not sure of the name of the harddisk. Plug it out, and see what item disappears in the list.
Once you found it, select it, and (re)start your box. You should be able to access it through the Ubuntu file explorer!