View previous topic :: View next topic |
Author |
Message |
usualsuspect n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Sun Sep 02, 2007 5:30 pm Post subject: [SOLVED] Root-NFS: No NFS server available |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Sep 02, 2007 5:37 pm Post subject: |
|
|
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 |
|
|
usualsuspect n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Tue Sep 18, 2007 8:52 am Post subject: |
|
|
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 |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Sep 18, 2007 1:34 pm Post subject: Re: Root-NFS: No NFS server available |
|
|
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 |
|
|
usualsuspect n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Tue Sep 18, 2007 4:00 pm Post subject: |
|
|
I'm not sure I know which one you mean. How would I get the information you require? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Sep 18, 2007 4:45 pm Post subject: |
|
|
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 |
|
|
Habbit Apprentice
Joined: 01 Sep 2007 Posts: 237 Location: 3.7137 W, 40.3873 N
|
Posted: Tue Sep 18, 2007 4:59 pm Post subject: Re: Root-NFS: No NFS server available |
|
|
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 |
|
|
Offler n00b
Joined: 12 Jun 2004 Posts: 58
|
|
Back to top |
|
|
ak88 n00b
Joined: 22 Sep 2007 Posts: 6
|
Posted: Sat Sep 22, 2007 4:29 pm Post subject: |
|
|
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 |
|
|
usualsuspect n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Thu Oct 25, 2007 6:43 pm Post subject: |
|
|
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 |
|
|
usualsuspect n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Thu Oct 25, 2007 7:34 pm Post subject: |
|
|
problem caused by not configuring kernel properly. missed the slightly 'hidden' option of serial ata. |
|
Back to top |
|
|
|