Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Root-NFS: No NFS server available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
usualsuspect
n00b
n00b


Joined: 19 May 2007
Posts: 25

PostPosted: Sun Sep 02, 2007 5:30 pm    Post subject: [SOLVED] Root-NFS: No NFS server available Reply with quote

Hi guys,

I'm trying to install the Gentoo 2007.1 version on my laptop. I've completed the steps in the handbook and when rebooting I get the following error:

Root-NFS: No NFS server available
VFS: Unable to mount root fs via NFS, trying floppy
VFS: Insert root floppy and press ENTER

I've double checked my /etc/fstab and that has my root set to ext3 so I don't know what to do..

Can anyone help.


Last edited by usualsuspect on Fri Oct 26, 2007 2:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Sep 02, 2007 5:37 pm    Post subject: Reply with quote

post your fstab
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
usualsuspect
n00b
n00b


Joined: 19 May 2007
Posts: 25

PostPosted: Tue Sep 18, 2007 8:52 am    Post subject: Reply with quote

Hi,

Sorry for the late response, I've been away. I do need help :).

I have a Toshiba Satellite Pro P100 laptop. The hard drive has been partitoned into 5 sections.

Primary
    sda1 - Windows XP
    sda2 - the boot partition for Grub
    sda3 - Gentoo Linux

extended
    sda5 - Linux Swap
    sda6 - FAT32 for sharing files between Windows and Gentoo


Below is my fstab
Code:
# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2               /boot           ext2            noauto,noatime  1 2
/dev/sda3               /               ext3            noatime         0 1
/dev/sda5               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro,user  0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Tue Sep 18, 2007 1:34 pm    Post subject: Re: Root-NFS: No NFS server available Reply with quote

usualsuspect wrote:
Hi guys,
Root-NFS: No NFS server available
VFS: Unable to mount root fs via NFS, trying floppy
VFS: Insert root floppy and press ENTER


This is not in the /etc/fstab but in your boot loader configuration... Can you post that one?
_________________
Please add "[solved]" to the initial topic title when it is solved.
Back to top
View user's profile Send private message
usualsuspect
n00b
n00b


Joined: 19 May 2007
Posts: 25

PostPosted: Tue Sep 18, 2007 4:00 pm    Post subject: Reply with quote

I'm not sure I know which one you mean. How would I get the information you require?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Sep 18, 2007 4:45 pm    Post subject: Reply with quote

post the contents of grub.conf
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Tue Sep 18, 2007 4:59 pm    Post subject: Re: Root-NFS: No NFS server available Reply with quote

usualsuspect wrote:
Root-NFS: No NFS server available
VFS: Unable to mount root fs via NFS, trying floppy
VFS: Insert root floppy and press ENTER

This means the kernel wasn't able to find a root filesystem by itself. Thus, since it has compiled-in NFS support, also tries to find a root FS through the network (and still fails). Finally, it resorts to demanding you to insert a floppy with a root FS.

First, disable NFS support in the kernel if you don't needed - the smaller the kernel, the better. If you _do_ need it, consider compiling it as a module instead of into the main kernel binary.

Second, the kernel is complaining that it was not passed any directions on the root fs. You need to tell it where the root fs is in the bootloader line (from GRUB, that is), with an option like "root=/dev/sda5" for the 1st logical partition on the first SCSI/SATA drive.
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3
Back to top
View user's profile Send private message
Offler
n00b
n00b


Joined: 12 Jun 2004
Posts: 58

PostPosted: Tue Sep 18, 2007 5:29 pm    Post subject: Reply with quote

Try this guide here.
Back to top
View user's profile Send private message
ak88
n00b
n00b


Joined: 22 Sep 2007
Posts: 6

PostPosted: Sat Sep 22, 2007 4:29 pm    Post subject: Reply with quote

I had the same symptoms but the solution did not apply to me. I had a desktop machine with a Gigabyte P35-DS3 motherboard. This has a single IDE channel and 6 SATA channels. I have the SATA set to AHCI and not emulated IDE.

I was installing the OS on an IDE drive and I had 4 SATA drives installed as well. On installing Gentoo from the minimal install CD the IDE drive has hde (so I had hde1, hde2 and hde3). Followed the instructions to the letter but on reboot I got exactly the same. After multiple attempts I managed to notice something about hda. The solution to my issue was to use the install CD again, followed the instructions for mouting /dev/hde1 and /dev/hde3 to /mnt/gentoo/boot and /mnt/gentoo.

This then allows me to edit menu.lst and change reference to hde1 to hda1. Then edit /etc/fstab and change the references from hda to hde.

Not sure my using the live cd gives the sata drives precedence and when rebooting from an install it drops down to hda.
Back to top
View user's profile Send private message
usualsuspect
n00b
n00b


Joined: 19 May 2007
Posts: 25

PostPosted: Thu Oct 25, 2007 6:43 pm    Post subject: Reply with quote

Code:

default 0

timeout 10

title=Windows XP Home
rootnoverify (hd0,0)
makeactive
chainloader +1

title=Gentoo Linux 2.6.22-r5
root (hd0,1)
kernel /boot/kernel-2.6.22-r5 root=/dev/sda3


This is my grub.conf file. Has anyone been able to solve this problem?
Back to top
View user's profile Send private message
usualsuspect
n00b
n00b


Joined: 19 May 2007
Posts: 25

PostPosted: Thu Oct 25, 2007 7:34 pm    Post subject: Reply with quote

problem caused by not configuring kernel properly. missed the slightly 'hidden' option of serial ata.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum