boot linux with XP - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Fedora (https://www.linux-noob.com/forums/forum-94.html) +---- Forum: Fedora Core Release 4 (https://www.linux-noob.com/forums/forum-42.html) +---- Thread: boot linux with XP (/thread-2155.html) |
boot linux with XP - jsn06 - 2006-02-15 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 boot linux with XP - PHiSQuaRE - 2006-02-19 ... |