Thursday, February 1, 2007

How Dual boot Fedora (core 6) Linux and Windows Vista or windows XP?

Easiest way to dual boot is first you need to install windows vista (or XP) then install Fedora and use GRUB as a Bootloader.

Well difficult part come when due to any reason you decided to reinstall Vista and after that you found you are not able to boot fedora any more. Reason is that Vista(or XP) Overwrite MBR during installation and using windows bootloader.

Below are the steps to reinstall or using GRUB ones again as a default bootloader.

First you need boot your system using Fedora bootable CD

At boot prompt type linux rescue

Then follow the step on the screen when prompted let installer search Linux installation.

After successful search you linux installation will be available under the directory

/mnt/sysimage

then use chroot command in shell prompt # chroot /mnt/sysimage

then use another command # cd /boot/grub

to determine your hard disk device name use following command

# grep’#boot’ grub.conf

for example command give us output

# boot=/dev/hda

then you have to use following command to install GRUB

# grub-install /dev/hda

Last step Reboot your system

Cheers you will now use both OS

No comments: