LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-12-2006, 03:29 PM   #1
neelay1
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
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.
 
Old 04-12-2006, 03:34 PM   #2
NNP
Member
 
Registered: Nov 2004
Distribution: Debian/Ubuntu
Posts: 156

Rep: Reputation: 30
instead of going back to the previous screen just press 'b' to boot once you've made the change
 
Old 04-12-2006, 04:00 PM   #3
neelay1
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks, works now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic after changing initrd for bootsplash bvdeynse Debian 5 06-18-2007 02:15 PM
kernel panic when changing boot location from hdb to hdd loninappleton Linux - Hardware 7 11-08-2005 04:48 PM
"Prevent firmware from being built" safe to uncheck in kernel config? rollo Linux - General 0 10-28-2005 08:16 PM
Prevent Kernel Boot Messages 3saul Linux - Software 1 10-09-2005 12:56 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration