How to reinstall grub?
I am using dual OS are Fedora 7 and Windows Vista
When I am running fsck to check/repair file system, I pressed Ctrl + C or Ctrl + Z to quit, but it not work, finally I pressed Power and restart. I get error: Quote:
but when I typed: Code:
root (hd0,2) Quote:
How do I reinstall grub or repair all incorrupted inode at sda3 partition to may be boot the F7? Thank in advance |
Grub appears to be installed and running.
Boot from the install disk and enter "linux rescue" at the boot: prompt. From there you can examine your drives ... fsck etc. This will tell you if the fs has become corrupt. This is where people start rabbiting on about backups... |
Quote:
Code:
mkdir /mnt/temp Quote:
Code:
chroot /mnt/temp /sbin/grub-install /dev/sda3 Quote:
Code:
find /boot/grub/stage1 Quote:
|
mount /dev/sda3 /mnt/temp
ls /mnt/temp ls /mnt/temp/boot i.e. make sure that /dev/sda3 is still your root partition and check the files are still there. |
I had to reinstall grub. I thought I had lost everything. I think I had just installed wine. I found this: http://muhdzamri.blogspot.com/2007/0...ring-grub.html I think in your case it would be /dev/sda3. It worked for me!!
|
Quote:
Code:
ls /mnt/temp I have downloaded the Fedora 7 Rescue CD and login the rescue mode. but I get error: Quote:
|
All times are GMT -5. The time now is 08:31 AM. |