BootLoader of window xp over linux fedora 15 and ubuntu 11.04

today i am searching in the net how we save windows boot loader by killing from fedora and ubuntu
but i did not get sufficient material so i blog today
there are three simple steps
condition : if you want to install fedora 15 and ubuntu 11.04 over windows xp boot loader
then: steps are as follows

1) install windows xp first

2) install fedora 15 then but not select the option for boot loader as /dev/sda
in spite select the partition where you separately load the /boot which may be /dev/sda[1,2,3,4...]
as you boot loader called first boot device and rest install as it is .

for full description see this document then you will understand the phenomenon available

3) but do not restart then open terminal
write
dd if=/dev/sda[1,2,3,4...](your /boot partition) of= fedora.bin(can be any binary filename) bs=512 count=1

4) open your home folder copy the file fedora.bin and paste it to drive c:\

5) then restart the computer it opens with windows .

6) open the boot.ini file placed in windows c folder .here is the link how to open boot.ini file in windows

7) edit at last of this file add the line c:\fedora.bin=”FEDORA 15″(display name you want to see on screen)save this file and restart.

8)restart and insert ubuntu 11.04 cd for UBUNTU

9) install ubuntu 11.04 then but not select the option for boot loader as /dev/sda
in spite select the partition where you separately load the /boot which may be /dev/sda[1,2,3,4...]
as you boot loader called first boot device and rest install as it is .(be careful and remember /boot partition name at that option).this time you can restart

10) this time you are getting three options

a)windows
b)fedora 15

select fedora 15 and open terminal write
dd if=/dev/sda[1,2,3,4...](your /boot partition of ubuntu 11.04) of= ubuntu.bin(can be any binary filename) bs=512 count=1

11)open your home folder copy the file ubuntu.bin and paste it to drive c:\

12)then restart the computer it opens with windows .

13) open the boot.ini file placed in windows c folder

14)edit at last of this file add the line c:\ubuntu.bin=”UBUNTU 11.04″(display name you want to see on screen)

15)save this file and restart.

thank you i am ready to go with algorithms soon sorry for delay

hello world!

this is my first post code called hello world!
my language is in cpp

#include<stdio.h>
int
main()
{
      printf("hello world!");
      return 0;
}

Follow

Get every new post delivered to your Inbox.