Guide To Dual Booting
Guide To Dual Booting
Satyajit Sahoo
funsurf-blog.blogspot.com
Chapter 1: Basics
I often come across people who don't know anything about dual booting. Of course, I didn't know it at first. But now I'm often having more than one OS in my laptop. So here is an effort to describe it, and how it is done.
How it works?
Dual booting requires a program called bootloader. Most operating systems include a bootloader. Windows uses its "Windows Bootloader" while many Linux distros use "GRUB" and "GRUB 2". There exist many other bootloaders such as Lilo etc. When you start your PC, bootloader is the first program that runs. It then displays the list of operating systems installed to choose from. Some bootloaders also have advanced features like terminal access and recovery tools.
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
Prerequisites
To install windows, you need to check if your hardware meets the requirements of the version of Windows you are installing. You must have the installation disc or ISO file of Windows. We've shown how to install Windows 7 here. But the other versions should be similar.
funsurf-blog.blogspot.com
Installing Windows
Installing Windows is fairly easy. You first need to burn the Windows 7 ISO file to a DVD or create a bootable pendrive. Then insert the disc and restart to boot from it. you might need to change the boot order in the BIOS settings accordingly if you want to boot from CD/DVD or Pendrive. When you boot from the Windows 7 disc, you'll be prompted to select the language and the country. After choosing appropriate values, click "Next".
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
If the disc contains multiple versions of Windows 7, you'll be asked to choose a version. Generally 32-bit versions are referred as x86 and 64-bit versions as x64. So choose accordingly. If your RAM is not more than 3GB, there is no reason to choose 64-bit and it is always safer to go with 32-bit as most hardware and software are compatible with it.
funsurf-blog.blogspot.com
The next step would require you to select the Partition in which you want to install Windows. You can click "Drive Options (Advanced)" if you want to create, delete, extend and format partitions. Now choose the desired partition and click "Next". You should assign around 50 GB to that partition in my opinion. You can increase or decrease it according to your needs.
funsurf-blog.blogspot.com
After you click "Next", the installation will begin. It can take some time and the computer will restart many times. I recommend to remove the DVD when the first restart occurs.
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
The next step is to ask for a Host name. It is not the same as username, so don't get confused.
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
When it asks for your time zone, select your appropriate time zone from the dropdown list.
funsurf-blog.blogspot.com
Now after some dialog boxes like asking for username, password etc, the installation will finish. You might be prompted to Activate Windows. You can skip the step if you don't have an internet connection or want to activate it later. If you don't activate, Windows will expire in 30 days.
Now after the installation finishes, you can start using Windows normally.
funsurf-blog.blogspot.com
Installing Ubuntu
First, you have to download the Ubuntu ISO image from the its website. Then either burn it to a DVD or create a bootable pendrive using Unetbootin. Then boot from the disc or pendrive. Then you'll be given options to Try Ubuntu or Install Ubuntu. So lets choose "Install Ubuntu" and proceed.
funsurf-blog.blogspot.com
In the next step, you can check the boxes to automatically download and install updates and multimedia codecs during the installation process.
funsurf-blog.blogspot.com
The next screen will give you different partition schemes. They may vary according to your condition. For example we had only two options. Generally, the options are, 1. Install Ubuntu Alongside Windows 2. Replace Windows 7 with Ubuntu 3. Use Entire Hard Disk 4. Something Else To have more control over our partition scheme, we will choose "Something Else".
funsurf-blog.blogspot.com
The next screen will list all your partitions. You can create, edit, delete and format your partitions here. choose a partition to install Ubuntu. Ensure that the partition has no data on it as we are going to format it.
funsurf-blog.blogspot.com
Select your partition and click Change. In the "Use as" field, choose "Ext4 journaling file system". Check the box "Format the partition" and choose "Mount point" as "/". Now click "Ok". Then click "Install Now" to begin installation.
funsurf-blog.blogspot.com
The next screen prompts you to choose the time zone. You can conveniently click on the map to set your time zone.
funsurf-blog.blogspot.com
You'll be asked more information like keyboard layout and username, password etc while the installation continues in the background.
funsurf-blog.blogspot.com
After providing the required information, you'll be presented with a slideshow describing some best aspects of Ubuntu.
funsurf-blog.blogspot.com
After the installation completes, you'll see a "Installation Complete" dialog. Click "Restart Now" to restart your system.
funsurf-blog.blogspot.com
Now after restart, you'll be presented with the GRUB 2 bootmenu listing all your installed operating system. You'll find your previous Window installation at the bottom.
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
Now, when you restart, you will have the boot entries displayed in Windows Bootloader. Remember that this will only work if your default bootloader is Windows bootloader.
funsurf-blog.blogspot.com
funsurf-blog.blogspot.com
Updating GRUB
If your boot options are different than that displayed in GRUB, you might need to update the GRUB configuration. You can update GRUB simply by issuing the following command in Terminal, sudo update-grub
funsurf-blog.blogspot.com
Removing Windows
If you ever want to remove Windows completely from your system, you just need to format the Windows partition and then Update GRUB. Remember that you should have GRUB as default bootloader.
If you don't see the "Format" option, you need to install "Disk Utility". Simply give the command in Terminal, sudo apt-get install gnome-disk-utility
funsurf-blog.blogspot.com
Removing Linux
Removing Linux completely is also easy. First you have to make Windows bootloader default, if you don't, you won't be able to boot after deleting Linux. Then just delete the Linux partition. To delete the partition, go to "Control Panel > System and Security > Administrative Tools > Create and format hard disk partitions" in Windows,
funsurf-blog.blogspot.com
When the Disk Management window opens, look for the Linux partition and delete it.
funsurf-blog.blogspot.com