Installing Ubuntu on a Windows Disk with Wubi

From Techotopia
Revision as of 19:49, 16 April 2009 by Neil (Talk | contribs)

Jump to: navigation, search
PreviousTable of ContentsNext
Installing Ubuntu Linux on a Windows System (Dual booting)Allocating a Windows Partition to Ubuntu Linux


As described in How to Try Ubuntu Linux there are a number of ways to run Ubuntu, including a number of options for running Ubuntu alongside a pre-existing Windows installation.

One such option, and the topic of this chapter, is to use the Windows Ubuntu Installer (Wubi) to install the Ubuntu distribution within a folder on a Windows disk from where it may subsequently be started using a dual boot configuration.


Contents


What is Wubi?

The Windows Ubuntu Installer (Wubi) allows Ubuntu to be installed within a folder of a Windows disk. An option to boot Ubuntu is then added to the Windows boot menu giving the user the ability to boot either into Windows or Ubuntu when the system starts up. In essence, Wubi allows a Windows/Ubuntu dual boot configuration to be set up without the need to reduce the size of a Windows partition and create new Linux partitions to accommodate the Ubuntu installation.

Note that Wubi downloads the Ubuntu installation packages over the internet during the installation process. The target Windows system must, therefore, have an internet connection (preferably broadband given that the download is approximately 700MB in size).

Downloading Wubi

Wubi consists of a small installer executable which must be downloaded onto the target Windows system. This file can be downloaded from the Wubi web site at http://wubi-installer.org/.


Starting the Wubi Installer

Once the Wubi installer has been downloaded, navigate to the location to which it was downloaded using Windows Explorer and double click on it run it. Once invoked, the initial screen will appear as illustrated in the following figure:


The initial Wubi Ubuntu Installer Setup screen


From this screen, select the destination Windows disk drive, the amount of disk space on that drive to be allocated to Ubuntu (a minimum of 8GB is recommended), and a suitable user name and password to be used to gain access to Ubuntu once the installation is complete. In addition, specify a language other than English if necessary and choose a desktop environment (unless you have any objection to the default GNOME desktop this option can be left unchanged).

Once the settings are configured, click on Install to initiate the download process. The following screen will subsequently appear as Wubi downloads the Ubuntu distribution over the internet:

Wubi Downloading and Installing Ubuntu

As previously mentioned, the download is approximately 700MB in size so may take some time to complete depending on the speed of the internet connection. During the download process, Wubi will install a number of Ubuntu distribution files in the \ubuntu folder of the designated Windows disk drive together with two additional files named wubildr and wubldr.mbr.

Once the download is complete, the setup program will report that the system needs to be rebooted to complete the Ubuntu installation. This may be performed either now or at a later and more convenient time.

Completing the Ubuntu Installation

Once the Wubi download process is complete and the system is restarted, Windows will present a boot menu providing the option to boot into either the original Windows system or the Ubuntu system installed by Wubi. A typical boot menu is illustrated in the following figure:


The Windows boot menu with the option to boot Ubuntu


Selecting Ubuntu from the menu and pressing the Enter key will start the Ubuntu boot process. If this is the first time that the Ubuntu installation has been started the system will perform a number of tasks to complete the operating system installation process. This process may take some time depending on system performance, but is only necessary the first time the Ubuntu system is started. Subsequent start up times will be significantly reduced. Once the installation is complete, Ubuntu will reboot the system. If the system is unattended at this time, it is likely that the boot menu will default to booting Windows after a short timeout.

Starting the Ubuntu System

Once the installation is complete, restart the computer and select Ubuntu from the boot menu. Once Ubuntu has started, log into the desktop environment using the user name and password specified during the initial Wubi setup configuration.

Removing Ubuntu

The Ubuntu installation can be removed at any time by booting Windows, navigating to the \ubuntu folder on the disk drive onto which Ubuntu was installed and double clicking on the Uninstall-Ubuntu executable. The uninstaller will launch and seek confirmation that Ubuntu is to be removed from the system as illustrated below:


Uninstalling a Wabi installed Ubuntu


Clicking on the Uninstall button will initiate the removal process.