LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2014, 07:07 AM   #1
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Rep: Reputation: Disabled
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.
 
Old 02-22-2014, 08:55 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
you didn't specified the share on remote drive: <server>:<share>
 
Old 02-22-2014, 10:44 AM   #3
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
you didn't specified the share on remote drive: <server>:<share>
Sorry, what does that mean?
 
Old 02-22-2014, 10:54 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Code:
mount -t nfs 192.168.1.1:/share_name /fred
 
Old 02-22-2014, 01:22 PM   #5
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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:
 
Old 02-22-2014, 01:47 PM   #6
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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
 
Old 02-23-2014, 05:03 AM   #7
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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!!
 
Old 02-23-2014, 05:42 AM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,550

Rep: Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832
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.
 
Old 02-23-2014, 06:34 AM   #9
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
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. :-)
 
Old 02-23-2014, 06:47 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,550

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
NFS+VMware unable to install CentOs from nfs foottuns Linux - Networking 1 11-21-2009 08:53 PM
Unable to install virtual server from NFS mounted install media fwdann Linux - Newbie 1 05-07-2008 07:10 PM
NFS Install? Yozuki Mandriva 3 12-01-2005 04:55 PM
NFS Install Parksy Mandriva 10 08-29-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration