LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2003, 03:45 PM   #1
tgkspike
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
Kernel Panic


Red Hat 9 will not start and I get a message saying - "No init found. Try Passing init=option to kernel"

What does that mean and how do I fix it? I am a newbie at this (first time linux install 1 day ago) so please explain step by step.

I have Windows Xp and Red Hat 9 dual booted. How do I set Windows to be the default when Grub (.93) starts? I understand what to change, I just do not understand where to go to change the settings.

Would Mandrake Linux be better for me to install because I am a newbie at this? I have heard Mandrake is easier to use than Red Hat. If yes how do I go about uninstalling Red Hat?

Thanks for any help.
 
Old 08-20-2003, 04:10 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
Quote:
Red Hat 9 will not start and I get a message saying - "No init found. Try Passing init=option to kernel"

What does that mean and how do I fix it? I am a newbie at this (first time linux install 1 day ago) so please explain step by step.
hard to explain but after the kernel has finished booting it loads and runs a process called init, init starts everything else. this error means that for some reason the kernel cant find/load init(usually located at /sbin/init) as for how to fix it depends on the cause, probably easier for you to reinstall.

Quote:
I have Windows Xp and Red Hat 9 dual booted. How do I set Windows to be the default when Grub (.93) starts? I understand what to change, I just do not understand where to go to change the settings.
assuming redhat hasnt put it somewhere stupid, the file you want to change is called menu.lst and its normally found in /boot/grub/

Quote:
Would Mandrake Linux be better for me to install because I am a newbie at this? I have heard Mandrake is easier to use than Red Hat. If yes how do I go about uninstalling Red Hat?
personally i believe all rpm based distros - redhat, mandrake, suse, etc attempt to be windows clones, and hide the details of whats going on, making it difficult to get a real understanding. i would suggest if you want to learn linux then try slackware. as for uninstalling, when you install something else you just delete the partitions you made with redhat.
 
Old 08-20-2003, 04:12 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
setting grub to boot windows as defult, on Redhat the file to change is /etc/grub.conf

Theres a line
default 0

It may or may not be there, you can simply add it anywhere near the top. change it to point to Windows. Remeber count starts at 0.
 
Old 08-20-2003, 04:29 PM   #4
Geosharp
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 7.3
Posts: 13

Rep: Reputation: 0
Although I use SuSE and LILO, I still reckon I may be able to help.
I got this messgae, and after hours of messing around looking for the cause, the answer was that when I upgraded my distro, it has misconfigured LILO, stting the wrong partition as the boot partition.
Therefore i'd look at your grub config file (/etc/grub.conf by the sounds) and make sure the root partition is right. This can however only be found from within linux, so either use the red hat bootable CD, and looking at the hard disks partition table or a rescue disk of some sort to boot up using to then find out by typing 'cfdisk' or something similar to have a look at the partition table.
What you are looking for is the partition name, it will be /dev/hda* where * = the partition number, and 'hda' means the first hard disc drive.
I hope this helps, as it is quite complicated to explain, but isn't too bad to actually do.
Good luck :-)
 
Old 08-20-2003, 05:20 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
With Grub to change what is booted you can edit the file on the fly. Although it won't be permamnt

When Grub comes up type e this will let you edit what Grub does.

Go down to the line that starts root, and kernel and edit it to match what Geosharp mentioned above, They should look something like

root (hd0,4)
kernel /vmlinuz-2.4.21-sorsha1 root=/dev/hda6 vga=10 /dev/hdd=ide-scsi

Edit:
root(hd0,4) points too /boot not root. root=/dev/hda6 points to / (Since they're diffrent partitions on my comp) Sorry if the previous post caused confusion.

The /dev/hdd= id for my CDRW, the vga=10 is just to change the resoluion of the consoles so its not important.

Once you've got this right and Linux loads, you can change the /etc/grub.conf file (in RedHat /boot/grub/menu.lst is a symlink to this file).

If you need help finding what the settings for root should be. tell us how your HD is set up, and we can tell you the settings.

Last edited by leonscape; 08-20-2003 at 06:59 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:25 PM.

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