• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    No such file or directory??? 5417

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    12
    4.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dureal99d
      last edited by dureal99d

      A symbolic link? I’m not savvy

      1 Reply Last reply Reply Quote 0
      • D
        dureal99d @Wayne Workman
        last edited by Joe Schmitt

        @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

        Wayne WorkmanW 1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by Wayne Workman

          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

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          D 2 Replies Last reply Reply Quote 0
          • D
            dureal99d @Wayne Workman
            last edited by Joe Schmitt

            @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

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @dureal99d
              last edited by

              @dureal99d said:

              @Wayne-Workman A symbolic link? I’m not savvy.

              https://en.wikipedia.org/wiki/Symbolic_link

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              D 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                @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

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • D
                  dureal99d @Wayne Workman
                  last edited by Joe Schmitt

                  @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

                  1 Reply Last reply Reply Quote 0
                  • D
                    dureal99d @Wayne Workman
                    last edited by Joe Schmitt

                    @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

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Wayne Workman
                      last edited by

                      @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.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • H
                        Hanz
                        last edited by Hanz

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        185

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project