STEP 1
Install UBUNTU in your machine.
STEP 2
Create a partition to install XP.
Now we must create a space on the hard drive for XP, so this means resizing the Ubuntu partition. Restart the system using the Ubuntu Live CD as it gives you access to GNOME Partition Editor. When loading the CD, select "Try Ubuntu without any change to your computer.
Right-click on the main data partition which has been formatted with ext3 - it should be /dev/sda1 - and select "Resize/Move"
Move the cursor to the right to reduce the ext3 partition and create free space on the hard drive, which will take the XP NTFS partition. Make sure the space is large enough to hold XP (at least 2 GB - preferably 5 Go). Then click "Resize / Move" to confirm the selection, and "Apply" to return to the main screen to make the change under-way.
STEP 3
Install Windows XP to Your Machine.
STEP 4
Restore the GRUB boot loader
Once XP has been installed, it will boot happily into XP but there's no sign of Ubuntu. To reinstate GRUB as the system bootloader it needs to be reinstalled into the MBR.
Boot the system from the Ubuntu Live CD and select "Try Ubuntu without any change to your computer".
To enter the GRUB configuration mode, type in "sudo grub" and press Enter. Then type in the following commands in sequence:
- root (hd0,0)
- setup (hd0)
- quit
- exit
STEP 5
Change the menu.lst file in /boot/grub directory.
Go to the grub directly using terminal then type sudo nano menu.lst.
then Edit it as follows and save the file.
Scroll down to the bottom of the file and type in the following text strings:
title Windows XP
root (hd0,1)
makeactive
chainloader +1
Save the file and reboot. When the GRUB loader launches hit ESC for the boot menu. Windows XP is the last option - select it and XP will load.
If you want to make the GRUB menu always available, boot back into Ubuntu and edit the MENU.LST file. Find the hiddenmenu text string and change it to #hiddenmenu.
To increase the menu timeout, change the default timeout 3 to something more appropriate.
Install Windows XP after installing Ubuntu
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 3:41 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment