Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 05-10-2009, 10:03 PM   #1
Registered: Mar 2008
Posts: 56

Rep: Reputation: 16
Kernel boot using NFS root problem

When I use NFS server to boot debian linux(nfsroot), I encountered such problem:

Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
mount: cannot read /etc/fstab: No such file or directory
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.

BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off

I don't know what the problem is. Anybody help?


Old 05-12-2009, 09:34 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
The nfs location which is mounted must have a complete functional root file system
Old 05-12-2009, 10:44 PM   #3
Registered: Mar 2008
Posts: 56

Original Poster
Rep: Reputation: 16
Thank you, bhaslinux.

I figured out the real problem is:
When I make initrd with debian update-initramfs, the config file for it in /etc should be changed from local to nfs.



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
PXE boot NFS root problem fardad Linux - Networking 6 04-22-2008 02:26 PM
nfs root path variable (pxe/nfs boot) freeindy Linux - Networking 3 03-11-2008 09:19 AM
Need help Root filesystem on NFS with 2.4 kernel (initrd ?) GUIPenguin Linux - General 0 03-24-2006 04:15 PM
NFS Root Boot - Exports soulkeeper Linux - Networking 3 07-24-2004 02:27 AM
Problems using boot disk to load NFS root fs rj1 Linux - Networking 0 02-27-2004 01:24 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration