WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Persistent OPT/HOME on NFS share?  (Read 2277 times)

Offline Fazzah

  • Newbie
  • *
  • Posts: 20
Persistent OPT/HOME on NFS share?
« on: November 12, 2012, 06:44:57 AM »
Hi guys!

I have a working netbootable Core installed. It's a fresh install (remastered because my router didn't like that udhcpc lack -C option).

What can I do to have my configs saved on NFS share? In particular, I need to have sshd, X and CUPS configs saved.

Passing opt=nfs/opt (a valid, writable directory) to boot yields an error that this is not a valid device.

It's been a while since I played with TCE and probably I'm overlooking something really simple here...
My extensions: lcdproc-server | lcdproc-client | darkiceWIP | icecast2WIP

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: Persistent OPT/HOME on NFS share?
« Reply #1 on: November 12, 2012, 07:51:09 AM »
I'd guess it's because tc isn't ready to connect to the nfs share when the boot process wants to read it - it would be worth checking how long it takes to connect to the nfs share once booted and try a similar delay?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistent OPT/HOME on NFS share?
« Reply #2 on: November 12, 2012, 08:50:19 AM »
Read the wiki article on network booting.
You are not using the opt= boot code correctly.  You do not get to specify the directory.

opt=nfs

Offline Fazzah

  • Newbie
  • *
  • Posts: 20
Re: Persistent OPT/HOME on NFS share?
« Reply #3 on: November 12, 2012, 09:06:26 AM »
awesome, I'll try that. Thanks!
My extensions: lcdproc-server | lcdproc-client | darkiceWIP | icecast2WIP

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Persistent OPT/HOME on NFS share?
« Reply #4 on: November 12, 2012, 11:04:03 AM »

I have a working netbootable Core installed. It's a fresh install (remastered because my router didn't like that udhcpc lack -C option).



Untrue. Perhaps you overlooked something?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Fazzah

  • Newbie
  • *
  • Posts: 20
Re: Persistent OPT/HOME on NFS share?
« Reply #5 on: November 12, 2012, 12:47:49 PM »
No, I was just mistakenly adding opt=nfs/opt, instead of just opt=nfs.

This solved the problem.
My extensions: lcdproc-server | lcdproc-client | darkiceWIP | icecast2WIP