OSMC Installer and nfsroot

I’m trying to setup NFS root on 2 new Raspberry Pi 2’s.

I used the OSMC Installer for OS X, filled in all the information IP, NFS path etc. Image used is “2016.02-3”

The config.txt and cmdline.txt are created on the SD Card but looks like the IP and nfs path are not included.

Pi fails to use the IP I assigned and proceeds to install on the SD card.

NFSroot:
192.168.0.176:/media/PINFS/GEARS

IP:
192.168.0.108
255.255.255.0
192.168.0.1
192.168.0.1
192.168.0.1

Untouched config.txt:
disable_overscan=1
framebuffer_depth=32
gpu_mem=16

Untouched cmdline.txt:
dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 quiet init=/init loglevel=2 osmcdev=rbp2

The NFS permissions on my Ubuntu VM are working fine with another Pi 2 running VERSION_ID=“2016.02-1”

Is there any thing else I can check?

That’s expected. The NFS settings will be read from preseed.cfg and when the installation completes you will have a cmdline.txt with these settings

There is no preseed.cfg on the SD after using the installer. I can’t find any files on the SD card that have the IP or NFS path in them. Using the latest version of the installer.

After using the installer I eject the SD Card from my MacBook and put into the Pi 2, power it up, OSMC installs to the SD Card and doesn’t even attempt to make a NFS connection.

I know how to move a raspbian install from SD to NFS. Would it be the same process? What would my cmdline.txt file need to look like?

Not really.

That doesn’t seem right. Can you try using another computer temporarily to rule that out? You can also grab the OSMC installer log off /Users/YourUsername/installer.log (it may be called osmc.log).

No preseed file explains why you do not have NFS working

Tried on a Windows 7 machine and it worked.

Currently installing to NFS.

Not sure what the issue was on my MacBook but here is the log output:

Wed Mar 30 12:34:13 2016 OSMC Installer running on Mac OS X Wed Mar 30 12:34:13 2016 Detected locale as en_CA Wed Mar 30 12:34:13 2016 Attempting to load translation for locale en_CA Wed Mar 30 12:34:13 2016 Could not load translation! Wed Mar 30 12:34:13 2016 Resolving a mirror Wed Mar 30 12:34:13 2016 Resolved mirror to http://ftp.fau.de/osmc/osmc/download/ Wed Mar 30 12:34:13 2016 Enumerating supported devices Wed Mar 30 12:34:13 2016 Added the following devices Wed Mar 30 12:34:13 2016 Vero 2 Wed Mar 30 12:34:13 2016 Vero Wed Mar 30 12:34:13 2016 Raspberry Pi 1 / Zero Wed Mar 30 12:34:13 2016 Raspberry Pi 2 / 3 Wed Mar 30 12:34:13 2016 Apple TV Wed Mar 30 12:34:13 2016 Checking for updates Wed Mar 30 12:34:13 2016 Checking for updates by downloading http://ftp.fau.de/osmc/osmc/download//installers/latest_mac Wed Mar 30 12:34:14 2016 Acquired mirror file Wed Mar 30 12:34:14 2016 No new update is available Wed Mar 30 12:34:17 2016 The user has selected English as their language Wed Mar 30 12:34:17 2016 The user has selected Raspberry Pi 2 / 3 as their device Wed Mar 30 12:34:17 2016 Attempting to download device versions file http://ftp.fau.de/osmc/osmc/download/installers/versions_RBP2 Wed Mar 30 12:34:18 2016 Found a build called 2016.02-3 Wed Mar 30 12:34:18 2016 Found a build called 2016.01-1 Wed Mar 30 12:34:18 2016 Found a build called 2015.12-4 Wed Mar 30 12:34:18 2016 Found a build called 2015.11-1 Wed Mar 30 12:34:18 2016 Found a build called 2015.10-1 Wed Mar 30 12:34:18 2016 Found a build called 2015.08-1 Wed Mar 30 12:34:18 2016 Found a build called 2015.07-1 Wed Mar 30 12:34:18 2016 Found a build called 2015.06-1 Wed Mar 30 12:34:23 2016 The user has selected an online image for Raspberry Pi 2 / 3 with build URL : http://ftp.fau.de/osmc/osmc/download/installers/diskimages/OSMC_TGT_rbp2_20160306.img.gz Wed Mar 30 12:34:23 2016 Disabling internal install for device Raspberry Pi 2 / 3 as it does not support it Wed Mar 30 12:34:25 2016 NFS installation selected Wed Mar 30 12:34:38 2016 NFS installation to 192.168.0.176:/media/PINFS/GEARS selected Wed Mar 30 12:35:11 2016 Setting custom non-DHCP networking settings Wed Mar 30 12:35:11 2016 Set up network with IP: 192.168.0.108 subnet mask of: 255.255.255.0 gateway of: 192.168.0.1 Primary DNS: 192.168.0.1 Secondary DNS: 192.168.0.1 Wed Mar 30 12:35:11 2016 Enumerating imageable devices for OSX Wed Mar 30 12:35:11 2016 New disk device entry created with entry point /dev/rdisk0, 251.0 GB free space and label Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Determined PCI as protocol for /dev/rdisk0 Wed Mar 30 12:35:11 2016 yes Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Determined No as readOnlyMedia for /dev/rdisk0 Wed Mar 30 12:35:11 2016 yes Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Determined No as ejactableProperty for /dev/rdisk0 Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk0 is not writable to us Wed Mar 30 12:35:11 2016 New disk device entry created with entry point /dev/rdisk1, 1.0 GB free space and label Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Determined USB as protocol for /dev/rdisk1 Wed Mar 30 12:35:11 2016 yes Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Determined No as readOnlyMedia for /dev/rdisk1 Wed Mar 30 12:35:11 2016 yes Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Decided that /dev/rdisk1 is not writable to us Wed Mar 30 12:35:11 2016 Determined Yes as ejactableProperty for /dev/rdisk1 Wed Mar 30 12:35:13 2016 Device selected: 1 /dev/rdisk1 1.0 GB APPLE SD Card Reader Media Wed Mar 30 12:35:16 2016 EULA has been accepted Wed Mar 30 12:35:16 2016 Downloading http://ftp.fau.de/osmc/osmc/download/installers/diskimages/OSMC_TGT_rbp2_20160306.img.gz Wed Mar 30 12:35:19 2016 Extracting /Users/user/OSMC_TGT_rbp2_20160306.img.gz Wed Mar 30 12:35:19 2016 Finished extraction. Going to write image Wed Mar 30 12:35:19 2016 Requesting confirmation from user Wed Mar 30 12:35:21 2016 User confirmed Wed Mar 30 12:35:31 2016 going to start osa Wed Mar 30 12:35:31 2016 pasting admin script to process do shell script "dd if=/Users/user/OSMC_TGT_rbp2_20160306.img of=/dev/rdisk1 bs=1m conv=sync && sync" with administrator privileges Wed Mar 30 12:35:31 2016 waiting for finish Wed Mar 30 12:36:31 2016 osa claims to be done...collect output and verify Wed Mar 30 12:36:31 2016 Imaging was successful Wed Mar 30 12:36:31 2016 Image successfully written to device Wed Mar 30 12:36:31 2016 Deleting the uncompressed image to save space Wed Mar 30 12:36:31 2016 Creating preseeder Wed Mar 30 12:36:31 2016 Adding preseed stringd-i target/storage string nfs Wed Mar 30 12:36:31 2016 Adding preseed stringd-i target/storagePath string 192.168.0.176:/media/PINFS/GEARS Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/interface string eth Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/auto boolean false Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/ip string 192.168.0.108 Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/mask string 255.255.255.0 Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/dns1 string 192.168.0.1 Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/dns2 string 192.168.0.1 Wed Mar 30 12:36:31 2016 Adding preseed stringd-i network/gw string 192.168.0.1 Wed Mar 30 12:36:31 2016 Writing preseeder Wed Mar 30 12:36:31 2016 Mounting the first filesystem on /dev/rdisk1 Wed Mar 30 12:36:31 2016 Trying to umount before we are remounting and writing the preseed. Wed Mar 30 12:36:31 2016 Could not mount /dev/rdisk1s1. Messages are: stdErr: disk1s1 was already unmounted

stdOut:
Wed Mar 30 12:36:41 2016 Could not mount /dev/rdisk1. Messages are: stdErr: Unmount of disk1 failed: at least one volume could not be unmounted

stdOut:
Wed Mar 30 12:36:41 2016 Mounting /dev/rdisk1s1 to /var/folders/n6/qf4s33k50pdfszhp8l2b6m0r0000gn/T/osmc_mnt
Wed Mar 30 12:36:41 2016 Filesystem is mounted
Wed Mar 30 12:36:41 2016 Writing the preseeder to filesystem
Wed Mar 30 12:36:41 2016 Finished. Syncing…
Wed Mar 30 12:36:41 2016 Unmount in any case…
Wed Mar 30 12:36:52 2016 Final sync.

What version of Mac OS are you using ?

I’m using 10.9.5.