Monday, June 8, 2009

Dual Boot: install Ubuntu 9.04 beside M$ XP

Hi all,
Today i am going to write a simple and easy tutorial fro beginners, that how to install Ubuntu with M$ XP already installed on your machine.
Before starting the points, user should be sure, that there is enough space which will be unallocated.
For doing all these, you can use software like "Partition magic" in XP. We need around 20GB space.
I am not going into more details about "partition magic" here, that how to do that. You can search web for it, Google is your friend in this. OR you can use the help file from partition magic itself.

So lets start...
1st of all boot from LIVE Cd of Ubuntu 9.04, which i think you already have now. If not, then you can download it from Ubuntu website. Download page here.

NOTE: Sorry, i don't have snapshots for it this time, next time i will try to put snapshots too. But hope, his guide will be easy enough without snapshots.
1- After booting from LIVE cd, click on "install" icon which is on desktop. and select your language and press "forward" button.
2- Select time zone region and click "forward".
3- In this step, select your keyboard type, usually it is 'USA' and click "forward".
4- The next screen is about the partitioning. Choose "Specify partitions manually" and click "forward".
5- This screen will show you the partition structure.
We will create two partitions on the unused free space with swap (2GB).
- One for root file system (around 10GB)
- 2nd for home. (4GB)
At the time of installation my partition looks like this:
sda1 ntfs (this is drive C by default)[windows]
sda5 ntfs (this is drive D)[windows]
free space
I had 16GB to distribute among swap,root,home.
i- 1st create swap, just select the free space and click on new partition.
Swap is always double of your RAM, or equal but not less. I choose 2GB, my RAM is 1.5GB.
ii- Now create home and then create root.
More details: howto partition:
For each new partition, select the free space. Click on the New partition, then enter size for the current partition. Then choose filesystem, then home or root from the mount point drop down menu.
/ represents root, and /home represents home.
I hope, i make it clear enough to create new partitions.
6- If you are done successfully with the above step, next step is to set mount point for your windows partition.
7- Now select ntfs partition(mostly it is sda1) and click on "Edit partition" and choose:
- Don't change partition size.
- Use as : "ntfs" from the drop down menu.
- Don't tick format partition.
- Set mount point to "/windows".

Till here, you are done with the most complicated part in the installation.
8- Click "forward" to go to the next step.
NOTE: on clicking, it will ask for your D partition(if you have) that it has no mount point. Just ignore it.
9- Enter all details here in this step regarding your profile.
10- In this step you can import data from your windows OS. Its upto you here.
11- Now is the time to click "install". And let Ubuntu do the rest for you.
NOTE: Make sure, that every thing in the setup went fine b4 clicking "install".
12- Restart your machine after the installation process.

And You Are DONE!!!

After Installation:
IMPORTANT: Ubuntu did not create any root password for you by default, i don't know why they did not add this feature.
So to do that, open terminal and type:
sudo passwd

It will ask you for your password, enter your user password. After that enter twice your root password. And that's it.

Hope, this guide will help you through the process of installation.

ANL

No comments: