LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   duel boot problem (https://www.linuxquestions.org/questions/linux-software-2/duel-boot-problem-177015/)

pug 05-02-2004 02:00 PM

duel boot problem
 
windows wasn't working so i reinstalled it and now i cant get to red hat linux . how do i get the back to the boot to pick what operation system to log onto

david_ross 05-02-2004 02:04 PM

Windows has overwritten your MBR.

To reinstall Grub on the MBR:
1) Insert RedHat CD1 and reboot
2) At the "boot:" prompt type "linux rescue"
3) At the prompt change you system root "chroot /mnt/sysimage"
4) Install Grub "/sbin/grub-install /dev/hda"

feend 05-02-2004 02:07 PM

Use a live cd to boot. Then chroot to get to your linux system. (If your system is on hda2 then you would chroot /dev/hda2.) You don't need X. Then from a root login rerun lilo. W/ grub I would think you would have to do the same. But just reistall grub to the MBR.
Hope this helps!
Feend


All times are GMT -5. The time now is 09:37 AM.