Get It Install It Use it

Setting Windows as the
Default Operating System Instead of Ubuntu

This guide assumes that you have already installed Windows and Ubuntu and would now like to tell Ubuntu's default boot loader, grub, to boot Windows instead of Ubuntu by default. Doing so is simply a matter of switching a number in grub's configuration file. Follow these instructions to do it:

  1. Startup Ubuntu as usual
  2. Press Alt-F2 (i.e., depress 'Alt' and, without releasing it, press 'F2') for a 'Run Application' dialogue box
  3. Type 'gksudo gedit /boot/grub/menu.lst' (without the quotation marks)
  4. When prompted, enter your password. See "Ubuntu Root Access" if you have trouble at this point. You will then be presented with a GEdit window in which the configuration file for grub is reflected.
  5. Around the 14th line of the file, you will see the entry "default 0".
    ## default num
    [several lines beginning with '#' are here omitted for sake of brevity]
    default 0

    Changing the number determines which line in the boot menu gets started by default. To figure out which one you want, you must go to the end of the file (Ctrl-End), where the menu options are listed. Do not be put off by the technical appearance of what you see. From zero (or 'null'), count the number of "title" entries at the end of this file (after the line which reads "End Default Options"). For sure, there will be two entries for Ubuntu (one for the regular boot process and one for the recovery or rescue process) and one for the memory test module, if it is installed. After the memory test module, your Windows installation should be listed and the position of it in the menu sequence is the number you need to put next to the "default" line at the head of the file.

    If you find this confusing, do not fret. Let's take an example. We have Ubuntu installed and the memory testing module. This gives us the following three entries in the menu:

    title Ubuntu, kernel 2.6.15-26-386
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash
    initrd /boot/initrd.img-2.6.15-26-386
    savedefault
    boot

    title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro single
    initrd /boot/initrd.img-2.6.15-26-386
    boot

    title Ubuntu, memtest86+
    root (hd0,1)
    kernel /boot/memtest86+.bin
    boot

    After this, we will have a Windows installation listed:

    title Windows XP
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

    So, counting from zero or null, Windows is the third entry.

  6. Armed with that knowledge, we go back to top of the file and enter "3" into the configuration file.
    ## default num
    [several lines beginning with '#' are here omitted for sake of brevity]
    default 3
  7. Save the file
  8. Close the application

When you next boot your computer, grub will default to Windows. If it does not, follow the above instructions again and verify the count.









A Brief History of Linux
The Linux kernel is the basic programming foundation for the entire Ubuntu operating system. Here is how it started and why it is called GNU/Linux.

Ubuntu's African Roots
Ubuntu comes from an African word that suggests humanity and community.

Get Ubuntu Linux: Download, Request, or Order Ubuntu
Ubuntu can be downloaded or ordered and is available in a couple of versions: 6.06 (Dapper Drake) and 7.04 (Feisty Fawn). Which you use depends on the software you need. This page shows you from where you can download, request, or buy Ubuntu.

Ubuntu vs Windows Vista
Ubuntu had many Windows Vista features almost a year before Microsoft released it. Here is how Ubuntu compares to Windows Vista.

Windows Vista vs Mac OS X
Windows Vista looks curiously like Mac OS X. NY Times' David Pogue says there is no connection.

How to Install Ubuntu Linux (6.06 LTS)
Ubuntu is the easiest Linux version to install. Here is a guide to installing Ubuntu Linux painlessly.

Resizing a Windows Installation
Resizing a Windows installation is easy with the Ubuntu installer. Installing Ubuntu in parallel to a Windows installation is called 'dual booting' and is a good idea. Here is how to do it.

A History of Ubuntu
Ubuntu is an African word meaning 'humanity to others.'

Adding Ubuntu Software and Other Linux Software to Ubuntu
Adding Ubuntu software, non-Ubuntu Linux software, or even proprietary software to your new installation is easy with Synaptic. Here's how.

Adding Ubuntu Repositories
Adding Ubuntu repositories to download more Linux software is not very complicated. It is a simple matter of telling Ubuntu where to find more software.

Additional Ubuntu Repositories
Ubuntu software is available in more repositories than the default Ubuntu installation gives you. Here is a listing of more Ubuntu repositories for your software needs.

Ubuntu Root Access
Ubuntu root access is needed for all system-wide tasks. Here is how to gain root access in Ubuntu.

How to Install Ubuntu Linux 7.04 (Feisty Fawn)
Ubuntu Feisty was released in April 2007. It is the easiest Ubuntu to install yet. Here is how the installation of Ubuntu Feisty is different from 6.06 LTS.

Booting Windows Instead of Ubuntu by Default
Grub boots Ubuntu by default. But if you want to make Windows your default operating system without losing Ubuntu, all you need do is change a number in Grub's configuration file. Here is how.

Setting Grub Timeout When Dual Booting Ubuntu
Grub's menu is hidden by default. Making it visible at startup is a matter of editing grub's configuration file. Here is how.

Make Grub's Menu Visible At Startup
Grub's menu is hidden by default. Making it visible at startup is a matter of editing grub's configuration file. Here is how.

Parts of the Ubuntu Desktop: Top Left
Ubuntu uses GNOME as a default desktop. Here are the top left parts of the Ubuntu desktop and what each does.

Parts of the Ubuntu Desktop: Top Right
Ubuntu uses GNOME as a default desktop. Here are the top right parts of the Ubuntu desktop and what each does.

Parts of the Ubuntu Desktop: Bottom Components
Ubuntu uses GNOME as a default desktop. Here are the bottom parts of the Ubuntu desktop and what each does.

A Primer for Installing Ubuntu
Installing Ubuntu should be as easy as possible, and the best guides for this are provided here at Easy Ubuntu Linux. But all the online resources in the world do not help you offline. For this reason, we are providing this PDF primer to help you install Ubuntu.

Setup Your E-mail On Ubuntu: Part 1
Sending e-mail under Linux is easy. Here is how to setup your email identity under Ubuntu Linux.

Receiving E-mail
Sending e-mail under Linux is easy. Here is how to receive email under Ubuntu Linux.

Sending E-mail On Ubuntu
Sending e-mail under Linux is simple. Here is how to setup Evolution to send email under Ubuntu Linux.

Office Suites for Ubuntu
Choosing an office suite for your Ubuntu installation is like choosing the first among equals. Here is a comparison of the best office suites available for Ubuntu Linux.

Upgrading Ubuntu
Ubuntu upgrades are easy to affect. As usual with Ubuntu, you get to choose how to upgrade.

Install Ubuntu Upgrades By Updating Your Installation
Ubuntu Upgrades are a choice of two straightforward processes. Here is how to upgrade and update all of your programs at once.

Affect an Ubuntu Upgrade With An Install CD
Ubuntu Upgrades are as easy as the installation. Here is how to upgrade and save your data.

Receiving Email via IMAP
Sending e-mail under Linux is easy. Here is how to receive email under Ubuntu Linux.

Image Handling With Ubuntu
Ubuntu's image handling surpasses those of other operating systems. Whether you just need to look at your pictures or create first-rate graphics, Ubuntu offers a program to meet your needs.

Photo Previewing and Slideshows With GQView
GQView is an additional photo previewing program for Ubuntu. Here is a brief tutorial on how to preview and edit photos with GQView on Ubuntu.

Install Ubuntu
Install Ubuntu with minimal fuss. Some choices in the installation process are better than others, and this section will help you to install Ubuntu with ease.

Configure Ubuntu
The default Ubuntu configuration is good for most users. However, you will inevitably want to configure Ubuntu to suit your tastes better.

How to Use Ubuntu
Once Ubuntu is setup, you may still wonder about how to use Ubuntu. This section will show you how to setup and use software such as email, office suites, and photo editing software.

Apache - Ubuntu - Apache Modules on Ubuntu - Part 1
Ubuntu allows webhosting on your computer. Here is how to configure Apache on Ubuntu.

Apache - Ubuntu - Apache Modules on Ubuntu - Part 2
Ubuntu lets you run many kinds of servers on your computer. Here is how to configure Apache on Ubuntu.



Page copy protected against web site content infringement by Copyscape

Easy Ubuntu Linux and the Easy Ubuntu Linux logo ©2006-2007, Integrity Enterprises. Ubuntu ©Canonical, Ltd. All other trademarks and logos are the reserved copyright possessions of their respective owners.

Unless otherwise stated, all material contained on this website is copyrighted to Easy Ubuntu Linux.com. All rights are reserved. All content is provided AS IS without any warranty of any kind for any purpose.

If you have a question or comment about Ubuntu or this site, please send email to 'webmaster (at) easy-ubuntu-linux.com' (remove single quotes and replace "@" for " (at) ").