LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Reply
  Search this Thread
Old 07-07-2003, 05:44 AM   #1
haiprakash
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Question Kernel Panic


Dear friends & experts,

This is prakash from India.

I have a server (Redhat 8.0) and a client(Redhat 9.0) . My aim is, to mount a file system which is exported already in the Server as Client's root file system (Redhat 9.0). In the server i have a distribution in the path /prakash/i386.

I tried the following way.

I put the following entries in /etc/lilo.conf of Client:

image="/boot/vmlinuz-2.4.20-8" //Build kernel
label="Prakash"
append="nfsroot=192.168.1.102:/prakash/i386" // this path has the distribution. (192.168.1.102 - server system)
read-only


If i boot the system with this setup, the System shows that

.......
Freeing initrd memory : 145k freed
VFS:Mounted root (ext2 filesystem).
RedHat nash version 3.4.42 starting
Loading jbd.o module
Journalled Block Device Driver Loaded
Loading ext3.o module
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
Mount: error 6 mounting ext3
Pivotroot: Pivot_root (/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
Freeing unused kernel memory:132k freed
kernel panic: No init found Try passing init= option to kernel.



I surfed the net and put some entries in /etc/lilo.conf (client) like this :

i)
image="/boot/vmlinuz-2.4.20-8"
label="Prakash"
initrd="/boot/initrd-2.4.20-8.img"
append="nfsroot=192.168.1.102:/prakash/i386 init=/bin/sh"
read-only

ii)
image="/boot/vmlinuz-2.4.20-8"
label="Prakash"
initrd="/boot/initrd-2.4.20-8.img"
append="nfsroot=192.168.1.102:/prakash/i386 init=192.168.1.102:/prakash/i386/sbin/init"
read-only
iii)
image="/boot/vmlinuz-2.4.20-8"
label="Prakash"
initrd="/boot/initrd-2.4.20-8.img"
append="nfsroot=192.168.1.102:/prakash/i386 init=/etc/sysconfig/init"
read-only

None of the above doesnt work properly.

can u help me in this regards

Expecting ur reply
Thanks

by
prakash
 
  


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


All times are GMT -5. The time now is 01:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration