July 16, 2019, 07:57:13 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Recovery from Grub crash :(  (Read 6231 times)

Offline newindkid

  • New Member
  • Posts: 2
Recovery from Grub crash :(
« on: July 26, 2004, 10:15:19 AM »
Hi,

I have got Toshiba satellite note-book.
Now it had stopped booting becuase of some power disruption.
I am getting
"grub>"
and not booting the kernel.

on pressing tab it is showing some commands.
I am helpless.

 :(

System is Fedora-Red Hat
Kernel version probably:  2.4.2

Please help

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Recovery from Grub crash :(
« Reply #1 on: July 26, 2004, 10:27:59 AM »
Well.. see previous post on recovering grub from Linux Rescue !!

Ok see Recovering Grub

Offline newindkid

  • New Member
  • Posts: 2
Recovery from Grub crash :(
« Reply #2 on: July 26, 2004, 10:37:38 AM »
I did that already.
But no command in that post is working for me as there are only some particular commands are available.

Possible commands are:

background   blocklist  boot  cat   chainloader  clear  cmp   color  configfile
debug   displayapm    displaymem  embed   find  foreground  fstest
geometry  halt  help  hide  impsprobe  initrd  install  iorobe  kernel  lock
makeactive  map  md5  crypt  module  modulenounzip  pager  partnew
parttype  password  pause   read  reboot  root  rootnoverify savedefault
serial  setkey  setup  splashimage  terminal  terminfo  testload  testvbe
unhide   uppermem  vbeprobe

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Recovery from Grub crash :(
« Reply #3 on: July 26, 2004, 10:51:34 AM »
What you have to do is  boot from "linux installation CD" then at boot prompt type
Code: [Select]
linux rescue
Then it will search for previous installation and if it founds it.. (it will find if your system is not under serious problem) then will ask to mount and under /mnt/sysimage . . Say yes

Then type
Code: [Select]
chroot /mnt/sysimage
then type
Code: [Select]
grub-install /dev/hda
PS: I have not done that from long time ... i am sure all is given in order but do use your common sense when you do at ur place.. it is easy to follow there..

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
Recovery from Grub crash :(
« Reply #4 on: July 26, 2004, 02:21:56 PM »
You may like to see these topics:
Linux Dual boot problem

Offline siddhesh

  • New Member
  • Posts: 1
recovery from grub
« Reply #5 on: January 04, 2005, 05:31:27 AM »
Grub Recovery:

Put the installation cd in the cdrom.thereafter ull get a prompt "boot:"
on this prompt type "linux rescue" . it will srtart linux in rescue mode.
then it will moount your filesystem in /mnt/sysimage directory. type
"chroot /mnt/sysimage" .now ull get a prompt. type "grub-install /dev/hda"
and press enter. it will show you the different partitions on the systems. this means that ur grub is recovered.now reboot.