Dual Boot WinXP SP3 and Ubuntu 9.04 (Linux )

The process of dual booting Windows OS like Vista, XP, 98 etc  is very easy, as the Windows bootloader itself takes care of the process. But if you want to dual boot any Linux and Windows, it’s a gruelling task. So, here is a how-to sheet for dual booting WinXP and Ubuntu 9.04 ( a flavour of Linux).

1. See how I installed WinXP and Ubuntu on different partitions.

 Dual Boot WinXP SP3 and Ubuntu 9.04 (Linux )

2. First, partition your hard drive appropriately to suit the dual booting. There are many ways of partitioning, but the method I used has no problems. IMP: It’s always better to install XP first and then install Ubuntu later. If you’ve already created partitions after XP installation, just use Easeus Partition manager to create free space of 15gb for linux installation. Partitioning hard drive will help you , how to do it.

3.  I partitioned my 40 GB hard drive in  such a way  that, there is XP, XP – Programs, Linux-ext3, fat32, linux-swap partitions. I divided 40 GB as follows.

·         XP– 13 GB ( This is the primary partition, where I installed XP )

·         XP– Programs– 7 GB. ( This is where I install XP software)

·         Linux. ext3 – 10 gb.( ext3 is file journal system just like NTFS/FAT for Windows. This is also primary partition where I installed Ubuntu linux.)

·         fat32– 7 gb.( This is a common partition for both Windows and Linux to share. Linux can read from NTFS systems, but cannot write. So for to write, it has to be a fat32 system)

·         linux.swap– 2gb. (this is linux swap partition required for linux system usage– can be very small partition)

IMP: Once again, install WinXP first and then install Ubuntu. I hope you know how to install WinXP. So I’m assuming that you already installed WinXPsp3 on your system, according to the above configuration. Now get ready to install Ubuntu 9.04.

4. Download the Ubuntu latest version "Jaunty Jackelope", version 9.04 from here. http://www.ubuntu.com/

5. Go to this link and watch the video for partitioning and
installing Ubuntu 9.04.

V.Imp: Remember to install the Grub bootloader to the linux partition itself ( not to the XP partition). DO NOT INSTALL GRUB in the Master Boot Record (MBR)!

6. After you finish installing Ubuntu and the Grub bootloader to the Linux partition itself, follow these steps to dual boot linux and xp. As a hint, the option for installing the Grub bootloader comes during Ubuntu installation somewhere in between, with the Advanced option.

7. Download SystemRescueCd. The latest stable version currently is 1.2.3 and is aprroximately 236 MB in size. You can directly download the latest stable version at this link. https://sourceforge.net/projects/systemrescuecd/files/sysresccd-x86/1.2.3/systemrescuecd-x86-1.2.3.iso/download. Also, you can go to the homepage Linux System Rescue CD and follow the download link on the sitemap. After downloading, burn the ISO to a CD using standard ISO conversion tools like Nero, gBurner etc. Make your BIOS to boot from CD and boot the System Rescue CD.

8. Use Linux system rescue CD, to mount the share partition i.e fat32 drive. You have to find the terminal for typing some commands, once you are in. The following commands will let you create the Ubuntu bootloader that can be used with XP.



# mkdir /mnt/share

# mount -t vfat /dev/sda7 /mnt/share

# dd if =/dev/sda6 of=/mnt/share/ubuntu.bin bs = 512 count=1

# ls -l /mnt/share



sda7 = fat32 partition name

sda6 = linux partition name.

You have to replace these names with your concerned device numberss. To know what are your drive names, use the QTParted to see the device number, or check any other tool which lets you see the drive numbers. Now, there should be a “ubuntu.bin” file on the fat32 or shared partition.

9. Now reboot to windows.

10. Copy the “ubuntu.bin” to the windows drive. For eg. If C:\ is where XP is installed, copy “ubuntu.bin” to C:\ drive. Edit the “boot.ini” file and add C:\ubuntu.bin = “Ubuntu 9.04” to allow the Bootloader to show Ubuntu in the boot options.

11. That’s it! Voila! You are now having WinXP and Ubuntu 9.04 options in your boot screen. If you still want a detailed explanation of the above and other solutions to your problems, check this article. Matthew J. Miller’s Article

share save 256 24 Dual Boot WinXP SP3 and Ubuntu 9.04 (Linux )

Related posts:

  1. Windows 7, Vista : Boot Error
  2. Increase Boot Speed for Windows Vista or 7
  3. Windows 7 Partition Hard Drives
  4. Windows 7, Vista ShutDown Faster!
  5. Windows 7 RC Download & Requirements
  6. Twhirl! Twitter Desktop client!
  7. uTorrent 1.8.2: Optimum Speed
  8. Format Factory 2.0! Free Software to Convert VCD/*.dat TO DVD/*.vob

  • http://www.blogger.com/profile/05862286330800569191 Ramarao

    Hi Hrach, thanks for commenting. Well, I understand you are saying about installing Ubuntu inside windows. Well, I'm talking about installing Ubuntu and windows separately on the hard disk, not on a virtual disk. So anyway there are different ways of installing Ubuntu and Windows, and mine is one way.

  • Hrach

    Why not to use Wubi. It installs Ubuntu from Windows, on the virtual disk which is mounting during booting.
    In this case, there are no problems with windows or linux boot loaders.

  • http://www.blogger.com/profile/05862286330800569191 Ramarao

    hi,
    thanks for the comment. But what you said holds good, if you know how to configure the linux bootloader. But installing Linux and their bootloader in MBR creates problems. If you install the bootloader to the linux partition itself, it is easy.And my tip holds good still for WIN XP, which is one way for dual booting with WIN XP.Also i agree if its Vista or Win7, the EasyBCD software gives easy way of configuring the bootloader.

  • Anonymous

    It is much easier to install and use GRUB or LILO. Why shoudl I bother with your tricks? Check my way:

    Create partitions
    Install Win – allways first!
    Install Linux/unix with their bootloader in MBR
    Finished.

    Linux bootloaders are fully configurable and very easy to use.
    This way, after boot, the win-bootloader is called first, then GRUB. No need to do it. If you want win as default OS, just tell GRUB when installing.