Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Fazzah on November 12, 2012, 06:44:57 AM

Title: Persistent OPT/HOME on NFS share?
Post by: Fazzah 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...
Title: Re: Persistent OPT/HOME on NFS share?
Post by: Juanito 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?
Title: Re: Persistent OPT/HOME on NFS share?
Post by: gerald_clark 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
Title: Re: Persistent OPT/HOME on NFS share?
Post by: Fazzah on November 12, 2012, 09:06:26 AM
awesome, I'll try that. Thanks!
Title: Re: Persistent OPT/HOME on NFS share?
Post by: tinypoodle 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?
Title: Re: Persistent OPT/HOME on NFS share?
Post by: Fazzah 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.