[ 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 - 76 through 90 (of 97 total)
  • Author
    Posts
  • #11726

    tomlohave
    Keymaster

    hum, got some problems mounting external casper-rw file for persistent data. As I tested it 3 years ago, I need some time to look at this (I don’t know if it still works)

    #11727

    antony0509
    Participant

    Trouble you thank you

    #11730

    tomlohave
    Keymaster

    Ok, I get some kernel panic, still not yet fixed.
    I will try to fix this later …

    one thing : can you boot with nfsrootdebug ?

    ie :

    rw root=/dev/nfs ip=dhcp nfsroot=192.168.2.21:/tftpboot/GEEXBOX nfsrootdebug

    Try this too :

    rw root=/dev/nfs ip=dhcp nfsroot=192.168.2.21:/tftpboot/GEEXBOX,proto=tcp nfsrootdebug

    and this one too

    rw root=/dev/nfs ip=dhcp nfsroot=192.168.2.21:/tftpboot/GEEXBOX,proto=tcp,v3 nfsrootdebug

    Cheers !

    #11737

    tomlohave
    Keymaster

    Hi, I think I found an alternative, I’m uploading a new image …
    be patient
    to summarize : mount nfs share using our initrd (it should solves the problem with direct boot to nfs share) then pivot_root using this nfs share.

    I will instruct later how to boot then

    Cheers !

    #11738

    antony0509
    Participant

    These days are busy with no extra time to test
    Thank you very much for your help

    #11739

    tomlohave
    Keymaster

    Well, your problem is quite like a challenge :p
    Fee free to answer once you have spare time.

    Cheers !

    #11740

    antony0509
    Participant

    Thank you very much.

    Which iso file are I going to download?

    #11741

    tomlohave
    Keymaster

    you can download this image : http://download.geexbox.org/tests/tom/i386/geexbox-devel-20170509-r5eec08f-i386.iso

    create a directory in /tftpboot

    mkdir /tftpboot/geexbox
    mkdir /tftpboot/squashfs

    mount ths iso

    mount -o loop geexbox-devel-20170509-r5eec08f-i386.iso /tftpboot/geexbox
    mount -o loop /tftpboot/geexbox/rootfs /tftpboot/squashfs

    delete previous installation of geexbox :
    rm -rf /tftpboot/GEEXBOX && mkdir -p /tftpboot/GEEXBOX/boot

    copy everything inside it now

    cp -r /tftpboot/squashfs/* /tftpboot/GEEXBOX
    cp /tftpboot/geexbox/rootfs /tftpboot/GEEXBOX
    cp -r /tftpboot/geexbox/isolinux/* /tftpboot/GEEXBOX/boot

    prepare the network : (adapt to your needs for the nameserver, here, it’s google’s one)

    echo "nameserver 8.8.8.8" > /tftpboot/GEEXBOX/etc/resolv.conf
    mv /tftpboot/GEEXBOX/lib/systemd/system/connman.service /tftpboot/GEEXBOX/lib/systemd/system/connman.service2

    edit /tftpboot/GEEXBOX/boot/pxelinux.cfg/default
    and add something like that :

    LABEL geexbox-nf
      MENU LABEL Start GeeXboX over nfs...
      MENU DEFAULT
      KERNEL /vmlinuz
      APPEND rw initrd=initrd nfsroot=192.168.2.21:/tftpboot/GEEXBOX ip=dhcp

    try to boot now …. (fingers crossed)

    • This reply was modified 1 year, 7 months ago by  tomlohave. Reason: typo
    #11752

    antony0509
    Participant

    Thank you very much for the system to work properly
    But there is a small problem
    Today’s machine if there is HDMI (pictured)
    There are two audio output
    There will be no sound when playing a movie
    No matter which round of the source I choose is the same
    This problem has a solution?

    #11753

    Tomtom
    Keymaster

    Hello,
    Great ! it works 🙂

    for the sound issue,
    what returns :
    aplay -l
    then
    aplay -L

    if it’s a radeon card, you can maybe force it adding this to boot command line :
    radeon.audio=1

    • This reply was modified 1 year, 7 months ago by  Tomtom. Reason: typo
    #11755

    antony0509
    Participant

    EX:
    APPEND rw initrd=initrd nfsroot=192.168.2.21:/tftpboot/GEEXBOX ip=dhcp radeon.auio=1

    Is that right?

    #11756

    Tomtom
    Keymaster

    yes, if it’s a radeon card (check the results of “aplay -l” and “aplay -L”)

    Else, you have to play with the program alsamixer to see where is the problem

    #11757

    antony0509
    Participant

    I’m sorry I do not know where to use aplay -l and aplay-l
    And where to use alsamixer

    #11758

    tomlohave
    Keymaster

    to access remotely geexbox : look here : http://www.geexbox.org/geexbox-advanced-configuration-login-and-administration/
    (telnet part)

    I forget something about audio :
    read this :
    http://www.geexbox.org/geexbox-advanced-configuration-audio-configuration/
    (change in /etc/audio variable SOUNDCARD_MODE=”analog” to SOUNDCARD_MODE=”hdmi” )

    #11760

    antony0509
    Participant

    Sorry for these days for WannaCry busy
    Today have time to test geebox
    I would like to ask because now the new motherboard will have hdmi and built-in sound card
    I was to the / etc / audio inside the
    SOUNDCARD_MODE = “analog”
    SOUNDCARD_MODE = “hdmi”
    Two are keyin up or only two choose one?

Viewing 15 posts - 76 through 90 (of 97 total)

You must be logged in to reply to this topic.