LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Booting problem (https://www.linuxquestions.org/questions/linux-software-2/booting-problem-469298/)

cool123 07-31-2006 02:47 AM

Booting problem
 
Hai all. I have installed Xp and Red Hat Enterprise Linux ver3.0 on my system. One day I have to reinstall Xp for some problem. So, I have formatted Xp partition and reinstalled. After that i am not able to select linux.(not able to select GRUB boot loader) system is directly booting with xp. Please help me that how to rectity my problem. I have some imp. files on linux partition. I dont want to reinstall linux again.

Advanced thanks for your valuable suggestions.

konsolebox 07-31-2006 02:58 AM

There are already many topics about this problem. Just search for a thread using the search feature or browse the general category and you'll surely find one.

By summary, you just need to reinstall your boot loader, e.g. grub. To do this, you can boot from a livecd then on the prompt, do
Code:

mount /dev/hdaX /mnt/anydir; chroot /mnt/anydir /bin/bash
then re-install grub from there. If you have no idea how to install grub, 'info grub' will do.


All times are GMT -5. The time now is 01:31 PM.