LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2012, 05:27 PM   #1
musiqdefunk
LQ Newbie
 
Registered: Mar 2011
Posts: 22

Rep: Reputation: 0
Mount NFS with Kickstart


Kernel: 2.6.18-308
RHEL 5.8

I've followed all the suggestions from other threads.I am trying to mount an NFS share in my kickstart and it seems to make everything thing else in my %post script not work:

Code:
/etc/init.d/portmap start

/bin/mkdir -p /mnt/kickstart
/bin/mount -o nolock 192.168.0.20:/kickstart /mnt/kickstart
/bin/cp -ar /mnt/kickstart/XXX/XXXX /u03
/bin/umount /mnt/kickstart
thank you
 
Old 08-08-2012, 08:07 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You might need to do it in
Code:
%post --nochroot
.. instead, and copy the content to /mnt/sysimage/u03
 
Old 08-10-2012, 04:05 PM   #3
musiqdefunk
LQ Newbie
 
Registered: Mar 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks but yeah I tried it on the nochroot side and it still doesn't work I think it might have something to do with it being built on a VM...
 
Old 08-10-2012, 08:44 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Shouldn't matter, as long as network is up it should be ok, switch to vty3 and check connectivity.
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-12-2016 12:30 AM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 11:22 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 08:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 03:36 PM
Copy files from kickstart nfs mount to new system... custangro Linux - General 2 10-07-2008 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 AM.

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