LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bootloader problem in fedora with windows (https://www.linuxquestions.org/questions/linux-newbie-8/bootloader-problem-in-fedora-with-windows-425681/)

anupamcbr 03-17-2006 04:34 AM

bootloader problem in fedora with windows
 
Hi guys
I have Fedora core 4 in my system later I installed win.XP as a result my bootloader GRUB corrupted so I am unable to boot to linux. I tried to reinstall bootloader by inserting linux CD-ROM and running linux rescue mode .i chrooted to /mnt /sysimage and issued command “grub-install /dev/sda1”as my hard disk is SATA and boodloader was in sda1. I got message
/sbin/grub : command not found
and nothing happens after existing rescue mode so what should I do .

TruongAn 03-17-2006 08:43 AM

Grub-install is just a script.
So if it didn't work, let try to install by grub it self
First run the command
Code:

grub
This will give you a grub console where you can type grub command.
The type
Code:

root (sd0,0)
setup (sd0)

This command worked on my PATA drive however, I haven't try it on SATA since I don't have SATA


All times are GMT -5. The time now is 03:18 PM.