[olug] Kernel panic

Brian Roberson roberson at olug.org
Sat Sep 20 05:44:27 UTC 2003


before I throw out comands - I must warn that I am going on 30 some hours of no sleep.... and about a 12 pack of beer.....


at the lilo: prompt type...

linux root=dev/hdb? single

^ "linux" : or whatever kernel option is default
                 ^ "hdb1" : whatever partition is your root
                      ^ "single" : go into single user mode

once your up in single user mode with / mounted ( and that will be the only thing mounted )....
mount -o rw / ( remount / with read/write )
vi /etc/fstab and edit /dev/hda? and replace with /dev/hdb? ( a-> primary/master ide b->primary/slave drive )
then edit /etc/lilo.conf to check if there are _any_ references to the /dev/hda disk and change acordingly
rerun lilo and your then should be able to to get where you were before the switch....



just out of curiousity... why did you decide to move your drives around?



On Fri, Sep 19, 2003 at 11:12:58PM -0500, G.M. wrote:
> Hi 
> 
> I rearranged the drives in my computer now upon bootup I get this error message>Kernel panic:No init found.Try passing init=option to kernel.My drives were IDE primary=80 GB HDD master,20 GB HDD slave and IDE secondary dvd writer master,dvd drive slave.Now it is IDE primary 80 GB HDD master,dvd writer slave IDE secondary 20 GB HDD master,dvd drive slave.I'm pretty sure the problem is due to my changing the drives around so now linux doesn't know where to find the right drive.What do I need to pass to the kernel to boot up and once I'm in linux how can I fix this?If I can at all.
> 
> 
>                 Thanks,Gary Martin
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


More information about the OLUG mailing list