How to install a grub boot loader in rescue mode
some one deleted completely boot directory.I want to install grub boot loader and other deleted files and directory.
I tried boot from rescue mode using DVD ROM
1. I selected a linux rescue and
2. chroot /mnt/sysimage
3. I selected shell prompt and entered the command
getting /sbin/grub: Not fount
and also i tried
getting no such file or directory
please help me out
You forgot to indicate which distribution of Linux you are using and which version of Grub. If the Grub files were all deleted, you need to put them back. Boot the DVD of the system you have installed and copy the Grub files to /boot/grub. The are usually in the /lib/grub or /usr/lib/grub directory.
2.How to find grub version because i can't able to boot my computer
I don't know why you would get a 'no such file or directory' message for /sbin/grub or /sbin/grub-install although I would not expect either to work in your circumstance.
|All times are GMT -5. The time now is 10:00 PM.|