LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing Grub config at boot to prevent Kernel panic (https://www.linuxquestions.org/questions/linux-software-2/changing-grub-config-at-boot-to-prevent-kernel-panic-434566/)

neelay1 04-12-2006 02:29 PM

Changing Grub config at boot to prevent Kernel panic
 
Hi all,
I need to change "sda" to "hda" in my grub conf file. This is because my hard drives are plain IDE and not SCSI. Since I have sda in by grub conf file, the kernel goes into panic mode and reboots after 60 secs when I try to start the machine.
In order to change "sda" to "hda", I boot the machine and hit "e" on the selected kernel. On doing so, I see the following lines-
root (hd0,0)
kernel /vmlinuz-2.4.27 ro root=/dev/sda3 vga=extended panic=30
I then select the second line and hit "e" to edit again. On the Grub Edit line, I change "sda" to "hda" and hit enter to go back to the previous screen. When I boot from this kernel, the changes are not saved and the kernel again goes into panic mode.
Any ideas on what I'm doing wrong here?

Thanks,
Neelay.

NNP 04-12-2006 02:34 PM

instead of going back to the previous screen just press 'b' to boot once you've made the change

neelay1 04-12-2006 03:00 PM

Thanks, works now.


All times are GMT -5. The time now is 09:39 PM.