I recently deleted some partitions from my disk using fdisk , and they had nothing to do with my active OS , but at my next reboot , my system started giving kernel panic.
The problem was that the deleted partitions were like hda5, hda6 etc and the partition where my OS was loaded was something like hda10,hda11 etc.Once the others were deleted , the partitions got renamed while menu.lst and fstab was as per the old numbering of the partitions.
I went into single user mode , edited grub and fstab , and rebooted , but then on it got stuck at grub prompt.
When i entered the parameters for root, kernel and initrd in grub and gave boot , it worked , but again at reboot it stood at grub.I tried rebooting after ensuring all changes were properly affected in grub.conf , menu.lst and in fstab(I use SUSE at home) but it still got stuck at grub.every time I entered the parameters and gave the boot command it worked ,but when the same thing was written in menu.lst it did not accept it.
Finally I reinstalled grub from the normal prompt after booting from grub and rebooted and things were back to normal.
Now my system works fine.
No comments:
Post a Comment