Forum

Full Version: [Question] NFS Installation guide
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there a proper guide available or would someone be willing to write a proper guide to installing Xbian to NFS.

Is it possible to do it via the Xbian config that you acces via Putty an just putting a different path instead of SDA1 for USB?
I'm not an expert, and have never tried, but I believe what you said is the correct path.
1/ Use xbian-config to create the structure (Follow the described description) Warning it will erase everything!!
2/ Change cmdline.txt to the new /.

That's all I believe.

If you're unsure - wait a bit someone will have a better idea.

If you do try and get it working - maybe you could write up the details for other users to use.
I tried using the Xbian config, but it won't accept my Synology as a correct path.
Don't know if I can maybe put it on a USB, and then transfering those files to the NAS and change the cmdline. But doubt USB can be properly read to transfer files once finished.
Are you sure your NAS has insecure set?

You could try looking at this as well http://forum.xbian.org/thread-1531-post-17118.html#pid17118
it now says this when i Putty/SSH into my Syno NAS

/volume1/XBian *(rw,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)

from what I gather at the other post insecure shouldn't be there or something

Pretty new to Linux and learning as I go. Can now vi and stuff and know the very basics of doing things but that;s about it.
xbian-config has undocumented experimental support also for nfs as part of xbianclone tool.

syntax of the destination should be:

Code:
nfs:server.nameorip:/path/to/exported/root

the destination is mounted (if exists) and tested if can keep ownership of regular user and id=0. this is required for nfs root and assumes server option on the export "no_root_squash".

storing id=0 also requires that no "insecure" option is used. but this is fine as rootfs is always mounted at system level.
after this test the installation is copied to NFS dir. also, /boot partition (cmdline.txt) should be updated - so when finish, just reboot should work and boot straight to NFS.

specific feedback would be welcome as other destinations than .img or partition is under testing / unofficial but should be documented and working with V1 release.

thanks in advance.
Wow that is a nice clean explanation.

So if I read it correctly when I SSL into Xbian-Config and start the copy Xbian tool I should enter this:
Code:
nfs:server.my-ip:/volume1/Xbian (this is a shared folder I created on my Synology server)
Instead of:
Code:
/dev/sda1
into the field when cloning the Xbian copy to a USB/NFS device
Yes but on command line. Will try to add in xbmc for next version.
@belese @Rubman

yes, rubman's question didn't specify xbian-config being XBMC or CLI, I always assume CLI version, Belese XBMC.

so:

my statement is valid currently for CLI version and was understood by Rubman correct. XBMC part of xbian-config needs to be of course check / adapted if needed.
(but Rubman connects via "SSL" (assumed SSH) so he was asking about the CLI probably)
Yes SSL is SSH and I want to achieve a USB copy from NFS so that XBIAN starts from a NFS source instead of USB (which seems to corrupt over time)

I Still get a Wrong destination Block device error when entering the following in Xbian copier destination
Code:
nfs:server.192.168.1.103:/Volume1/XBian

I tried several deviations such as / before nfs and after XBian, capital letters or not but nothing seems to work.

The installation of Xbian is fresh.
@Rubman

small misunderstanding.

"server.192.168.1.103" should be "192.168.1.103

as the format is

[typeofdest]:[dest_target_link]

so for you

nfs:192.168.1.103:/Volume1/XBian
When entering
nfs:192.168.1.103:/volume1/XBian

I still get Wrong destination block device error.

I tried SSH into my synlogy to see if /etc/exports where correct and it gives me this
/volume1/XBian *(rw,async,no_wdelay,root_squash,insecure,anonuid=0,anongid=0)

I don't see any problems with these settings, but maybe it should say no_root_squash or something? Because al my other shares say no_root_squash. These are the ones I have for Raspbmc and all my video and music files shared via XBMC.
Changing it doesn't seem to work by the way
(18th Mar, 2014 08:55 PM)Rubman Wrote: [ -> ]When entering
nfs:192.168.1.103:/volume1/XBian

I still get Wrong destination block device error.

I tried SSH into my synlogy to see if /etc/exports where correct and it gives me this
/volume1/XBian *(rw,async,no_wdelay,root_squash,insecure,anonuid=0,anongid=0)

I don't see any problems with these settings, but maybe it should say no_root_squash or something? Because al my other shares say no_root_squash. These are the ones I have for Raspbmc and all my video and music files shared via XBMC.
Changing it doesn't seem to work by the way

Not sure if you're running a Synology NAS, but since DSM 5.0 there's apparantly an extra requirement to make an accessible NFS-share, set squash to "Map all users to admin".

Not sure if this relates to your problem, but it might be worth trying.
Yes I am running a Synology (DS109) and no DSM 5 Available for that so I'm running 4.2.

What should it say in the etc/exports line then?

/volume1/XBian *(rw,async,no_wdelay,root_squash_Map_all_users_to_admin,insecure,anonuid=0,anongid=0)

or something different?
(18th Mar, 2014 09:58 PM)Rubman Wrote: [ -> ]Yes I am running a Synology (DS109) and no DSM 5 Available for that so I'm running 4.2.

What should it say in the etc/exports line then?

/volume1/XBian *(rw,async,no_wdelay,root_squash_Map_all_users_to_admin,insecure,anonuid=0,anongid=0)

or something different?

I believe it's only needed for DSM5.
Also it's a setting you need to change in the GUI, I have no idea what (and if) it changes in /etc/exports.
Pages: 1 2
Reference URL's