Friday, 8 November 2013

Low graphics mode error in Ubuntu with virtual box

This is a step by step guide to install Virtual box in Windows 7 and run ubuntu 12.04 in it.



1 Download virtualbox https://www.virtualbox.org/ and install it.

2 Download ubuntu live cd

3 Open Virtualbox and select New

4 1024 MB of RAM

5 create new hard drive

6 VDI

7 Settings:
7.1 General > Advanced > Shared Clipboard > Bidirectional
7.2 Display > Video > Video Memory > 48 Mb
7.3 Storage > Controller: IDE > add new one and select ubuntu-12.04.2-desktop-i386.iso

8 Show > ubuntu live cd starts. Install it using all the virtual hard drive
 
9 Restart. It will hang up saying remove the cd and click enter. close the Virtualbox window and select send poweroff signal.

10 It will start in low graphics mode. Click ok to open the console

11 sudo apt-get upgrade

12 sudo apt-get update

13 sudo apt-get install dkms

14 sudo poweroff

15 in Virtualbox > Settings > Storage > remove the ubuntu iso (if still there) and add a new one. Select C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (or similar rute in your windows pc)

16 Show the installed ubuntu again. This time the graphic enviroment will be correctly loaded.

17 Ensure that the guest additions ISO is available to the host. You can do this by clicking on Devices menu -> CD/DVD devices and point to the GuestAdditions ISO file. The Guest additions is available in Program Files\Oracle\VirtualBox folder 

18 cd /media

19 sudo mkdir vbox

20 sudo mount /dev/sr0 vbox/ (if it's been monted in sr0, may vary)

21 cd vbox/

22 sudo ./VBoxLinuxAdditions.run it will install the guest additions.

23 sudo reboot


Graphics and bidirectional clipboard (copy in win  and paste in ubuntu or vice versa) should be working correctly now.

No comments:

Post a Comment