LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS Install (https://www.linuxquestions.org/questions/linux-networking-3/nfs-install-4175495850/)

SAJM 02-22-2014 07:07 AM

NFS Install
 
I'm trying to install Slackware 14.1 onto a laptop using NFS from a remote PC. When following the install setup program mounting NFS brings up an error.

so I tried to mount the remote drive using the mount command at the prompt and it won't work.

To keep it simple I tried to mount the remote drive 192.168.1.1 to a local directory /fred.

:/#mount -t nfs 192.168.1.1: /fred

I get a time out.

I can ping in both directions.

gengisdave 02-22-2014 08:55 AM

you didn't specified the share on remote drive: <server>:<share>

SAJM 02-22-2014 10:44 AM

Quote:

Originally Posted by gengisdave (Post 5122795)
you didn't specified the share on remote drive: <server>:<share>

Sorry, what does that mean?

gengisdave 02-22-2014 10:54 AM

Code:

mount -t nfs 192.168.1.1:/share_name /fred

SAJM 02-22-2014 01:22 PM

Quote:

Originally Posted by gengisdave (Post 5122839)
Code:

mount -t nfs 192.168.1.1:/share_name /fred

I'm still getting timed out even with a directory.

My donor PC is XP and it has one large drive partitioned into C: D: and E:. I'm guessing there must be some way of pointing the ip address 192.168.1.1 to drive C:

gengisdave 02-22-2014 01:47 PM

wait, are you trying to mount a share from a windows os? is windows really running a nfs server?

otherwise you must use cifs/smb:
Code:

mount -t cifs //192.168.1.1/share_name /fred
default windows share like $C, $D, etc are not valid, you must set one by yourself

SAJM 02-23-2014 05:03 AM

Quote:

Originally Posted by gengisdave (Post 5122913)
wait, are you trying to mount a share from a windows os? is windows really running a nfs server?

otherwise you must use cifs/smb:
Code:

mount -t cifs //192.168.1.1/share_name /fred
default windows share like $C, $D, etc are not valid, you must set one by yourself

I don't think I can do this with XP home unless I find some 3rd party software. The search begins!!

allend 02-23-2014 05:42 AM

Just to recap, you have the Slackware 14.1 distribution on a USB memory stick. You can now PXE boot the Slackware 14.1 installer on your target PC. All you should need to do is to plug the USB memory stick into your Windows XP Home PC, and then set that to be a shared drive. Then you should be able mount the shared drive from within the Slackware installer using a command like that suggested by gengisdave. i.e.
At the root prompt in the Slackware installer do
Code:

mkdir /mnt/usb
mount -t cifs //192.168.1.3/share_name /mnt/usb

I am guessing that your Windows XP Home PC has the IP address 192.168.1.3 based on this post. http://www.linuxquestions.org/questi...ml#post5119949
The contents of the memory stick should now be exposed under /mnt/usb in the Slackware installer.

SAJM 02-23-2014 06:34 AM

Quote:

Originally Posted by allend (Post 5123162)
Just to recap, you have the Slackware 14.1 distribution on a USB memory stick. You can now PXE boot the Slackware 14.1 installer on your target PC. All you should need to do is to plug the USB memory stick into your Windows XP Home PC, and then set that to be a shared drive. Then you should be able mount the shared drive from within the Slackware installer using a command like that suggested by gengisdave. i.e.
At the root prompt in the Slackware installer do
Code:

mkdir /mnt/usb
mount -t cifs //192.168.1.3/share_name /mnt/usb

I am guessing that your Windows XP Home PC has the IP address 192.168.1.3 based on this post. http://www.linuxquestions.org/questi...ml#post5119949
The contents of the memory stick should now be exposed under /mnt/usb in the Slackware installer.

No. Different post different machine. The only thing that is constant is the XP laptop. :-)

allend 02-23-2014 06:47 AM

Well pardon me for not keeping up. :P
The technique should still be applicable.


All times are GMT -5. The time now is 10:02 PM.