Jump to content

boot linux with XP

Recommended Posts

To keep the mbr intact, at the fedora installation, in the bootloader avanced option select to

install the bootloader to the first sector of the / partiton (/boot). when installation complete

you can install from fedora with linux rescue or from windows xp with Wingrub.


Put the first cd of linux (fedora) in the boot prompt type:

linux rescue

follow the instructions untill you get the login prompt, to change to your linux system , type:

chroot /mnt/sysimage

open the /mnt directory to open your linux system, now copy the first sector of your /boot

partition to the current directory with:

dd if=/dev/hdax of=bootsect.lnx bs=512 count=1

need to copy the bootsect.lnx to C drive, to mount the C drive, make a directory in


mkdir /mnt/windows

mount the C drive on /mnt/windows:

mount -t vfat /dev/hda1 /mnt/windows

if the file system is ntfs change the vfat(fat 32) to ntfs, to copy run the command:

cp -fv bootsect.lnx /mnt/windows

other way is to copy the bootsect.lnx to any removable media like floppy and then to the

C drive.


Start windows xp, open the dos, change to the C drive, open the boot.ini in the notepade:

C:\>notepade boot.ini

add this line to the boot.ini:


save and exit,this will add the linux to windows xp ntldr.


:P johnny06

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...