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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-30-2004, 03:38 AM
|
#1
|
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120
Rep:
|
Kernel bootup problem
Mandrake 9.2
2.6.1
When I boot my new kernel I get a blank screen, so I ask lilo vga=ask, when I boot I choose 0. Goes through some stuff then give me this message.
Kernel panic: No init found Try passing init: option to kernel
I have tried going "newkernel init=/bin/bash" but that doesn't work
Am I missing something. The kernel was make from scrach, I didn't use any old configs or anything.
|
|
|
|
01-30-2004, 04:22 AM
|
#2
|
|
Member
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415
Rep:
|
Try using recompile the kernel, using grub
|
|
|
|
01-30-2004, 04:27 AM
|
#3
|
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120
Original Poster
Rep:
|
Quote:
Originally posted by irfanhab
Try using recompile the kernel, using grub
|
lol newbie
since when did a gui really matter when compiling kernels?
lol
|
|
|
|
01-30-2004, 05:57 AM
|
#4
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Fedora
Posts: 28
Rep:
|
Uh, I don't know much about this, but shouldn't the init argument point to the init program (it's in /sbin/init at my home box)? If it's somewhere else on your machine that could explain why your kernel doesn't find it.
I assume that you installed the kernel from sources and not a cooker rpm or something, and that this problem appeared first time you tried your new kernel?
|
|
|
|
01-30-2004, 08:08 AM
|
#5
|
|
Member
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226
Rep:
|
i ran into the same problem last night, after repartitioning my hard drive with partition magic(dual boot XP). if it is not pointing where it needs to be, how to i make point to it. how can i make this whole thing just....go away...and don't say to format my hd or do any sort of rm :-D thnx
|
|
|
|
01-30-2004, 06:55 PM
|
#6
|
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120
Original Poster
Rep:
|
I found out what the problem was or accually why it was doing it. I disabled it and recompiled the kernel, didn't appear again but came up with a load of other errors like
ext3 not supported by the kernel
NFS etc crap
Linux is not working anymore because when I booted Mandrake did some stuff to the partions. So now I can't use it.
If I do compile a perfect kernel what should I expect to see? (only in the gui)
|
|
|
|
01-30-2004, 07:00 PM
|
#7
|
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
i am not sure exactly what you mean by what you will see only in the gui....
but to guess what you mean, my answer would be :
you won't see nothing ... other than no errors 
the machine boots up just normal, just like it does with the other kernel
and i guess when you type
uname -r
you will see the new kernel version, but other than that , that be it ...
|
|
|
|
01-30-2004, 08:31 PM
|
#8
|
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120
Original Poster
Rep:
|
IC
Remind me again why I am upgrading kernel? 
|
|
|
|
01-30-2004, 08:38 PM
|
#9
|
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
only you should know the answer to that 
|
|
|
|
02-02-2004, 02:09 PM
|
#10
|
|
Member
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226
Rep:
|
please people, i still need help.
Ok, i repartitioned my hardrive, giving linux 3 more gigs. now, when linux trys to boot:
kernel panic: no init found. try passing init= option to kernel.
please, how do i fix this? i am using RH9(upgraded from 8). I still have my RH8 cds, but the RH9 cds where somebody elses, and i have no way of contacting him, for now. what should i do? what's the easiest way of fixing this without losing all my files i already have? thnx
jay
|
|
|
|
02-02-2004, 03:26 PM
|
#11
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Fedora
Posts: 28
Rep:
|
Did you try finding the init file? Init is the first program that runs after your system boots. It's hopefully there in your filesystem somewhere! try booting in knoppix/the old kernel or whatever you can do to get access to your filesystem. Find out where init lies in your system, (I would expect it to be /sbin/init, that's where it's _supposed_ to be in RH)
try running your kernel with init=/sbin/init or whatever the path to your init is.
|
|
|
|
02-02-2004, 05:45 PM
|
#12
|
|
Member
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226
Rep:
|
how do i do that though? i think i can get to my filesystem, but only if i boot from cd and use the RH rescue. but still, from there, i don't know where to go and what to do. i have found a few forums in here that talk about this, but when i try to follow what they are talking about, i keep running into trouble. if i do a RH update, even though i going from 9 to 8, do u think it would help me get passed this problem? and then possibly when i get RH 9, i just do the upgrade again?
|
|
|
|
02-03-2004, 01:39 AM
|
#13
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Fedora
Posts: 28
Rep:
|
I doubt that the installation CD will allow you to do a "reverse upgrade". Have you tried booting with the boot disk?
You did make a boot disk didn't you? :-) If you didn't, you can probably do it easily with your rh8 disks, it offers to make one at the end of the installation (just choose to install nothing).
It's worth a try, but I don't think bootdisk will work if your init is missing or corrupted. Your best shot is really a knoppix disk or another system rescue tool. If you don't have one, it's a good investement in time and money to get one anyway.
You could just guess about the whereabouts of init without looking at the filesystem. Try init=/sbin/init first. If that doesn't work, try init=/bin/init. If that doesn't work either, try googlling for linux init or something, try to find out where it could possibly be on your system. In the worst case, try putting a new init on your system somehow - I have no idea if that will work, it may break something, but it's what I would try.
|
|
|
|
02-03-2004, 06:31 AM
|
#14
|
|
Member
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226
Rep:
|
well, your right about trying to upgrade, acctualy, i can even install again. it says that it can't find the device period. i get stuck where it asks about my partitioning. why would repartitioning my hardrive make my linux and RH8 cd's not even know my hd is there? this is so wierd. i think i'm going to end up formatting the entire system, and install ONLY linux on the entire thing. mabe, MABE, i'll save a few gigs for windows, only for the very few programs i wish to run on it.
but either case, i still would like to know why it's doing this. i would like to recover all my files before erasing everything.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|