hi friends how to reinstall the grub.conf file. once i
delete the grub file in perminatle ofter how to get back
that file.
plz send me ans.

regards.
madhu.m

Answer Posted / sudhir

First go to linux rescue mode through booting from Ist Cd
boot:linux rescue
the after few option given by the recue environment
it comes on sh prompt.
sh#
then type
#chroot /mnt/sysimage
#fdisk -l (to see the what is the exact device file of HDD
eg. /dev/hda)
#grub-install /dev/hda
#sync
#sync
#sync
#exit
#exit (system reboots)

now its done !!

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep command in linux with examples?

552


How do I use nslookup in linux?

509


How do you create a text file in linux terminal?

523


What is the purpose output of cd command?

580


You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?

565






What does chmod do in linux?

548


What does pwd mean in linux?

548


Explain the working of command grouping?

545


What is the difference between locating and locate command?

529


What are the 7 types of sentences?

563


What are runlevels in linux?

524


What is cd command used for?

564


What could possibly be the problem when a command that was issued gave a different result from the last time it was used?

538


How often do you use grep command and how in Linux operating system?

537


What language is a makefile written in?

523