LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-12-2006, 02:31 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:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 04-12-2006, 03:20 PM   #3
neelay1
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Sorry for the trouble, will keep that in mind next time.
For people searching for answer on this forum-

After making changes to the line in Grub edit, hit 'b' to boot directly from it. Then after the machine boots, goto /boot/grub/grub.conf and change "sda" to "hda".
 
Old 04-12-2006, 03:50 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
This thread is closed. For future discussion plase use http://www.linuxquestions.org/questi...d.php?t=434567
 
  


Closed Thread


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
Changing Grub config at boot to prevent Kernel panic neelay1 Linux - General 2 04-13-2006 03:13 PM
Changing Grub config at boot to prevent Kernel panic neelay1 Linux - Software 2 04-12-2006 03:00 PM
kernel panic when changing boot location from hdb to hdd loninappleton Linux - Hardware 7 11-08-2005 03:48 PM
Prevent Kernel Boot Messages 3saul Linux - Software 1 10-08-2005 11:56 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration