[ 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 - 16 through 30 (of 97 total)
  • Author
    Posts
  • #11616

    tomlohave
    Keymaster

    Can you post me your conf to boot from pxe (both server and client)

    #11617

    antony0509
    Participant

    Ok, but wait until tomorrow to work to the company posted to you
    Sorry

    #11618

    tomlohave
    Keymaster

    No problem.

    #11619

    antony0509
    Participant

    :export

    /tftpboot/GEEXBOX *(ro,sync,async,no_root_squash)
    /video1 *(ro,sync,async,no_root_squash)

    :dhcpd.conf

    ddns-update-style none;
    allow booting;
    allow bootp;

    subnet 192.68.2.0 netmask 255.255.255.0 {
    range dynamic-bootp 192.168.2.101 192.168.2.150;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.2.255;
    next-server 192.168.2.21;
    filename “/GEEXBOX/boot/pxelinux.0:;
    }

    :smb.conf

    [video1]
    path = /viedo1
    public = yes
    browseable = yes
    writable = no

    :tft

    service tftp
    {
    disable = no
    socket_type = dgram
    protocol = udp
    wait = yes
    user = root
    server = /usr/sbin/in.tftpd
    server_args = -s /tftpboot
    per_source = 11
    cps = 100 2
    flags =IPv4
    }

    :default

    DEFAULT vesamenu.c32
    PROMPT 0

    TIMEOUT 20

    MENU BACKGROUND splash.png
    MENU TITLE Welcome to GeeXboX x86_64 devel-20170423-r6f88ade (C) 2002-2017
    MENU MARGIN 5
    MENU VSHIFT 11
    MENU ROWS 6
    MENU TABMSGROW 15
    MENU CMDLINEROW 14
    MENU HELPMSGROW 16
    MENU TABMSG Press [Tab] to edit options, [F1] for boot options.
    MENU COLOR sel 7;37;40 #e0000000 #fa833b all
    MENU COLOR border 30;44 #00000000 #00000000 none

    LABEL geexbox
    MENU LABEL Start GeeXboX …
    MENU DEFAULT
    KERNEL vmlinuz
    APPEND initrd=initrd persistent quiet splash loglevel=3

    #11620

    antony0509
    Participant

    Sorry i am an idiot
    I just found that the original was started with a CD player yesterday
    So it can be used normally
    Today to work only to find back to pxe after the same or no way to use

    #11621

    tomlohave
    Keymaster

    about pxe : you have no writable share, so everything you change will be lost on reboot.

    Today to work only to find back to pxe after the same or no way to use

    Sorry, I do not understand this.

    #11622

    antony0509
    Participant

    I found that although I was using pxe boot, but as long as the use of geodbox-devel-20170423-r6f88ade-x86_64.iso on the CD-ROM
    It can be used normally, if the mount will be removed can not find a valid root filesystem dropping to shell geexbox message
    So that although it is pxe boot but will eventually read the CD-ROM information

    #11623

    antony0509
    Participant

    about pxe : you have no writable share, so everything you change will be lost on reboot.

    Is there a way to save the modified environment?

    #11624

    tomlohave
    Keymaster

    hum, I forget, to boot from an exported nfs system, you need to pass nfsroot=server-ip/path-to-geexbox-rootfs to boot command line

    #11625

    antony0509
    Participant

    So I would like to extract the rootfs file, copy to the host to go?

    #11626

    tomlohave
    Keymaster

    no, it shouldn’t.
    if we summarize :
    – you can already boot from pxe
    – but it fails to mount rootfs file (not found) -> that’s because this file is located on a nfs share, so we need to pass an argument to our init script to found it

    booting geexbox, at the menu logo, press TAB and add :
    nfsroot=ip-of-our-nfsserver/tftpboot/GEEXBOX

    so the boot command should be something like :
    initrd=initrd persistent loglevel=3 nfsroot=ip-of-your-nfsserver/tftpboot/GEEXBOX

    • This reply was modified 1 year, 7 months ago by  tomlohave.
    #11628

    antony0509
    Participant

    Thank you already have normal pxe boot
    last question
    How to modify it into a Chinese interface
    Save the user to use pxe boot are Chinese environment

    #11629

    tomlohave
    Keymaster

    Hum, you need to create a persistent file for this.

    #11630

    tomlohave
    Keymaster

    I’m testing a nfs boot with a flat geexbox build (ie no iso and no rootfs file)

    #11631

    antony0509
    Participant

    thank you very much
    Is it the way as in the previous version 1.0?

Viewing 15 posts - 16 through 30 (of 97 total)

You must be logged in to reply to this topic.