No such file or directory??? 5417



  • I upgraded to trunk last night. and of course today it 5419. at any rate i attempted to do the same as i have done since the begining by placing custom linux distros in the /var/www/html/fog/service/ipxe/ folder issue is i get:
    0_1447877360220_VirtualBox_toer_18_11_2015_14_04_58.png
    It worked for like 15 minute now it cant read the directory why?? i have exprted the nfs and everything, im stuck like chuck on this one



  • This post is deleted!

  • Senior Developer

    @Wayne-Workman no it wouldn’t matter. Beyond that the links go into mobile not the reverse so this would not have any impact unless you were going into mobile.



  • @Wayne-Workman It turns out that it works of off of symbolic links so their was no need for me to change the document to include the “html” factor.

    I did have to export the nfs to include the new entry and perhaps did not have to buut. so im back up and running

    old export:

    /var/www/fog/service/ipxe/15.10_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/15.10_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/kubuntu5_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/kubuntu5_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/lm_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/lm_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/lmc_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/lmc_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/fog/service/ipxe/kde *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    

    new export:

    /var/www/html/fog/service/ipxe/15.10_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/15.10_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/kubuntu5_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/kubuntu5_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/lm_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/lm_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/lmc_32 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/lmc_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /var/www/html/fog/service/ipxe/kde *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    

    Edited: Formatting



  • @Wayne-Workman Ok Wierd!!. It turns out that you were right!! THe “html” entry was the antagonizing factor. I simply wnet back to my original document and wala.

    
    :MENU
    menu
    item --gap – ---------------- iPXE boot menu ----------------
    item mac Macrium Reflect
    item clonezilla Clonezilla 2015
    item ubuntu Ubuntu 15:10 x64
    item ubuntu Ubuntu 15:10 x32
    item kubuntu Kubuntu 15:10 x64 
    item kubuntu Kubuntu 15:10 x32
    item mint Linux Mint 17.2 "Rafaela" - MATE (32-bit)
    item mint Linux Mint 17.2 "Rafaela" - MATE (64-bit)
    item mint Linux Mint 17.2 "Rafaela" - Cinnamon (32-bit)
    item mint Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit)
    item BOOTCD Hirens 15.2 BOOTCD
    item shell ipxe shell
    item return return to previous menu
    choose --default return --timeout 5000 target && goto ${target}
    :mac
    initrd http://${fog-ip}/fog/service/ipxe/mac/mac.iso
    chain memdisk iso raw ||
    goto MENU
    
    :clonezilla
    kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
    initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
    imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE
    boot || echo failed to boot
    prompt
    goto MENU```
    
    :ubuntu
    set path /fog/service/ipxe/15.10_64
    set nfs_path /var/www/fog/service/ipxe/15.10_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :ubuntu
    set path /fog/service/ipxe/15.10_32
    set nfs_path /var/www/fog/service/ipxe/15.10_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :kubuntu
    kernel http://${fog-ip}/fog/service/ipxe/kubuntu5_64/casper/vmlinuz.efi
    initrd http://${fog-ip}/fog/service/ipxe/kubuntu5_64/casper/initrd.lz
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/kubuntu5_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
    boot || goto failed
    goto start
    
    :kubuntu
    kernel http://${fog-ip}/fog/service/ipxe/kubuntu5_32/casper/vmlinuz
    initrd http://${fog-ip}/fog/service/ipxe/kubuntu5_32/casper/initrd.lz
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/kubuntu5_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
    boot || goto failed
    goto start
    
    :mint
    set path /fog/service/ipxe/lm_32
    set nfs_path /var/www/fog/service/ipxe/lm_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /fog/service/ipxe/lm_64
    set nfs_path /var/www/fog/service/ipxe/lm_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /fog/service/ipxe/lmc_32
    set nfs_path /var/www/fog/service/ipxe/lmc_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /fog/service/ipxe/lmc_64
    set nfs_path /var/www/fog/service/ipxe/lmc_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :BOOTCD
    initrd http://${fog-ip}/fog/service/ipxe/bootcd/hirensboot.iso ||
    chain memdisk iso raw ||
    boot ||
    goto MENU
    
    :shell
    shell ||
    goto MENU
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    prompt
    goto MENU
    Autoboot
    

    Edited: Formatting


  • Moderator

    @Developers is it right that these have double forward slashes? I’ve highlighted it below.

    6030148 0 lrwxrwxrwx 1 www-data www-data 34 Nov 17 22:09 ./html/fog/mobile/scss -> /var/www/html/fog//management/scss


  • Moderator



  • @Wayne-Workman Here is the output:

    5374330    0 lrwxrwxrwx   1 root     root           18 Nov 17 22:09 ./fog -> /var/www/html/fog/
    6030140    0 lrwxrwxrwx   1 www-data www-data       18 Nov 17 22:09 ./html/fog/fog -> /var/www/html/fog/
    6030148    0 lrwxrwxrwx   1 www-data www-data       34 Nov 17 22:09 ./html/fog/mobile/scss -> /var/www/html/fog//management/scss
    6030145    0 lrwxrwxrwx   1 www-data www-data       50 Nov 17 22:09 ./html/fog/mobile/css/font-awesome.css -> /var/www/html/fog//management/css/font-awesome.css
    6030147    0 lrwxrwxrwx   1 www-data www-data       34 Nov 17 22:09 ./html/fog/mobile/less -> /var/www/html/fog//management/less
    6030146    0 lrwxrwxrwx   1 www-data www-data       35 Nov 17 22:09 ./html/fog/mobile/fonts -> /var/www/html/fog//management/fonts
    

    Edited: Formatting


  • Moderator

    I might have figured it out…

    Look at the path it’s trying to get to in the error.
    http://192.168.1.133/html/fog/service…

    Can you run this and give the output? cd /var/www;find . -type l -ls



  • @Wayne-Workman A symbolic link? I’m not savvy.
    what i normally do is use filezilla, i then create folders in the fog ipxe directory and copy the extracted iso inmate to each folder custom named with the text in the andvanced boot menu gui to compliment it. for exaample here is by boot file i used and that worked until i upgraded to trunk.

    :MENU
    menu
    item --gap – ---------------- iPXE boot menu ----------------
    item mac Macrium Reflect
    item clonezilla Clonezilla 2015
    item ubuntu Ubuntu 15:10 x64
    item ubuntu Ubuntu 15:10 x32
    item kubuntu Kubuntu 15:10 x64 
    item kubuntu Kubuntu 15:10 x32
    item mint Linux Mint 17.2 "Rafaela" - MATE (32-bit)
    item mint Linux Mint 17.2 "Rafaela" - MATE (64-bit)
    item mint Linux Mint 17.2 "Rafaela" - Cinnamon (32-bit)
    item mint Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit)
    item BOOTCD Hirens 15.2 BOOTCD
    item shell ipxe shell
    item return return to previous menu
    choose --default return --timeout 5000 target && goto ${target}
    :mac
    initrd http://${fog-ip}/html/fog/service/ipxe/mac/mac.iso
    chain memdisk iso raw ||
    goto MENU
    
    :clonezilla
    kernel http://${fog-ip}/html/fog/service/ipxe/clonezilla/vmlinuz
    initrd http://${fog-ip}/html/fog/service/ipxe/clonezilla/initrd.img
    imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/html/fog/service/ipxe/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE
    boot || echo failed to boot
    prompt
    goto MENU```
    
    :ubuntu
    set path /html/fog/service/ipxe/15.10_64
    set nfs_path /var/www/html/fog/service/ipxe/15.10_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :ubuntu
    set path /html/fog/service/ipxe/15.10_32
    set nfs_path /var/www/html/fog/service/ipxe/15.10_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :kubuntu
    kernel http://${fog-ip}/html/fog/service/ipxe/kubuntu5_64/casper/vmlinuz.efi
    initrd http://${fog-ip}/html/fog/service/ipxe/kubuntu5_64/casper/initrd.lz
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/fog/service/ipxe/kubuntu5_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
    boot || goto failed
    goto start
    
    :kubuntu
    kernel http://${fog-ip}/html/fog/service/ipxe/kubuntu5_32/casper/vmlinuz
    initrd http://${fog-ip}/html/fog/service/ipxe/kubuntu5_32/casper/initrd.lz
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/fog/service/ipxe/kubuntu5_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
    boot || goto failed
    goto start
    
    :mint
    set path /html/fog/service/ipxe/lm_32
    set nfs_path /var/www/html/fog/service/ipxe/lm_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /html/fog/service/ipxe/lm_64
    set nfs_path /var/www/html/fog/service/ipxe/lm_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /html/fog/service/ipxe/lmc_32
    set nfs_path /var/www/html/fog/service/ipxe/lmc_32
    kernel http://${fog-ip}${path}/casper/vmlinuz || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :mint
    set path /html/fog/service/ipxe/lmc_64
    set nfs_path /var/www/html/fog/service/ipxe/lmc_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start
    
    :BOOTCD
    initrd http://${fog-ip}/html/fog/service/ipxe/hirens/hirensboot.iso ||
    chain memdisk iso raw ||
    boot ||
    goto MENU
    
    :shell
    shell ||
    goto MENU
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    prompt
    goto MENU
    Autoboot
    

    Edited: Formatting



  • A symbolic link? I’m not savvy


  • Moderator

    Check the permissions on it.
    Are you using symbolic links for those?


Log in to reply
 

515
Online

38925
Users

10691
Topics

101434
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.