Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.