VirtualBox booting the Ubuntu system on a removable hard drive

Source: Internet
Author: User

Current situation:

install Ubuntu on mobile hard drive , PC can boot from the U disk, choose Ubuntu in Grub to run Ubuntu independently .

Win8 System is installed on PC

Goal:

in the install VirtualBox in Win8and run the virtual machine to install Ubuntu already installed on the mobile hard drive .



    1. Win8 the removable hard disk in the Disk Manager to view the removable hard disk as disk 1(PC hard disk bit disk 0)

    2. Start with Administrator cmd window , go to VirtualBox 's installation directory, run:

c:\programfiles\oracle\virtualbox>vboxmanage Internalcommandscreaterawvmdk-fi

Lenamed:\usbdisk.vmdk-rawdisk \\.\physicaldrive1

Rawhost disk access VMDK file D:\USBDISK.VMDK created successfully.


PhysicalDrive1 that corresponds to disk 1, which generates a virtual disk file (usbdisk.vmdk) that VirtualBox can loadafter a successful run

    1. Run as Administrator VirtualBox , create a new virtual machine, select the currently existing disk when you add the virtual disk, and specify the USBDISK.VMDK that you just generated .

If you do not run VirtualBox as an administrator , the following error occurs when you load a virtual disk file
Open Hard Disk file D:\USBDISK.VMDK failed .


Permission problem accessing the file for the medium ' D:\USBDISK.VMDK ' (verr_access_denied). Return code: Vbox_e_file_error (0x80 BB0004) Component: Medium interface: imedium {05F2BBB6-A3A6-4FB9-9B49-6D0DDA7142AC} called by: Ivirtualbox { fafa4e17-1ee2-4905-a10e-fe7c18bf5554} called Rc:vbox_e_object_not_found (0x80bb0001)


    1. start the virtual machine to run Ubuntu successfully. Full screen can be installed after guestaddition.

    2. The test is booted directly from the removable hard drive and runs independently of Ubuntu success, unaffected.


VirtualBox booting the Ubuntu system on a removable hard drive

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.