On Fri, 13 Mar 2015 08:15:24 +0000, Ron Leach wrote: > List, good morning, > > I started and continuing with a separate thread about a boot problem but > have a specific query about the rescue shell and NFS, which I thought > worth having as a separate short topic. > > It's a wheezy system, running under the rescue shell provided by the > install DVD. I wanted to copy some config files from the wheezy machine > onto an archive area on an nfs system. If I try to mount an nfs export > from another machine, onto a mount point in the filesystem seen by the > 'rescue shell' from the install DVD, the mount command fails, reporting > > # mount 192.168.0.200:/srv /mnt/nfs/srv mount.nfs no such device > > Some notes: > > There is an entry in fstab for this mount, so there was no need to > provide all the parameters. > > 192.168.0.200:/srv is being exported, and is seen by other machines. > > /mnt/nfs/srv exists in the rescue shell filesystem, and can be 'cd''d > to. > > Does the error message mean that there is no nfs client available in the > rescue shell? > > Is there any way round this? There is an nfs client, somewhere in the > filesystem that the rescue shell can see, for example, if there was a > method to invoke it. > > regards, Ron
As I recall it, booting to rescue from the DVD doesn't necessarily enable networking (and other things), as it has no idea about the parameters. I believe if you try to, it will mount / as ro so that it can get at /etc/ network/interfaces (or at least that's how I remember it working). If you *do* have the network connection live, and are still getting the error, then it might be because your /dev/sda (or whatever) is mounted as ro, so you cannot add the entry in /mnt for the NFS share. You might have to use something that doesn't rely on a mounted partition (e.g. scp or rsync) to move the files in question. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

