How do you resize the standard Ubuntu Desktop inside of Virtualbox?


Inside the virtual machine, install the virtualbox-guest-dkms, virtualbox-guest-utils and virtualbox-guest-x11 packages. These "guest additions" include a video driver that will do what you ask, plus a mouse driver that interacts with the host system so you don't have to use the host key to "uncapture" the mouse; it just works when you're on the virtual machine's window.

There are 2 ways to do this:

From the VirtualBox top menu choose Devices, Install guest additions, then wait for a mock-CD ROM to appear and run the install from there, or

just type

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

(personal recommendation: the second (apt-get) option is very simple and...

0 0

I started using VirtualBox (actively) few months back, my experience with it is excellent. Before using VirtualBox, I always had issues with installing new software on my computer because I did not want the new installation/updates to mess around with my working setups. VistualBox solved all of these issues. Now, I do all of my software testing/evaluations on virtual machines even I do all of my development (which require installations e.g. geonode) or host servers on virtual machines as well (read my blog ‘Access services hosted on guest from host using VirtualBox‘). Small tweaks here and there (like the one blow), VirtualBox is an excellent solution for developers as well.

If you have noticed, Virtual Box does not show fullscreen on virtual machines (VMs) and I hate to work on small screens (even I do not work on 15 inch and went to great lengths to get a 17 inch laptop). The fullscreen mode of VirtualBox is not what I am looking for, I need a solution which...

0 0
Did not think I should open my own new thread .... I have the same issue .. but need help.


sudo apt-get install virtualbox-guest-dkmsreturns


Unable to locate packageRunning Lubuntu as guest.

thanks in advance for any help.


I think I have done something right. I retried the install of dkms and this time it worked. Before, Lubuntu had only one screen res. choice .. 640x480. It now has 3, .. that and 800x600 and 1024x768. Problem still is, no matter which I choose, the screen is 'not right' .. either too small, or images etc are flat and wide. In Windows, screen res is 1366x768 (that I use) with several more choices.


Also ... not sure I am in compliance with installing dpks BEFORE Virtual Box guest additions. I have a feeling I did them before succeeding with dkms. If I must, can TOTALLY start over ... and do everything in the right order ... soon as I get some advice. Again, thank you in...

0 0

The window size is controlled by the VM's screen resolution. If you manually resize the window on the host you'll only zoom on the image returned by the VM, so of course this gives a very bad image quality.

Change the screen's resolution in the VM's configuration, either via the GUI, or directly via the command line with xrandr.

First run xrandr with no arguments, it'll display all outputs (in this case they're just the virtual outputs emulated by VirtualBox).

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm ...

Now run xrandr --output --size and replace "output" and "size" with the connected output that you got from the previous command (in this case VGA1) and the resolution you want to set, I recommend setting it just a bit lower than your actual monitor to leave space for the taskbar and Virtualbox window title bar.

Example : xrandr --output VGA1...

0 0

In my previous post ( I discussed about resizing a virtual hard disk in VirtualBox 3.2.

Now, in the newer version of VirtualBox we have no “Create new virtual disk” option in the virtual device manager.

To resize a disk in VirtualBox is now much more easier… although you’ll have to use the command line.

First, list all of the virtual disks installed:

That’s my 20GB hard disk drive.To resize it to 30GB:

And now, choose your application to extend the old partition to the new size.

It’s very easy with a LiveCD and GParted. Just choose Resize/Move and apply the changes.

An applause for VirtualBox, because in previous versions this was a little bit frustrating.

And don’t forget to read the...

0 0

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

The screenshots in this tutorial use Ubuntu 12.04, but the same principles apply also to Ubuntu 12.10, 11.10, 10.04, and any future version of Ubuntu. Actually, you can install pretty much any Linux distribution this way.

VirtualBox allows you to run an entire operating system inside another operating system. Please be aware that you should have a minimum of 512 MB of RAM. 1 GB of RAM or more is recommended.

Comparison to Dual-Boot
Many websites (including the one you're reading) have tutorials on setting up dual-boots between Windows and Ubuntu. A dual-boot allows you, at boot time, to decide which operating system you want to use. Installing Ubuntu on a virtual machine inside of Windows has a lot advantages over a dual-boot (but also a few disadvantages).

Advantages of virtual installation

The size of the installation...
0 0

Sometimes I create a VirtualBox disk for usage in a VM with a certain size. I think it will be enough for what I want to use the VM for. After using the VM for a while, it happens (often) that I need more space than I initially assigned. For example if want to install additional software.

In this blog I describe the steps I’ve done to increase the size a VirtualBox Ubuntu guest disk without loosing data. I’ve done a pretty default Ubuntu 16.04 installation as guest in VirtualBox. If your partition layout differs, the steps to take are similar but might differ slightly. Do think before you execute these (or similar) steps since if you do not do them correctly, you might screw up your partitions and potentially lose data.

If you have created a nice VM and want to distribute it, it helps if the VM export is not too large. This makes uploading and copying the VM much easier. At the end of this blog post I give some tips on how to make an export of a VM small.


0 0

My Linux VirtualBox guest OS often runs out of space – I never learn that to build anything in Linux, you need about 10 times the amount of space that you think you need. Also, VirtualBox recommends very small default values, so it is easy to be caught out.

Anyway, here are the current steps to re-size a VirtualBox disk, where Linux is the guest OS and Windows is the host OS.

In this example I am using VirtualBox 4.2.6 (The approach is valid with more recent versions also). The host OS (the one that is running VirtualBox) is Windows 7 and the guest OS that I wish to re-size is Ubuntu. Please backup everything before continuing as something could always go wrong.

Step 1. (Optional) Move the VDI file in Windows

If you need to move the VDI file to another location/physical drive with more space, you can do the following.

With VirtualBox shut down, using Windows Explorer move your vdi file (e.g., “c:\MyLinux.vdi“) to its new location (e.g.,...
0 0

In this tutorial, I’m going to show you how to increase Virtualbox disk size for dynamically allocated storage. This method will only work if your virtual disk is in .vdi or vhd format. I also assume that your host OS is Linux. If you want to know how to increase the size of a fixed size disk, then read the next article.

Find Out If Your Virtual Disk is Dinamically Allocated

Open you virtual machine settings and click Storage on the left pane. Select your virtual disk under Storage Tree. You can see the information about your virtual disk on the right. You can see that my virtual disk is dynamically allocated.

BackUp Your Virtual Hard Disk

Before we increase the size of our virtual hard disk, it’s always a good idea to make a backup of it in case something go wrong.

First, right click on the location line and copy the location of your virtual hard disk.

Then click the minus icon to remove the virtual disk from virtual...

0 0

I was creating a new virtual machine to install the latest Oracle SOA Suite ( and, during my biased next/next/finish routine, forgot to configure the hard disk size. After installing almost everything, I realised that the VM was running out of space.

Instead of installing everything again, I’ve asked my friend Google to help me. Among a diversity of creative, complex, weird and dodgy ideas I could compile the solution described below (which can also be creative, complex, weird or/and dodgy for you!).

The procedure described below was tested with Oracle VirtualBox 4.0.2 and Ubuntu 10.04, so I’m not sure if it will work with older versions.

Because Ubuntu default installation uses a single partition layout (so you cannot “unmount” the partition to be extended), you will need the Ubuntu Live CD (installation media or image) to do the trick.

Resize VirtualBox hard disk

The following steps describe how to resize VirtualBox hard disk with...

0 0

I am running Ubuntu Lucid on my workstation at home, but sometimes I still need to go back to Windows to get something done that I haven't quite figured out how to do in Linux yet. For that I am running VirtualBox on the workstation from which I spin up a Windows 7 VM.

I initially created the VM with 32 GB of hard drive space. That turned out to be too little and after the base Win7 OS and a few applications I was using over 15 GB. So I figured that I needed more hard disk space and I thought that I could just enlarge the pesky VDI file for the Win7 VM (it stands for Virtual Desktop Image and that's the default VM image file format used by VBox).


Well, it turns out that in nature you can't really pick up a hard disk, open it up, and throw in a new platter. In a virtual world, however, you get to play God and manipulate it any way you choose. All you have to do is clone and modify your original VDI file. Here's what you need:

VirtualBox. Read...
0 0

wikiHow's mission is to help people learn, and we really hope this article helped you. Now you are helping others, just by visiting wikiHow.

Direct Relief is a humanitarian nonprofit with a mission to improve the health and lives of people affected by poverty and emergencies. Recognized by Charity Navigator and Forbes for its efficiency, Direct Relief equips health professionals in the U.S. and throughout the world with essential medical resources to effectively treat and care for patients – without regard to politics, religion, or ability to pay.

Click below to let us know you read this article, and wikiHow will donate to Direct Relief on your behalf. Thanks for helping us achieve our mission of helping everyone learn how to do anything.

0 0

If you use VirtualBox to run guest operating systems within a virtual machine on the Mac, like Windows 10 or Ubuntu Linux, you may find yourself needing to resize the virtual disk size where the OS resides. This is often the case when you inadequately estimate how much space is required for properly installing in a virtual machine with dynamically allocated storage.

To resize a VDI or VHD file in OS X (this may work the same in linux, let us know), you’ll use the VBoxManage tool from the Mac command line. Even if you chose to install the VirtualBox command line tools, it won’t be in your path, so you’ll be heading into the contents to use the utility instead.

Since this is modifying the virtual machine, it’s a good idea to back up the VDI or VHD file beforehand, if you’re not comfortable with the terminal at all you should probably back up the entire Mac first. Keep in mind the resize utility uses megabytes for measurement, so if you’re changing a vm...

0 0
0 0


With a virtual machine like VirtualBox you can virtually install multiple operating systems, without having to buy any new hardware.

Maybe you’ve heard of virtual machines (VM), but never tried one out yourself. You might be scared that you won’t set it up correctly or don’t know where to find a copy of your preferred operating system (OS). VirtualBox is the best virtual machine for home users VirtualBox vs. VMware Player: The Best Virtual Machine for Windows , and you can use this virtualization software with our help.

In this guide to using VirtualBox, you’ll learn why you should use the software, how to install an OS, and advice to make it work for you. We’ll explain everything and share tips along the way so you won’t get lost. Let’s jump in!

In this guide: Getting Started With VirtualBox | Install Windows 10 in a Virtual Machine | Install Ubuntu in a Virtual Machine | Install macOS in a...

0 0
Raspbian x86 on VirtualBox on a Windows PC - Andrew Oakley


Support family coding workshops in Gloucestershire:

Oracle's VirtualBox is a user-friendly way of installing a virtual machine on a PC. In short, you can run a computer inside your computer - for example, the Raspberry Pi desktop inside your Microsoft Windows desktop. There are lots of other products that also do this, but VirutalBox is one of the easiest to use.

I find this useful for when I'm travelling and want to work on Raspberry Pi projects. I do usually pack at least one real Pi, but having it all on my laptop is a huge convenience.

Bear in mind that this won't allow you to use hardware interfaces such as GPIO HATs or electronics without a lot of extra work. It can be done - you might have VirtualBox take control of a USB port and use Ryanteck's RTk.GPIO for example... maybe - but I'm not going into that here.

If you just want to...

0 0