Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-22-2014, 07:07 AM
|
#1
|
Member
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269
Rep: 
|
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.
|
|
|
02-22-2014, 08:55 AM
|
#2
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
you didn't specified the share on remote drive: <server>:<share>
|
|
|
02-22-2014, 10:44 AM
|
#3
|
Member
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
you didn't specified the share on remote drive: <server>:<share>
|
Sorry, what does that mean?
|
|
|
02-22-2014, 10:54 AM
|
#4
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
Code:
mount -t nfs 192.168.1.1:/share_name /fred
|
|
|
02-22-2014, 01:22 PM
|
#5
|
Member
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
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:
|
|
|
02-22-2014, 01:47 PM
|
#6
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
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
|
|
|
02-23-2014, 05:03 AM
|
#7
|
Member
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
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!!
|
|
|
02-23-2014, 05:42 AM
|
#8
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,550
|
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.
|
|
|
02-23-2014, 06:34 AM
|
#9
|
Member
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269
Original Poster
Rep: 
|
Quote:
Originally Posted by allend
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. :-)
|
|
|
02-23-2014, 06:47 AM
|
#10
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,550
|
Well pardon me for not keeping up. :P
The technique should still be applicable.
|
|
|
All times are GMT -5. The time now is 07:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|