virtual disk

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
neplasco
Posts: 2
Joined: 16. Dec 2011, 19:14
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 5

virtual disk

Post by neplasco »

Dear all,
I have a very big and urgent problem.
I had a problem with my debian guest: simply it has halted during an apt-get activity and now it doesn't boot more.
Currently my virtual machine boots just in safe mode but I haven't access neither to USB devices nor ethernet interface.
I NEED to retrieve some files I have in some folders and, as root in safe mode, I can find them.
How I can copy these files to my host computer (MAC OSX)?
It is possible to mount the virtual disk of this image to another virtual machine to retrieve these files?

Moreover I found it is possible to creare several virtual disks and to add them to a virtal machine, but when I can't find this new disk into the virtual machine...
how it is possible to mount virtual disks into virtual machines?

thanks
Andrea
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtual disk

Post by Perryg »

It is possible to mount the virtual disk of this image to another virtual machine to retrieve these files?
Yes
how it is possible to mount virtual disks into virtual machines?
You need to mount the drive before you can see it. Type man mount in your guests terminal to see the proper syntax.
neplasco
Posts: 2
Joined: 16. Dec 2011, 19:14
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 5

Re: virtual disk

Post by neplasco »

Thank you so much for your quick anser Perryg, but this is what I do. It says that I need to specify the type of the disk... Which is its type? I have to format it? how?

Andrea
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtual disk

Post by Perryg »

I would not know for sure because I didn't install and format it but it would probably be ext3 or ext4
If you install a new VM of the same you should be able to see what that defaults to.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtual disk

Post by Perryg »

That or you can try to repair the defective one since you can get into the OS in recovery mode.
Post Reply