Translate

Image of Android Wireless Application Development
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Beginning Google Maps API 3
Image of Modern Operating Systems (3rd Edition)

Access A VMware Virtual Disk from Linux

Recently I needed to recover some data off a VMware Workstation virtual disk using Linux. As you probably know, VMware Workstation (and VMware vSphere) represents a physical disk by a virtual disk whose backing store is one or more VMDK files. VMDK (Virtual Machine Disk) is a documented file format, which uses the file extension .vmdk. It describes containers for virtual hard disk drives to be used in virtual machines like VMware Workstation or VirtualBox. Initially developed by VMware for its virtual appliance products, nowadays VMDK is an open format. Fortunately, VMware provides a simple utility, vmware-mount, for mounting a

VirtualBox Guest Additions on PAE kernel

It you are using a PAE (Physical Address Kernel) kernel in a Virtual Box guest and wish to install the VirtualBox Guest additions, you need to download the kernel-PAE-devel package as well as the kernel-headers package. PAE kernels are available for Fedora, Red Hat, CentOS and more. Otherwise you will end up failing to build the main Guest Additions kernel module and getting a misleading message in /var/log/vboxadd-install.log after attempting to run sh ./VBoxLinuxAdditions.run: *** Error: KERN_DIR does not point to a directory. That message is misleading as the real error is due to you not having the PAE headers

Install VirtualBox Guest Additions in Debian Wheezy (7.0 and 7.1)

Either of the following two methods will install and configure the VirtualBox Guest Additions on Debian Wheezy (7.0 or 7.1) – assuming you have clicked on “Install Guest Additions” option on the VM Menu. # apt-get update # apt-get install build-essential module-assistant # m-a prepare # mount /media/cdrom # bash /media/cdrom/VBoxLinuxAdditions.run or # apt-get update # apt-get install gcc make # apt-get install linux-headers-$(uname -r) # mount /media/cdrom # bash /media/cdrom/VBoxLinuxAdditions.run Contrary to what some people have experienced, I had no trouble invoking the GNOME 3 Shell in Debian 7.0 or 7.1 when running in VirtualBox 4.2.16 under Microsoft Windows

Enable VirtualBox USB Support on Linux Appliance

To enable Oracle VirtualBox USB support for a user on Fedora or some other Linux distribution appliance, first install the VirtualBox Extensions Pack and then add the user to the vboxusers group. # usermod -a -G vboxusers your-username If the vboxusers group does not exist, create the group and add your username. # groupadd vboxusers # usermod -a -G vboxusers your-username Then reboot the Linux appliance and the user should be able to access USB devices.

Building VirtualBox Guest Additions on Debian 5

Here is what you need to do to successfully build and install the Oracle VirtualBox Guest Additions on Debian 5. First mount the VirualBox guest additions (Extensions Pack) media (Host-D). Then either mount your Debian 5 installation media or configure your Debian 5 package manager to download the necessary packages from a suitable repository. # apt-get update # apt-get install gcc make # apt-get install linux-headers-$(uname -r) # cd /media/cdrom # bash VBoxLinuxAdditions.run Then reboot your appliance and check that you can auto-resize the guest display. If not, check the build logs which are available under /var/log.