Skip to main content

How to dual boot Windows XP and Linux (XP installed first) -- the step-by-step guide with screenshots

How to dual-boot Windows XP and Linux, on a system where you have already installed XP. Easy step-by-step tutorial that doesn't assume prior knowledge of Linux.

Scenario: You want the simplest way to dual-boot XP and Linux. You've already installed Windows XP and now want to dual-boot it with Ubuntu 8.04
Summary of tutorial: This is an updated tutorial (we previously used Ubuntu 7.04 and GPartEd (GNOME Partition Editor), but in this tutorial, we'll use Ubuntu 8.04 to make space on the XP partition and then use the GRUB bootloader to dualboot XP and Ubuntu.
This tutorial has been tested on a VMWare Workstation 6.0.3 virtual machine.
How to dual boot Windows XP and Linux (XP installed first) -- the step-by-step guide with screenshots

How to dual-boot Windows XP and Linux, on a system where you have already installed XP. Easy step-by-step tutorial that doesn't assume prior knowledge of Linux.

As we're assuming that XP has already been installed (either via an OEM or self-installation) I won't run through the XP installation process. We'll further assume that XP has been installed to a single NTFS partition which takes up the whole disk.
One interesting thing to note though - Ubuntu is happy to read NTFS partitions, so one potential configuration option is to either create a 2nd NTFS partition which will house data for access by both operating systems, or simply a 2nd hard drive, again formatted with NTFS.
Install Ubuntu

You'll need the latest desktop ISO of Ubuntu (8.04). You can choose a list of download mirrors from the Ubuntu website, or use this link from Planetmirror. Download the ISO and burn it to CD to create bootable Ubuntu CD.
Boot the XP machine from the CD and select "Install Ubuntu" from the boot menu.

Once the Live CD has loaded, on the Welcome screen choose your language and select Forward.

On the "Where are you" (timezone) page, select your location and then Forward.

On the next screen, choose the appropriate keyboard layout and then Forward.
Page 3 - Make room on the disk for Ubuntu

Ubuntu will then load the disk partitioner to determine where it's going to be installed. The default option is that Ubuntu will resize the Windows XP NTFS partition to make space for the Ubuntu install. You can drag the dividing line left or right to increase or decrease the amount of space to be freed up.
Once you're happy with the selection, click Forward.

Ubuntu then prompts you to commit the changes (despite what the warning, it won't take very long). Click Continue - the screen disappears and then click Forward again.
Page 4 - Set up Ubuntu

On the "Who are you?" screen, enter your username and password details, then click Forward.

On the Migrate Documents and Settings screen, if Ubuntu finds any user accounts to migrateit will happily import user settings from XP to Ubuntu. If it doesn't find any, obviously this isn't an option. Select as much or as little as you wish and click Forward.
On the "Ready to install" screen, you'll see that Ubuntu now has enough information to commence the installation. In the summary under Migrate Assistant, it should say "Windows XP Professional" along with any user account details you selected in the previous step
This means that regardless of whether Ubuntu found any user account to migrate, it certainly knows that Windows XP is installed on the other partition Click Install.

See the install through and then let it boot into Ubuntu.
When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.

After the Ubuntu boot options, there will be an entry "Other operating systems" and beneath that "Microsoft Windows XP Professional". By default Ubuntu will load itself after 10 seconds, but you can select the XP option and the OS will boot normally.
The GRUB bootloader is decidedly better than XP's and XP doesn't handle dualbooting non-Microsoft operating systems very well, so there's little point trying to restore the XP bootloader. Be happy with GRUB!

Comments

Popular posts from this blog

JAVA Scrollbar, MenuItem and Menu, PopupMenu

ava AWT Scrollbar The  object  of Scrollbar class is used to add horizontal and vertical scrollbar. Scrollbar is a  GUI  component allows us to see invisible number of rows and columns. AWT Scrollbar class declaration public   class  Scrollbar  extends  Component  implements  Adjustable, Accessible   Java AWT Scrollbar Example import  java.awt.*;   class  ScrollbarExample{   ScrollbarExample(){               Frame f=  new  Frame( "Scrollbar Example" );               Scrollbar s= new  Scrollbar();               s.setBounds( 100 , 100 ,  50 , 100 );               f.add(s);   ...

Difference between net platform and dot net framework...

Difference between net platform and dot net framework... .net platform supports programming languages that are .net compatible. It is the platform using which we can build and develop the applications. .net framework is the engine inside the .net platform which actually compiles and produces the executable code. .net framework contains CLR(Common Language Runtime) and FCL(Framework Class Library) using which it produces the platform independent codes. What is the .NET Framework? The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi-language environment for integrating existing investments with next-generation applications and services as well as the agility to solve the challenges of deployment and operation of Internet-scale applications. The .NET Framework consists of three main parts: the common language runtime, a hierarchical set of unified class librari...

Standard and Formatted Input / Output in C++

The C++ standard libraries provide an extensive set of input/output capabilities which we will see in subsequent chapters. This chapter will discuss very basic and most common I/O operations required for C++ programming. C++ I/O occurs in streams, which are sequences of bytes. If bytes flow from a device like a keyboard, a disk drive, or a network connection etc. to main memory, this is called   input operation   and if bytes flow from main memory to a device like a display screen, a printer, a disk drive, or a network connection, etc., this is called   output operation . Standard Input and Output in C++ is done through the use of  streams . Streams are generic places to send or receive data. In C++, I/O is done through classes and objects defined in the header file  <iostream> .  iostream  stands for standard input-output stream. This header file contains definitions to objects like  cin ,  cout , etc. /O Library Header Files There are...