Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Ubuntu guest in VirtualBox - some tips

12 Mar 2012   #1

Microsoft Windows 7 Home Premium 64-bit SP1
Ubuntu guest in VirtualBox - some tips

1. Getting a high or fullscreen resolution for your Ubuntu guest:

If installing the Guest Additions doesn't give you a high enough resolution for a decent sized window, or nor a fullscreen resolution, try the following link:

Ubuntu In VirtualBox – Set A High Screen Resolution - Linux/Unix Tutorials | Dream.In.Code

I found I had to edit my xorg.conf (/etc/X11/xorg.conf) to give me fullscreen resolution. After you make the change, just reboot, and you will have your desired resolution (windowed or fullscreen). If fullscreen, just choose Fullscreen from the virtualbox view menu option.

2. Sharing a Windows folder with Ubuntu:

- In settings for the guest, choose your Windows folder to share.
- In your home folder in Ubuntu you can create a new folder (VBoxShared for example).
- Open the terminal in Ubuntu, and type the following command:

sudo mount -t vboxsf NameofYourWindowsFOlder ~/NameofYourFolderToShareInUbuntu

For example, if in the guest settings your choose a Windows folder called VirtualBoxShared, and created a folder called VBoxShared in Ubuntu in your home folder , you would use the following command:

sudo mount -t vboxsf VirtualBoxShared ~/VBoxShared

Just type in your password when prompted, and hit enter.

To make things quicker,

- You can open gedit, enter your command, and save it to the Desktop.
- Then right click on the saved file, choose Properties, then Permissions,
and check "Allow executing file as program"
- Then just double click, and choose Run In Terminal, and enter your password.

If you want to automatically access your Windows share every time you boot into your Ubuntu guest, you can do the following:

Add yourself (username) to the vboxsf group using the following command:

sudo usermod -a -G vboxsf username

Then logout and log back in, and your Windows shared folder should show up /media in the filesystem with read/write permissions.

Make sure that in the settings in VirtualBox for your Ubuntu guest, you select the Windows shared folder as auto-mount.

3. Create desktop launchers (for those who like desktop icons, in the Gnome Classic desktop, for example):

How To Create Desktop Launchers in Ubuntu 11.10(Oneiric)*|*Ubuntu Geek

To make things quicker, open gedit, paste the command into it, save to desktop, and make executable, as in step 2 above. Most all of your program executables will be in /usr/bin when your browse for your command.

I hope these tips help.


My System SpecsSystem Spec
12 Mar 2012   #2

Windows 10 64bit

good info for those that run Ubuntu in virtual box
My System SpecsSystem Spec
13 Mar 2012   #3

Microsoft Windows 7 Home Premium 64-bit SP1

My System SpecsSystem Spec

13 Mar 2012   #4

Microsoft Windows 7 Home Premium 64-bit SP1

I added how to auto-mount your Windows shared folder.
My System SpecsSystem Spec

 Ubuntu guest in VirtualBox - some tips

Thread Tools

Similar help and support threads
Thread Forum
Windows 7 for VirtualBox Guest OS
Hi, I am currently running Linux (Ubuntu OS) on my laptop, and have VirtualBox installed. I run Windows XP as guest OS in the laptop through VirtualBox. I would like to purchase a new Windows 7 OS-Professional Edition (32 Bit), I need to know whether this would be suitable for running on the...
Virtualbox not working with 64bit guest
Hi, I just installed the latest version of virtualbox. When I try to add a VM with Ubuntu 10.04 as a guest, I get this error. What do I do now?
Vista guest in VirtualBox
Anyone running this? Got any tips for the initial setup settings to get it to run smoothly? Thanks.
running on virtualbox guest os
I have posted this problem at Linuxquestions, but I could not get any comments. I think this problem might need windows 7 and/or linux, so I want to post here and want to invite members' opinion on this problem. --------------------------------- My box is centos 5.3 x86 and host is windows 7...
Network & Sharing
Windows 7 as guest on VirtualBox
Hi did anybody tried to install Windows 7 as guest OS on VirtualBox ? Did it work ? Regards Piotr

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:25.
Twitter Facebook Google+