LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install a deleted boot loader (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-a-deleted-boot-loader-151956/)

munna_502 02-29-2004 04:05 PM

How to install a deleted boot loader
 
hi
I was using windows xp and Red Hat 9 in dual mode.but my windows installation was corrupted.and i again install windows xp,by this my boot loader was deleted and i have no option to choose the operating system.plz help me how i will get back my boot loader back.i don't want to destory my linux data.plz help me quickly i have to submit my linux projet to my college.
thanks for reading

michaelk 02-29-2004 04:10 PM

To reinstall the bootloader:
Boot the 1st install CD and select rescue mode
Enter the following commands
chroot /mnt/sysimage
grub-install
reboot

BTW the answer has been posted numerous times. Did you search the website first?

andrewlkho 03-01-2004 03:54 AM

Or, if you're using LILO,
/sbin/lilo
is the command that you awnt


All times are GMT -5. The time now is 06:45 PM.