0

I have installed both Virtualbox and Ubuntu in Window 10. Ubuntu work properly in Virtualbox. I can run the command in Ubuntu and stored the files in the Ubuntu. However, recently I tried to run Ubuntu in VirtualBox, I get stuck in the entering Ubuntu.

After seeing this screen, the whole screen is black out

please click to see Press F12 during boot up DEPEND ISO All my files are in Ubuntu directory not in shared folder with Window. May I know if there is any way to access the files that have been stored in Ubuntu and transfer back to Window 10. Or how to solve the booting problem so that I can enter Ubuntu and rescue the files?

7
  • Try booting from ubuntu iso file instead of the virtual disk. I suppose you can access the boot menu by pressing F12. And before that, add the iso file in storage settings. You should be able to access the files on Ubuntu virtual disk.
    – Mido
    Apr 12, 2021 at 17:42
  • Hi Mido, do you mean in VirtualBox Manager ->Settings ->/Storage-> under Storage Devices, select VBoxGuestAdditions.iso. And when booting the Ubuntu, I have pressed F12 . I see a lot of [OK]. However, there have some items with [DEPEND]. I am not sure whether these are the cause of the problem. Apr 12, 2021 at 17:44
  • I have screen capture two images during the boot up and put inside the post. Would you please have a look and see the problem. Thank you. Apr 12, 2021 at 17:51
  • I mean the iso you used to install Ubuntu not the guest additions one. When you run the live cd you'd be able to access your files by simply using a file manager. And copy those files to an accessible directory. As Windows won't be able to access Ubuntu files
    – Mido
    Apr 12, 2021 at 17:54
  • Would you please explain more detail on how to access the files on Ubuntu virtual disk? as Apr 12, 2021 at 17:54

1 Answer 1

1
  1. Edit the settings of Ubuntu virtual machine.
  2. Go to storage and add Ubuntu iso file. (for example ubuntu-20.04.1-desktop-amd64.iso)
  3. Start the virtual machine and boot from CD by pressing F12 and then press C

Once Ubuntu starts open Files. You should be able to access your files now.

You can use a flash drive but you need to shut down the virtual machine and install VirtualBox Extension Pack for virtualbox version installed on your computer. And then enable usb controller in virtual machine settings.

start the virtual machine

Add the flash drive to the virtual machine to copy your files

16
  • You might mention that this is an easy but temporary solution to recover files.
    – user535733
    Apr 12, 2021 at 18:26
  • Thanks Mido. I can get into Ubuntu through "Try Ubuntu". I go into file Manager. Apr 12, 2021 at 18:32
  • @user535733 Exactly. OP can reinstall Ubuntu on virtualbox after backing up the needed files.
    – Mido
    Apr 12, 2021 at 18:32
  • However, my files are put under my account (I need to log in). How can I log in my account to access the files? Now I am at the stage of "ubuntu@ubuntu". Apr 12, 2021 at 18:34
  • 1
    @pythonbeginner open files > other locations > look for a folder named home > look for a folder with your username. Can you see your files ? (the home folder where Ubuntu is installed not the iso you are using)
    – Mido
    Apr 12, 2021 at 18:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .