OpenELEC Forum
PXE boot Openelec from Synology NAS - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: NETWORK (https://forum.openelec.tv/forumdisplay.php?fid=49)
+---- Forum: PXE / Network boot (https://forum.openelec.tv/forumdisplay.php?fid=50)
+---- Thread: PXE boot Openelec from Synology NAS (/showthread.php?tid=35601)

Pages: 1 2


PXE boot Openelec from Synology NAS - Vanderaatje - 05-30-2012

Dear All,

I'm trying to get pxe boot working for an asrock ION 3d and an asrock vision 3d on a synology DS411SLIM running DSM 4.0

What I did is I installed the package dnsmasq configured it (i'm receiving an IP from dhcp)
put the latest openelec kernel in folder (beta4)

I added:
APPEND ip=dhcp boot=NFS=xxx.xxx.xxx.xxx:/path to KERNEL & SYSTEM/ disk=NFS=xxx.xxx.xxx.xxx:/path to storage/

with the correct paths on the synology I created the mount points when I do a pxe boot I see it's loading the kernel and I see the splash screen but after that there is nothing happening
When I add the command debugging I see it's not able to do the mounting

Is there something what I do wrong?
I have created more nfs mount points on the synology and when I run openelec from the locale ssd disk there is no problem

Hope some one can help me


Re: PXE boot Openelec from Synology NAS - KillerKelvUK - 05-30-2012

Seeing as you've used the 'debugging' option have you tried manually mounting the storage folder from the bash after it errors?

If the boot= is working this reads like a syntax issue somewhere in your disk= statement, either that or a NFS export funny.


Re: PXE boot Openelec from Synology NAS - lrusak - 05-30-2012

did you read through this first?

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


Re: PXE boot Openelec from Synology NAS - Vanderaatje - 05-30-2012

This is the line I'm using
append ip=dhcp boot=NFS=192.168.1.4:/volume1/Netboot disk=NFS=192.168.1.4:/volume1/XBMC

My export look like

/volume1/Netboot *(rw,async,no_wdelay,no_root_squash,anonuid=65534,anongid=65534)
/volume1/XBMC *(rw,async,no_wdelay,no_root_squash,anonuid=65534,anongid=65534)


Re: PXE boot Openelec from Synology NAS - KillerKelvUK - 05-30-2012

What happens if you switch the path used by the disk= to that of the boot= i.e.

Code:
append ip=dhcp boot=NFS=192.168.1.4:/volume1/XBMC disk=NFS=192.168.1.4:/volume1/Netboot

*Obviously relocate the KERNEL and SYSTEM files into the XBMC directory.*


Re: PXE boot Openelec from Synology NAS - Vanderaatje - 05-30-2012

It's not working

What I think is the kernel is loaded from dnsmasq setting (tftp-root=/Volume1/Netboot)
and not from the NFS mount in my default file


Re: PXE boot Openelec from Synology NAS - Vanderaatje - 05-30-2012

Will try a clean reinstall
I found this document that will maybe help me is about xbmc pxe booting from synology

Thanks for your help

Will let you know if I make some progress


Re: PXE boot Openelec from Synology NAS - lrusak - 05-30-2012

I don't know if your synology supports it but have you tried pxe booting via ISCSI?

I use ISCSI to pxe boot from my freenas server and it works flawlessly.


Re: PXE boot Openelec from Synology NAS - Vanderaatje - 05-31-2012

Irusak just tried to install iscsi but I'm stuck again ARGHHH
what I did is created a lun and target on my synology (that was easy)

Did a test from windows 7 and I can connect to the target (yeahhh)

But when I try to get it working on my asrock ion system (with openelec beta 4 on ssd disk)
When I'm following the wiki i'm already stuck at aptitude install open-iscsi (command is not working on openelec system)

When I do
iscsiadm -m discovery -t st -p 192.168.1.4:3260 on my synology
I get
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Could not scan /sys/class/iscsi_transport.
iscsiadm: Could not scan /sys/class/iscsi_transport.
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Cannot perform discovery. Initiatorname required.
iscsiadm: Discovery process to 192.168.1.4:3260 failed to create a discovery session.
iscsiadm: Could not perform SendTargets discovery.

any suggestions?


Re: PXE boot Openelec from Synology NAS - lrusak - 05-31-2012

you'll need a linux machine to do it I guess. Kind of a lot of work Sad

You could boot a linux distribution in virtualbox and do it that way.

you'll also need to put iPXE onto a usb drive if not using a TFTP server