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

    Live CD Configurations for boot

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    17
    10.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      How isn’t it working?

      I need more details.

      Have you at least extracted these files to that location so they’re actually accessible?

      Just because there’s a problem does not mean it’s automatically FOG’s doing. There are some tasks that need to be done by the user.

      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
      • F
        fabritrento
        last edited by

        i tryed also

        :UBUNTU
        kernel [url]http://${fog-ip}/fog/iso/ubuntu/casper/vmlinuz[/url]
        initrd [url]http://${fog-ip}/fog/iso/ubuntu/casper/initrd.lz[/url]
        imgargs vmlinuz root=/dev/nfs boot=. netboot=nfs nfsroot=192.168.0.3:/var/www/fog/iso/ubuntu/casper/ locale=it_IT console-setup/layoutcode=no
        boot || goto failed
        goto MENU

        using nfs and the kernel boots up after that, (intramfs) is printed on screen

        1 Reply Last reply Reply Quote 0
        • A
          AJPaterson
          last edited by

          I really miss the old simple pxelinux menu and the ability to easily boot livecds using memdisk iso raw. It was a really simple way to have a an easily managed menu of bootable utility cds that boot directly into the live environment through tftp. If I wanted to upgrade a live version, all I had to do was replace the iso file. It just worked to boot livecds on every machine I have.

          Upgraded to 1.2 with ipxe and maintaining a boot menu with the advanced menu became a lot more complicated. Trying to use memdisk iso raw with clonezilla livecd doesn’t work anymore because it can’t find the filesystem.squashfs. I had to extract the files from the livecd and use the following advanced boot menu code:

          :CLONEZILLA
          kernel [url]http://${fog-ip}/fog/iso/clonezilla/vmlinuz[/url]
          initrd [url]http://${fog-ip}/fog/iso/clonezilla/initrd.img[/url]
          imgargs vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_keymap=“” ocs_live_batch=“no” ocs_daemonon=“ssh” usercrypted=Kb/VNchPYhuf6 ocs_lang=“” vga=788 nosplash noprompt fetch=[url]http://${fog-ip}/fog/iso/clonezilla/filesystem.squashfs[/url]
          boot ||

          The above boots a working clonezilla, though not identical to the livecd. This does not seem an improvement over the simple livecd booting method under the old pxelinux menu:

          LABEL clonezilla
          MENU LABEL Clonezilla Live
          LINUX clonezilla/memdisk
          APPEND iso initrd=/clonezilla/clonezilla.iso raw

          I’m finding the new ipxe boot menu means extracting files and updating a custom set of imgargs for every livecd. I’m no linux expert and I’m finding the correct imgargs to work with ipxe a challenge and testing a largely trial and error exercise for each livecd.

          I wonder if there is a way to boot pxelinux from ipxe so that the old menu system could be used?

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

            Have you, possibly, tried using:

            initrd [url]http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso[/url] iso raw

            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
            • Tom ElliottT
              Tom Elliott
              last edited by

              According to this: [url]http://forum.ipxe.org/showthread.php?tid=6879[/url]

              initrd [url]http://192.168.xxx.xxx:port/mxp14.iso[/url]
              chain memdisk iso

              Notice the lack of “raw” at the end? Maybe this will help?

              initrd http://${fog-ip}/fog/service/ipxe/iso/ubuntu-14.04-64.iso
              chain memdisk iso ||
              echo failed to boot
              prompt
              goto MENU[/code]

              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
              • Tom ElliottT
                Tom Elliott
                last edited by

                [quote=“AJPaterson, post: 39703, member: 26186”]I really miss the old simple pxelinux menu and the ability to easily boot livecds using memdisk iso raw. It was a really simple way to have a an easily managed menu of bootable utility cds that boot directly into the live environment through tftp. If I wanted to upgrade a live version, all I had to do was replace the iso file. It just worked to boot livecds on every machine I have.

                Upgraded to 1.2 with ipxe and maintaining a boot menu with the advanced menu became a lot more complicated. Trying to use memdisk iso raw with clonezilla livecd doesn’t work anymore because it can’t find the filesystem.squashfs. I had to extract the files from the livecd and use the following advanced boot menu code:

                :CLONEZILLA
                kernel [url]http://${fog-ip}/fog/iso/clonezilla/vmlinuz[/url]
                initrd [url]http://${fog-ip}/fog/iso/clonezilla/initrd.img[/url]
                imgargs vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_keymap=“” ocs_live_batch=“no” ocs_daemonon=“ssh” usercrypted=Kb/VNchPYhuf6 ocs_lang=“” vga=788 nosplash noprompt fetch=[url]http://${fog-ip}/fog/iso/clonezilla/filesystem.squashfs[/url]
                boot ||

                The above boots a working clonezilla, though not identical to the livecd. This does not seem an improvement over the simple livecd booting method under the old pxelinux menu:

                LABEL clonezilla
                MENU LABEL Clonezilla Live
                LINUX clonezilla/memdisk
                APPEND iso initrd=/clonezilla/clonezilla.iso raw

                I’m finding the new ipxe boot menu means extracting files and updating a custom set of imgargs for every livecd. I’m no linux expert and I’m finding the correct imgargs to work with ipxe a challenge and testing a largely trial and error exercise for each livecd.

                I wonder if there is a way to boot pxelinux from ipxe so that the old menu system could be used?[/quote]

                Just because it was harder, doesn’t not mean that it’s worse.

                While I understand the frustration, the whole reasoning to move to ipxe was to gain access to http downloading vs. tftp. Http gains access to full spectrum bandwidth capabilities of your network. Tftp was always extremely slow, like limited to 10Mbps.

                There’s so many resources out there, yet everybody seems to think that the FOG Team must be doing something to make your lives harder.

                I Assure you all, that this is not the case, nor has it ever been. If anything, the reason for all the changes was due to requests from all of you before.

                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
                • A
                  AJPaterson
                  last edited by

                  [quote=“Tom Elliott, post: 39704, member: 7271”]Have you, possibly, tried using:

                  initrd [url]http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso[/url] iso raw[/quote]

                  This loads the iso via http but never executes it, returning to the advanced pxe menu

                  1 Reply Last reply Reply Quote 0
                  • A
                    AJPaterson
                    last edited by

                    [quote=“Tom Elliott, post: 39705, member: 7271”]According to this: [url]http://forum.ipxe.org/showthread.php?tid=6879[/url]

                    initrd [url]http://192.168.xxx.xxx:port/mxp14.iso[/url]
                    chain memdisk iso

                    Notice the lack of “raw” at the end? Maybe this will help?

                    initrd http://${fog-ip}/fog/service/ipxe/iso/ubuntu-14.04-64.iso
                    chain memdisk iso ||
                    echo failed to boot
                    prompt
                    goto MENU[/code][/quote]

                    initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                    chain memdisk iso ||
                    goto MENU[/code]

                    This boots but produces the same squashfs error and a Boot Failed! message ending at an initramfs BusyBox v1.22.1 shell prompt.

                    1 Reply Last reply Reply Quote 0
                    • F
                      fabritrento
                      last edited by

                      [quote=“Tom Elliott, post: 39705, member: 7271”]According to this: [url]http://forum.ipxe.org/showthread.php?tid=6879[/url]

                      initrd [url]http://192.168.xxx.xxx:port/mxp14.iso[/url]
                      chain memdisk iso

                      Notice the lack of “raw” at the end? Maybe this will help?

                      initrd http://${fog-ip}/fog/service/ipxe/iso/ubuntu-14.04-64.iso
                      chain memdisk iso ||
                      echo failed to boot
                      prompt
                      goto MENU[/code][/quote]

                      with this configuration i get:

                      BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
                      Enter ‘help’ for a list of built-in commands
                      (intrafms) Unable to find a medium containing a live file system

                      1 Reply Last reply Reply Quote 0
                      • F
                        fabritrento
                        last edited by

                        finally i get a working config:

                        :UBUNTU

                        See [url]http://manpages.ubuntu.com/manpages/precise/man7/casper.7.html[/url] for casper cmdline details

                        kernel [url]http://192.168.0.3/fog/iso/ubuntu/casper/vmlinuz[/url]
                        initrd [url]http://192.168.0.3/fog/iso/ubuntu/casper/initrd.lz[/url]
                        imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.3:/var/www/fog/iso/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=no mirror/country=NO
                        boot || goto failed
                        goto start

                        $ cat /etc/exports
                        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
                        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
                        /var/www/fog/iso/ubuntu/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                        administrator@fog:/var/www/fog/iso/ubuntu$ ls -la
                        totale 32
                        dr-xr-xr-x 5 root root 4096 dic 5 12:48 .
                        drwxr-xr-x 3 root root 4096 dic 5 12:47 …
                        dr-xr-xr-x 3 root root 4096 dic 9 08:37 casper
                        dr-xr-xr-x 2 root root 4096 ago 9 22:19 .disk
                        dr-xr-xr-x 2 root root 4096 ago 9 22:19 isolinux
                        -r-xr-xr-x 1 root root 8351 ago 9 22:20 SHA256SUMS
                        administrator@fog:/var/www/fog/iso/ubuntu$

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

                          quote=“AJPaterson, post: 39711, member: 26186”:CLONELIVECD
                          initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                          chain memdisk iso ||
                          goto MENU[/code]

                          This boots but produces the same squashfs error and a Boot Failed! message ending at an initramfs BusyBox v1.22.1 shell prompt.[/quote]

                          Based on the post above mine here: [url]http://fogproject.org/forum/threads/live-cd-configurations-for-boot.12044/#post-39769[/url]

                          And the fact it’s complaining about the missing initramfs, what about:

                          initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                          chain memdisk iso raw initrd=initrd.lz[/code]

                          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
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Also,

                            Maybe try:

                            initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                            chain memdisk[/code]

                            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
                            • A
                              AJPaterson
                              last edited by

                              [quote=“Tom Elliott, post: 39809, member: 7271”]Based on the post above mine here: [url]http://fogproject.org/forum/threads/live-cd-configurations-for-boot.12044/#post-39769[/url]

                              And the fact it’s complaining about the missing initramfs, what about:

                              initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                              chain memdisk iso raw initrd=initrd.lz[/code][/quote]

                              Sorry for the delay in making it back here. I only have time to experiment with this infrequently.

                              The above code produces the same squashfs and BusyBox v1.22.1 Boot Failed! error.

                              1 Reply Last reply Reply Quote 0
                              • A
                                AJPaterson
                                last edited by

                                [quote=“Tom Elliott, post: 39810, member: 7271”]Also,

                                Maybe try:

                                initrd http://${fog-ip}/fog/iso/clonezilla/clonezilla.iso
                                chain memdisk[/code][/quote]

                                This works! It appears that memdisk ISO is not necessary and causes the squashfs errors. I have tested this on clonezilla livecd and parted magic livecd so far and will report back if run into problems with other livecds.

                                Thanks for your help and I hope others find this information.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                160

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project