Error after login via PXE.



  • Reloaded the server about a week ago, managed to get all the images seen ( didn’t backup database )

    Anyway, had it running well… I was told we had a power outage, I guess some shut it down ( Power button )

    Now I’m getting a strange error after I login via PXE.

    So it boots to fog fine, I select Deploy Image, it asks for user/pass. As soon as I hit enter after user/password, I get this error.

    http://10.22.24.5/fog/service/ipxe/boot.php… ok
    Unrecognized option "-W"
    Useage :

    item [-m:–menu <menu>] [-k:–key <key>] [-d:–default] [-g:gap] [<label> [<text>]]

    See http://ipxe.org/cmd/items for further information
    Could not boot : invalid argument (http://ipxe.org/1c162202)
    Could not boot : invalid argument (http://ipxe.org/1c162202)
    Chainloading failed/ hit “s” for iPXE shell: reboot in 10 seconds

    This is the reason I rebuilt it last week, I had an older version that started goofing up. I figured I would just rebuild and upgrade anyway.

    Can’t find where to go here, everything I read looks good ?

    Thanks in advance !


  • Moderator

    @Cire3 Hey I’m glad you have it worked out. You found one of the gotchas with naming (No special characters as the first character in the names).



  • @george1421 Actually I figured it out (When you pointed me in the right direction )

    My first item ( newer image )

    item -Win10–1803–o16–ninite–8-28-18 -Win10–1803–o16–ninite–8-28-18 (89)

    It see’s the -Win10 and pissed it off. I created it that way so it would be on the top of the list… And not knowing a “-” would piss it off.

    Changed the name of the image, as well as the directory name it was in.

    Now the menu opens after I log in !!

    Can’t say enough about you guys, huge help here !!!

    Many thanks for your time and steering me in the direction !!



  • @Cire3

    OOPS, let me correct that… Didn’t take the <> out

    First part of it as it’s too long to post all of it

    #!ipxe
    set fog-ip 10.22.24.5
    set fog-webroot fog
    set boot-url http://${fog-ip}/${fog-webroot}
    goto MENU
    :MENU
    menu
    item -Win10–1803–o16–ninite–8-28-18 -Win10–1803–o16–ninite–8-28-18 (89)
    item 2170pi5win10fuo16 2170pi5win10fuo16 (88)
    item 2540pi5Win10o13 2540pi5Win10o13 (87)
    item 2540pi5Win7o13 2540pi5Win7o13 (86)
    item 2560pi5Win10013 2560pi5Win10013 (85)
    item 2560pi5Win7013 2560pi5Win7013 (84)
    item 2570pwin10fu16 2570pwin10fu16 (83)
    item 2740pWin7o13 2740pWin7o13 (82)
    item 6000C2QWin10FUo13 6000C2QWin10FUo13 (81)
    item 6000ProCore2Quad7Pro0 6000ProCore2Quad7Pro0 (80)
    item 600ProDeskWin101803x646-4-18 600ProDeskWin101803x646-4-18 (2)
    item 6200SFFi7Win10o16 6200SFFi7Win10o16 (79)
    item 6300i5win7o13 6300i5win7o13 (78)
    item 6300i7Win10CUo16-8-17 6300i7Win10CUo16-8-17 (77)
    item 6300i7Win10FUo16 6300i7Win10FUo16 (76)
    item 6460bwin10o13 6460bwin10o13 (75)
    item 6460bWin7o13 6460bWin7o13 (74)
    item 6570bi5Win10 6570bi5Win10 (73)
    item 8000C2Qwin10o13CU 8000C2Qwin10o13CU (72)
    item 8000ProC2QSFFWin7o13 8000ProC2QSFFWin7o13 (71)
    item 8000ProSFFC2QWin10o13 8000ProSFFC2QWin10o13 (70)
    item 8200CMTi7Win7o13 8200CMTi7Win7o13 (69)
    item 8200ELiteWin10FUo16 8200ELiteWin10FUo16 (68)
    item 8300ProWin10o16FU 8300ProWin10o16FU (67)
    item 840ELitebookG1WIn10FCU 840ELitebookG1WIn10FCU (66)
    item 8440pi5Win10013 8440pi5Win10013 (65)
    item 8440pi5Win7 8440pi5Win7 (64)
    item 8460pi5Win10013 8460pi5Win10013 (63)
    item 8460pi5WIn7o13 8460pi5WIn7o13 (62)
    item 8470pi5win10o16 8470pi5win10o16 (61)
    item 8540pi7Win10010 8540pi7Win10010 (60)
    item 8560p-win10x64–1803 8560p-win10x64–1803 (59)
    item 8560pi5Win7o13 8560pi5Win7o13 (58)
    item 8560pi7Win10_fu_16 8560pi7Win10_fu_16 (57)
    item 8560ww10016 8560ww10016 (56)
    item 8570pi5Win10o16 8570pi5Win10o16 (55)
    item 8570pi5Win7016 8570pi5Win7016 (54)
    item 8740wi7Win10o13 8740wi7Win10o13 (53)
    item 8740wWin7o13 8740wWin7o13 (52)
    item 9470mi7Win10x641803–8-3-18 9470mi7Win10x641803–8-3-18 (51)
    item 9480Folioi7win1018038-1-18 9480Folioi7win1018038-1-18 (50)
    item CarbonX1G3Win10x64FCU CarbonX1G3Win10x64FCU (49)
    item CF-53Win10CUo167-19-17 CF-53Win10CUo167-19-17 (48)
    item CF53i5Win10o16 CF53i5Win10o16 (47)
    item DC5800C2DWin7o13 DC5800C2DWin7o13 (46)
    item DC7900WIn7o10 DC7900WIn7o10 (45)
    item EliteDesk800G1i5win101803 EliteDesk800G1i5win101803 (44)
    item Fijitsu-T935-win10-FCU Fijitsu-T935-win10-FCU (43)
    item Folio9480mWin101803o16 Folio 9480m Win10 1803 o16 (1)
    item LenovoM71eSFFi3win10o13 LenovoM71eSFFi3win10o13 (42)
    item LenovoM71eSFFi3win7o13 LenovoM71eSFFi3win7o13 (41)
    item LenovoM92Pi5Win10o16SFF LenovoM92Pi5Win10o16SFF (40)
    item LenovoRecoveryWin7 LenovoRecoveryWin7 (39)
    item LenovoT60pWin10016 LenovoT60pWin10016 (38)
    item LenovoT60PWin7 LenovoT60PWin7 (37)
    item M58PSFFLenovoc2dWin10fuo13 M58PSFFLenovoc2dWin10fuo13 (36)
    item M83Win10-CU-o16–8-21-17 M83Win10-CU-o16–8-21-17 (35)
    item M83Win10-FU-o16–8-11-17 M83Win10-FU-o16–8-11-17 (34)
    item M92pUSFFWin10FCU4-16-18 M92pUSFFWin10FCU4-16-18 (33)
    item PDSi5Win10016CU PDSi5Win10016CU (32)
    item PDSVectorsff15win10o13 PDSVectorsff15win10o13 (31)
    item PDSVectorsffWin7013 PDSVectorsffWin7013 (30)
    item R61C2DWin7Mark R61C2DWin7Mark (29)
    item Revolve810G3Win10CUo16 Revolve810G3Win10CUo16 (28)
    item Revolve810G3Win10FUo16 Revolve810G3Win10FUo16 (27)
    item surface-Pro-3-win10 surface-Pro-3-win10 (26)
    item T420i5Win10o13 T420i5Win10o13 (25)
    item T420i5Win7o13 T420i5Win7o13 (24)
    item T420sWin10FUo16112916 T420sWin10FUo16112916 (23)
    item T420sWin7o13 T420sWin7o13 (22)
    item T430i5Win10-FCU-4-17-18 T430i5Win10-FCU-4-17-18 (3)
    item T430si5Win7o13 T430si5Win7o13 (21)
    item T431sWin10CUo16 T431sWin10CUo16 (20)
    item T431swin10MAINo16 T431swin10MAINo16 (19)
    item T440s-Win10Prox64-FCU T440s-Win10Prox64-FCU (18)
    item T510i7Win10o16 T510i7Win10o16 (17)
    item T510i7Win7o13 T510i7Win7o13 (16)
    item T520i7Win10o13 T520i7Win10o13 (15)
    item T530Win10FU112916 T530Win10FU112916 (14)
    item T530Win7i5013 T530Win7i5013 (13)
    item T540pWin10o16CU T540pWin10o16CU (12)
    item W530-10pro1803-i7 W530-10pro1803-i7 (11)
    item W530Win10-FCU-k2000-4-18-18 W530Win10-FCU-k2000-4-18-18 (10)
    item Win-10-FU-X64 Win-10-FU-X64 (9)
    item x201lenovoi5Win10o13 x201lenovoi5Win10o13 (8)
    item X201Lenovoi5Win7Proo13 X201Lenovoi5Win7Proo13 (7)
    item X230i5TabWin10x64o16 X230i5TabWin10x64o16 (6)
    item X230i5TabWin7x64o16 X230i5TabWin7x64o16 (5)
    item Z420 Z420 (4)
    item return Return to menu
    choose target && goto ${target}
    :-Win10–1803–o16–ninite–8-28-18
    set imageID 89
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2170pi5win10fuo16
    set imageID 88
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2540pi5Win10o13
    set imageID 87
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2540pi5Win7o13
    set imageID 86
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2560pi5Win10013
    set imageID 85
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2560pi5Win7013
    set imageID 84
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2570pwin10fu16
    set imageID 83
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :2740pWin7o13
    set imageID 82
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6000C2QWin10FUo13
    set imageID 81
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6000ProCore2Quad7Pro0
    set imageID 80
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :600ProDeskWin101803x646-4-18
    set imageID 2
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6200SFFi7Win10o16
    set imageID 79
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6300i5win7o13
    set imageID 78
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6300i7Win10CUo16-8-17
    set imageID 77
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6300i7Win10FUo16
    set imageID 76
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6460bwin10o13
    set imageID 75
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6460bWin7o13
    set imageID 74
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :6570bi5Win10
    set imageID 73
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8000C2Qwin10o13CU
    set imageID 72
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8000ProC2QSFFWin7o13
    set imageID 71
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8000ProSFFC2QWin10o13
    set imageID 70
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8200CMTi7Win7o13
    set imageID 69
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8200ELiteWin10FUo16
    set imageID 68
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8300ProWin10o16FU
    set imageID 67
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :840ELitebookG1WIn10FCU
    set imageID 66
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8440pi5Win10013
    set imageID 65
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8440pi5Win7
    set imageID 64
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8460pi5Win10013
    set imageID 63
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8460pi5WIn7o13
    set imageID 62
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8470pi5win10o16
    set imageID 61
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8540pi7Win10010
    set imageID 60
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8560p-win10x64–1803
    set imageID 59
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8560pi5Win7o13
    set imageID 58
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8560pi7Win10_fu_16
    set imageID 57
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8560ww10016
    set imageID 56
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8570pi5Win10o16
    set imageID 55
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8570pi5Win7016
    set imageID 54
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8740wi7Win10o13
    set imageID 53
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :8740wWin7o13
    set imageID 52
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :9470mi7Win10x641803–8-3-18
    set imageID 51
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :9480Folioi7win1018038-1-18
    set imageID 50
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :CarbonX1G3Win10x64FCU
    set imageID 49
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :CF-53Win10CUo167-19-17
    set imageID 48
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :CF53i5Win10o16
    set imageID 47
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :DC5800C2DWin7o13
    set imageID 46
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param imageID ${imageID}
    param qihost 1
    param username ${username}
    param password ${password}
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :DC7900WIn7o10
    set imageID 45



  • @george1421

    That was easy as fog is my user and password is my password :)

    This is what I get.

    #!ipxe
    set fog-ip 10.22.24.5
    set fog-webroot fog
    set boot-url http://${fog-ip}/${fog-webroot}
    echo Invalid login!
    clear username
    clear password
    sleep 3
    cpuid --ext 29 && set arch x86_64 || set arch i386
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param platform ${platform}
    param menuAccess 1
    param debug
    param sysuuid ${uuid}
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar http://10.22.24.5/fog/service/ipxe/boot.php##params


  • Moderator

    @Cire3 Ok that one looks good, this next one is a bit of reverse engineering.

    http://10.22.24.5/fog/service/ipxe/boot.php?mac0=00:00:00:00:00:01&arch=x86_64&username=<fog>&password=<password>&qihost=1&sysuuid=123456
    

    This one will show us the menu behind the “deploy image” selection menu. I think this is where that -W flag is coming in. You should replace the <username> and <password> in the above url to match what you have entered for user name and password on the deploy menu screen.

    [edit] Just in case we need to go one step more, tell me what image name you were selecting when it blew up.



  • Here it is, and thanks !! Wondering about file system corruption ?

    #!ipxe
    set fog-ip 10.22.24.5
    set fog-webroot fog
    set boot-url http://${fog-ip}/${fog-webroot}
    cpuid --ext 29 && set arch x86_64 || set arch i386
    goto get_console
    :console_set
    colour --rgb 0x00567a 1 ||
    colour --rgb 0x00567a 2 ||
    colour --rgb 0x00567a 4 ||
    cpair --foreground 7 --background 2 2 ||
    goto MENU
    :alt_console
    cpair --background 0 1 ||
    cpair --background 1 2 ||
    goto MENU
    :get_console
    console --picture http://10.22.24.5/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
    :MENU
    menu
    colour --rgb 0xff0000 0 ||
    cpair --foreground 1 1 ||
    cpair --foreground 0 3 ||
    cpair --foreground 4 4 ||
    item --gap Host is NOT registered!
    item --gap – -------------------------------------
    item fog.local Boot from hard disk
    item fog.memtest Run Memtest86+
    item fog.reginput Perform Full Host Registration and Inventory
    item fog.reg Quick Registration and Inventory
    item fog.deployimage Deploy Image
    item fog.multijoin Join Multicast Session
    item fog.sysinfo Client System Information (Compatibility)
    choose --default fog.local --timeout 10000 target && goto ${target}
    :fog.local
    sanboot --no-describe --drive 0x80 || goto MENU
    :fog.memtest
    kernel memdisk initrd=memtest.bin iso raw
    initrd memtest.bin
    boot || goto MENU
    :fog.reginput
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://10.22.24.5/fog/ consoleblank=0 rootfstype=ext4 storage=10.22.24.5:/images/ storageip=10.22.24.5 loglevel=4 mode=manreg
    imgfetch init_32.xz
    boot || goto MENU
    :fog.reg
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://10.22.24.5/fog/ consoleblank=0 rootfstype=ext4 storage=10.22.24.5:/images/ storageip=10.22.24.5 loglevel=4 mode=autoreg
    imgfetch init_32.xz
    boot || goto MENU
    :fog.deployimage
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param qihost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    param sysuuid ${uuid}
    :fog.multijoin
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param sessionJoin 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    param sysuuid ${uuid}
    :fog.sysinfo
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://10.22.24.5/fog/ consoleblank=0 rootfstype=ext4 storage=10.22.24.5:/images/ storageip=10.22.24.5 loglevel=4 mode=sysinfo
    imgfetch init_32.xz
    boot || goto MENU
    :bootme
    chain -ar http://10.22.24.5/fog/service/ipxe/boot.php##params ||
    goto MENU
    autoboot


  • Moderator

    @Cire3 said in Error after login via PXE.:

    http://10.22.24.5/fog/service/ipxe/boot.php

    that error message means that something is wacky with the iPXE menu. I don’t know if we will see this nonsense at this stage but key in the following from a web browser.

    http://10.22.24.5/fog/service/ipxe/boot.php?mac=00:00:00:00:00:01
    

    Please post the output here. This above url will return the text behind the iPXE menu the target computer sees.


 

523
Online

41.9k
Users

12.4k
Topics

116.7k
Posts