I'd like my machine to boot off a NAS box across the network, using NFS
for the root file system. Since the box does not support tftp, I've
installed a small flash drive for it to boot off and use as /boot.
Following the instructions at
http://myrddin.org/howto/debian-kernel-recompiling/ I've added support
in the kernel for...
And modified /etc/fstab to refer to the new location of /.
The machine successfully boots, configures the network card and then
hangs for some time before generating an error message about /dev/nfs
not existing.
I can mount the share on other machines, and rpcinfo and showmount
produce the following:
$ showmount -e 192.168.2.254
Exports list on 192.168.2.254:
/mnt/ide4/home 192.168.2.0/255.255.255.0
/mnt/ide4/telvin-root *
/mnt/ide4/public *
The logs on the NAS suggest that it's not even trying to connect to the
share, which I've confirmed with a packet sniffer.
The instructions at Documentation/nfsroot.txt haven't shed any light...
I've wasted far too much time on this and it's driving me NUTS! I'd be
very grateful for any suggestions!
Take care,
Ben
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
05-25-2008, 06:11 PM
Benjamin Donnachie
Debian Lenny NFS root woes!
Problem solved! Turns out I was missing some basic steps:
From https://help.ubuntu.com/community/Installation/OnNFSDriveWithLocalBoot
I just needed to edit /etc/initramfs-tools/initramfs.conf to change
BOOT=local to BOOT=nfs and then regenerate the initramfs image with
update-initramfs -k all -c
And now it works! :-)))))
Ben
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org