0

Background:

Host OS: Windows 10 Professional Guest OS: Ubuntu 20.04

Host OS: I am able to add files, edit files and add folders. Verified that SD card is read and write card

Guest OS: I am able to mount and unmount the card. Able to read the changes in the text file made by host OS. Can add new files in the directory using "sudo" but the changes are not reflected back to Host OS. Also changes are lost as soon as the drive is unmounted. I can save the modifications made in the text files but these are not seen in host OS and all the changes are lost as soon as disk is unmounted

How everything was done?

Let me give you quick run down of what I have done:

  1. Making sure that SD Card is read and write.

    • Type DISKPART in windows search
    • Run DISKPART.exe
    • Type "LIST DISK"
    • Note down the disk number I am interested in
    • SELECT Disk
    • Type "ATTRIBUTES DISK"
    • Current Read-only State : No
    • Read Only: No
    • OFFLINE DISK. This is where I get the error and I am not able to take the disk offline
  2. Make sure Virtual Box is run as an administrator.

  3. Create VMDK disk: Followed the instructions over here:

  4. Assign the VMDK disk and set it writethrough

    • Followed steps 2 and 3 mentioned in the top answer over here.
    • Command line options:
      • Type "C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyhd "destn\path\sdcard.vmdk" settype writethrough
      • Type "C:\Program Files\Oracle\VirtualBox\VBoxManage" storageattach --storagectl SATA --device 0 --port 0 --type hdd --medium "destn\path\sdcard.vmdk"

I am still not able to save files on SD card in the guest OS. What am I missing?

  1. I followed instructions over here. to turn USB card reader on. But I do not see any change in the way the SD card is exposed in guest OS.

  2. I have downloaded extension pack but the SD card reader is not populated in the USB filters.

What am I missing?

0 Answers0