Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu 18.04, VirtualBox 5.2.42, Windows 7 (64 bit) in vb has a virtual disk image file at /home/ron/VirtualBox/VM_MSW/HD.vdi
How the heck can I get a data file created in virtual Windows in the .vdi file copied / extracted into an ordinary file in, let's say /home/ron/aFile.txt?
There are a couple of ways and I assume the Windows filesystem has not be corrupted in any way.
There is a virtuabox fuse filesystem i.e. vdfuse that should be in the repository that will allow you to mount partitions within the VDI image and allow you to copy the file. The package name is virtualbox-fuse. Never tried this method.
Find your file and copy it to your home directory.
The contents of /your_mount_point should contain the partitions. Pick the one that contains your file and mount that partition via
sudo mount /your_mount_point/Partition1 /another_mount_point
You can always create another guest VM and attach the VDI file as a second drive. Mount the data partition and copy the file to a USB drive or transfer the file via sftp from your file manager to the host operating system.
I am afraid I understand very little of it. I don't have the background. I have no idea what a "loop mount" is, for starters.
OTOH, VirtualBox is so slow and clumsy on my Ubuntu 18.04 system that I am going to give the whole thing up. TurboTax has given me nothing but trouble on MSW 7 on VirtualBox. And then I can't get my data file out of VB.
What trouble VB has given me is supplemented by unwanted intrusion from MS! To h*ll with it. I am blowing the whole thing away and probably never coming back. I will use my wife's MSW 10 machine for running TurboTax.
I'm sorry it did not work out, but thank you again for your attempt. I cannot mark this issue SOLVED, but I think the above should certainly make clear that it was not your failure.
I run virtualbox on some older hardware and it can be slow. Turbotax can be a memory hog. How much memory is configure for Windows? You need a min of 2GB but if you have enough more is better. Turbotax stopped supporting W7 as of this year so might as well get rid of it...
A loop mount let's you mount an image file of a drive/partition as if it were a real physical device. An ISO installation file you might of downloaded to install Ubuntu is an image file of DVD.
I am afraid I understand very little of it. I don't have the background. I have no idea what a "loop mount" is, for starters.
The software vdfuse does exactly what you want, it just doesn't have a graphical frontend.
Which OS is your host, Ubuntu? This search leads to this and this.
Personally I think the man page should be sufficient. The askubuntu is a little older, carefully consider all upvoted answers.
The simplest way is to enable shared folder. Start Windows in Virtual Box and copy required file into shared folder. This folder is common folder for guest Windows and host Ubuntu. Everything inside this folder can be accessed in both systems.
Thank you igadoter! That sounds like exactly the solution I need.
Maybe I should start another thread, but, can you tell me how to create a shared folder?
Thanks.
I think better is to create new thread. At the moment I don't have Windows guest on VB. Say something like: how to create shared folder for Windows guest and Ubuntu host in Virtual Box?
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009
Rep:
Quote:
Originally Posted by JavaMeister
Thank you igadoter! That sounds like exactly the solution I need.
Maybe I should start another thread, but, can you tell me how to create a shared folder?
Thanks.
really easy:
1) Open VirtualBox Manager
2) click on VM Client (e.g. Slackware)
3) click Settings icon
4) click Shared Folders (left column)
5) On the right side click Folder with + Sign icon
6) Select path
7) confirm
8) boot up windows and connect to the shared folder
8a) I assume that your windows client has VB client additions installed
Also, if you never used VB Manager, I assume that your VM windows client has not enough RAM assigned and it is CPU underpowered. This can be fixed from VB Manager also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.