Forum
Network Installation - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: Network Installation (/thread-461.html)



Network Installation - ws6an - 15th Feb, 2013 11:10 PM

I'd like to be able to install Xbian on an NFS network share. Is this possible and if so how can you do this? I know that you have to boot from an SD Card but then i would like to load the rest of Xbian from a network share much like you can from a USB Stick.

I't looks like it is possible for the Pi to load from an NFS share:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=21819

Also found this about booting OpenLec from network but not sure if these instructions would be applicable?:

http://wiki.openelec.tv/index.php?title=Network_Boot_-_NFS


RE: Network Installation - CurlyMo - 15th Feb, 2013 11:16 PM

This functionality can be added to the initramfs as we include in Alpha 5. We haven't included boot from nfs yet, but here is the source if you want to try to add it yourself. Let us know if you managed. Booting from samba should be implemented in fairly the same way.
https://github.com/xbianonpi/xbian-initramfs

Hmm, this topic states it can be done without the initramfs: http://raspberrypi.org/phpBB3/viewtopic.php?f=63&t=5974. However, using a initramfs can be safer because you then don't have an unbootable system when the network fails.

Another tip for using the initramfs, use e.g.:
Code:
ldd /bin/mount
        libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0xb6f05000)
        libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xb6ee2000)
        libsepol.so.1 => /lib/arm-linux-gnueabihf/libsepol.so.1 (0xb6ea0000)
        libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0xb6e76000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6e4e000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d1e000)
        /lib/ld-linux-armhf.so.3 (0xb6f39000)
        libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xb6d11000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6d06000)
To check what modules need to be included in the initramfs lib folder.