2006-02-15, 09:27 AM
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
/mnt/windows:
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:
C:\bootsect.lnx="Linux"
save and exit,this will add the linux to windows xp ntldr.
:P johnny06