LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Changing Grub config at boot to prevent Kernel panic (http://www.linuxquestions.org/questions/linux-general-1/changing-grub-config-at-boot-to-prevent-kernel-panic-434567/)

neelay1 04-12-2006 03:30 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.

neelay1 04-12-2006 04:18 PM

Figured it out...
after making changes to the line, hit 'b' to boot directly from it. Then after the machine boots, goto /boot/grub/grub.conf and change "sda" to "hda".

XavierP 04-13-2006 04:13 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 06:00 PM.