LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-06-2005, 01:20 PM   #1
baparekh
LQ Newbie
 
Registered: Jan 2004
Location: INDIA
Distribution: Redhat
Posts: 26

Rep: Reputation: 15
Smile tftp


hi ! I am newbe pl help me.
while login from diskless node on tftp getting message as bellow:
kernel panic - not syncing : No init found. Try passing init= option to kernel.
where & how to pass init= to kernel ?
Thanks in advance
 
Old 03-07-2005, 09:59 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

tftp looks fine
there is some problem wit the kernel u are using of with ur configuration

do u have the Filesystem support that u are using in ur kernel

regards
 
Old 03-08-2005, 10:05 AM   #3
lapazzo
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
diskless procedure

first you should read the howto-s about root over nfs, boot howto, and diskless howto ( i think there are 2). second... read them again.

but overall the procedure is:
1. configure dhcp or bootp on the server. test.
2. configure nfs on the server. test.
3. make the client installation. tar.
4. export the common directories for the clients ( /tftpboot/rootfs/home, /tftpboot/rootfs/usr, /tftpboot/rootfs/opt ). test
5. make directories for every client ( /tftpboot/clients/101, /tftpboot/clients/102 ... so on ). test
6. compile a kernel with root over nfs _and_ with the driver for the network adapter. test.
7. use mknbi on the kernel.
8. use syslinux and a floppy disk. test. test. test.
9. use tftp server to export the kernel image and get rid of the floppy disk.
10. celebrate.

cheers
Plamen

P.S.
your particular error I got when the loaded kernel could not mount the root directory. which means root over nfs in the kernel OR invalid parameters for the kernel itself
 
Old 03-08-2005, 01:07 PM   #4
baparekh
LQ Newbie
 
Registered: Jan 2004
Location: INDIA
Distribution: Redhat
Posts: 26

Original Poster
Rep: Reputation: 15
thnks for reply
i have done every thing mentioned by you. but as if i am using RHEK 4 Beta where i can't compile kernel. I am using tftp server & on client side using PXEboot, so i am not using floppy or cd for booting the node. & my nodea are diskfree. but i think loaded kernel could not mount the root direcotry. but wht to do now ?
thnks in advance.
 
Old 03-08-2005, 07:49 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what is the Filesystem of ur root

also have u tried using LTSP(ltsp.org)

regards
 
Old 03-09-2005, 02:22 AM   #6
baparekh
LQ Newbie
 
Registered: Jan 2004
Location: INDIA
Distribution: Redhat
Posts: 26

Original Poster
Rep: Reputation: 15
ext3 is root's filesystem.
 
Old 03-09-2005, 03:10 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
did u compile the kernel urself??


regards
 
Old 03-09-2005, 11:10 AM   #8
baparekh
LQ Newbie
 
Registered: Jan 2004
Location: INDIA
Distribution: Redhat
Posts: 26

Original Poster
Rep: Reputation: 15
no i can't. because i am using RHEL 4 Beta which will not allowed you to compile kernel.
 
Old 03-11-2005, 07:50 AM   #9
lapazzo
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
i have to confess that i don't have any idea what RHEL 4Beta is...
... but if i can imagine the things right you are going throught this:

the tftp works - you got your kernel downloaded.
it starts to boot and it comes to the point of mounting the root.
could you write down your client's /etc/fstab?
... on the client is there any indication that the network interface is up?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
tftp baparekh Linux - Newbie 1 03-07-2005 02:51 PM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM
help with tftp please Tigger Linux - Security 3 06-11-2003 05:37 PM
TFTP help!!! zhangyunyan Linux - Networking 3 12-05-2002 03:46 AM
TFTP not working bash Linux - Networking 1 07-28-2001 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 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