[ solved] Geexbox via PXE. Some machines boot, some not… ?

Home Forums Miscellaneous [ solved] Geexbox via PXE. Some machines boot, some not… ?

Tagged: 

This topic contains 96 replies, has 4 voices, and was last updated by  tomlohave 1 year, 6 months ago.

Viewing 15 posts - 61 through 75 (of 97 total)
  • Author
    Posts
  • #11699

    antony0509
    Participant

    for message log

    #11700

    tomlohave
    Keymaster

    hum, at least , everything seems to work from the server side
    can you post the content of /tftpboot and /tftpboot/GEEXBOX ?

    ls -al /tftpboot/GEEXBOX
    ls -al /tftpboot
    #11701

    tomlohave
    Keymaster

    here is mine to compare :

    root@debian-serv:~# ls -al /srv/tftp/geexbox/
    total 244240
    drwxr-xr-x 15 root   root         4096 avril 30 08:23 .
    drwxr-xr-x  4 root   nogroup      4096 avril 30 08:18 ..
    lrwxrwxrwx  1 root   root            7 avril 30 08:19 bin -> usr/bin
    drwxr-xr-x  3 thomas thomas       4096 avril 30 08:16 boot
    -rw-r--r--  1 root   root        50600 avril 30 08:19 config
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 dev
    drwxr-xr-x 31 root   root         4096 avril 30 12:21 etc
    lrwxrwxrwx  1 root   root           16 avril 30 08:19 firmware -> usr/lib/firmware
    lrwxrwxrwx  1 root   root            7 avril 30 08:19 lib -> usr/lib
    drwxr-xr-x  3 root   root         4096 avril 30 08:19 media
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 mnt
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 proc
    drwxr-xr-x  3 root   root         4096 avril 30 12:21 root
    -r--r--r--  1 thomas thomas  249982976 avril 19 10:52 rootfs
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 run
    lrwxrwxrwx  1 root   root            8 avril 30 08:19 sbin -> usr/sbin
    drwxr-xr-x  3 root   root         4096 avril 30 08:19 srv
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 sys
    drwxr-xr-x  2 root   root         4096 avril 30 08:19 tmp
    drwxr-xr-x  7 root   root         4096 avril 30 08:21 usr
    drwxr-xr-x  7 root   root         4096 avril 30 09:13 var
    root@debian-serv:~# ls -al /srv/tftp/
    total 20
    drwxr-xr-x  4 root nogroup 4096 avril 30 08:18 .
    drwxr-xr-x  3 root root    4096 avril 29 19:54 ..
    drwxr-xr-x 15 root root    4096 avril 30 08:23 geexbox
    drwxr-xr-x  2 root root    4096 avril 30 08:18 mnt
    -rw-r--r--  1 root root      94 avril 29 20:07 test
    #11702

    tomlohave
    Keymaster

    and post the content of /etc/hosts.allow and /etc/hosts.deny

    cat  /etc/hosts.allow
    cat /etc/hosts.deny
    #11703

    antony0509
    Participant

    here is mine to compare :


    • This reply was modified 1 year, 7 months ago by  antony0509.
    • This reply was modified 1 year, 7 months ago by  antony0509.
    • This reply was modified 1 year, 7 months ago by  antony0509.
    #11707

    tomlohave
    Keymaster

    To be honest, I’m out of idea
    Everything seems correct
    @rudi : do you see something I forget ?

    #11715

    antony0509
    Participant

    This is the log you want me to post

    https://youtu.be/dbtkofYxm9I

    This is the message at the client end of the boot

    #11716

    antony0509
    Participant

    I have just done a test result is not the same
    Is there any way to test to see
    https://www.youtube.com/watch?v=qxKFe5B1OE4

    #11717

    tomlohave
    Keymaster

    interesting, you are able to mount the nfs share using our initrd …
    So maybe it’s in fact parameters to pass to kernel with the good options to mount the share.

    Let me one hour to do tests

    #11718

    tomlohave
    Keymaster

    please, be sure that rootfs file is present on /tftpboot/GEEXBOX

    then you can boot using :
    rw nfsroot=192.168.2.21:/tftpboot/GEEXBOX ip=dhcp initrd=initrd

    I’m testing another solution

    #11719

    antony0509
    Participant

    https://www.youtube.com/watch?v=7MccyLZ_1Rs

    I’m going to tell you that I have succeeded with the same instruction as you
    But I still can not find the write-back set back geexbox

    #11720

    tomlohave
    Keymaster

    ???

    please test this solution too (better, no need to add a mechanism to save data across reboot … )
    editing default configuration

    LABEL test-boot
      MENU_LABEL test
      MENU DEFAULT
      KERNEL /vmlinuz
      APPEND rw root=/dev/nfs ip=dhcp nfsroot=192.168.2.21:/tftpboot/GEEXBOX,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,timeo=11,mountproto=udp
    • This reply was modified 1 year, 7 months ago by  tomlohave.
    #11722

    antony0509
    Participant

    I have test results or failure coupled with the results you look at different initrd

    https://www.youtube.com/watch?v=FyU16aQdgo4

    log:

    PS: My English is translated by google If you can not read the place please forgive me

    • This reply was modified 1 year, 7 months ago by  antony0509.
    #11723

    tomlohave
    Keymaster

    hum, from what I can see, you boot without initrd, right ?
    But I see something wrong about that, like our initrd was specified in command line …
    Anyway, you have definitively something wrong with the way nfsroot is mounted. But i don’t find where is the problem …

    Let’s see now with persistent data. I hope it works. I’m creating a persistent data file and testing it.
    (another way, just for kodi, is to share a home directory over nfs)

    #11725

    antony0509
    Participant

    https://youtu.be/FyU16aQdgo4?t=2m14s

    Here I use initrd to start the results or the same

Viewing 15 posts - 61 through 75 (of 97 total)

You must be logged in to reply to this topic.