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

Answers were Sorted based on User's Feedback



hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter ho..

Answer / amit kumar ghosh

Simply boot with bootable disk or u can use other media for
boot.
#linux rescue
then it wl take u to rescue mode,then
#chroot /mnt/sysimage.
then
#grub-install /dev/sda,then exit.

Is This Answer Correct ?    7 Yes 2 No

hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter ho..

Answer / ayjaz khan

you can restart linux in rescue and find the primary boot
partion and give the followint command .
#grubinstall <partion name>

my email is = ayjaz.25@gmail.com

Is This Answer Correct ?    4 Yes 4 No

hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter ho..

Answer / 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

hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter ho..

Answer / velu

go to linux rescue mode then.to reinstall grub.conf follow this one of the method..
1)check that grub.conf exists r not.
check in the cmd pmt about older kernel version,then install same kernel and enjoy...then automatically you will get grub.conf

if not then install grub by this method;
if it has server with nfs image then select user mode 1
for eg:
chroot /mnt/sysimage
grub install /dev/sda
exit
then type grub
grub> root (hd0,0)
grub> setup (hd0)
quit
restart

Is This Answer Correct ?    2 Yes 4 No

hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter ho..

Answer / velu

go to linux rescue mode then.to reinstall grub.conf follow this one of the method..
1)check that grub.conf exists r not.
check in the cmd pmt about older kernel version,then install same kernel and enjoy...then automatically you will get grub.conf

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Linux Commands Interview Questions

Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.

7 Answers   HP, IBM,


What is top command in linux?

0 Answers  


Why ms dos is used?

0 Answers  


How do you kill a process in linux?

0 Answers  


How will retrieves incoming mails from different web sites

4 Answers   HP, Wipro,






How to root mirror in Linux? How to replace mirrored hdd in case of failure?

1 Answers   Siemens,


what is the command To print script arguments

4 Answers   Google,


Set the Display automatically for the current new user ?

3 Answers  


How do I clear bash history in linux?

0 Answers  


What is tty in linux command?

0 Answers  


How do you do nslookup?

0 Answers  


What are grep commands?

0 Answers  


Categories