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

    How to add live cd iso to Fog 1.2 on Ubuntu 12.04

    Scheduled Pinned Locked Moved
    Tutorials
    15
    35
    42.1k
    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.
    • T
      ToniCapablo
      last edited by

      Amazing!!

      I have tried to do something similar in my FOG server and works fine!

      FOG server: 1.2.0 latest SVN installed
      Operating System: Ubuntu 13.10 latest updates installed

      1. I have understood very well your tutorial. Congratulations!
      2. I have added a new menu entry in FOG boot menu (it is very easy I think)
      3. Reading your notes, I have added a Live Ubuntu CD 14.04.2 i386 and it runned ok on client machine.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • T
        Tony Lillie
        last edited by

        Awesome!!

        1 Reply Last reply Reply Quote 0
        • T
          Trixsta101
          last edited by

          Thanks great tutorial (an tom for everything)
          I’ve finally upgraded from 0.32 and was looking all over for this… It’s a little different but can’t wait to try it

          1 Reply Last reply Reply Quote 0
          • T
            Trixsta101
            last edited by

            Trying to boot clonezilla…

            Any idea on how to get this going?

            Currently this is the closest to booting i have… error message below

            :clonezilla-live-2.3.2-22-amd64
            kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
            initrd http://${fog-ip}/${fog-webroot}/iso/clonezilla/initrd.img
            imgargs vmlinuz root=/dev/nfs boot=clonezilla netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/clonezilla/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
            boot || goto failed

            came across this https://gist.github.com/robinsmidsrod/dc0dc70adba8dcd79cdf

            not sure if this would help? tried adding the forth line with no luck

            #!ipxe
            kernel /live/vmlinuz
            initrd /live/initrd.img
            imgargs vmlinuz boot=live username=user hostname=trusty config quiet union=overlayfs noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_batch=no ip= nomodeset vga=normal nosplash
            boot

            FullSizeRender-clonezilla.jpg

            J 1 Reply Last reply Reply Quote 0
            • mmiatM
              mmiat
              last edited by

              me too, with GParted I’ve kernel panic
              with Debian 8.1 I can launch install but after it says to me that cdrom is missing

              1 Reply Last reply Reply Quote 0
              • L
                lebrun78
                last edited by

                I’m lost !! I use fog 1.2.0 and I want to add a pxe load of a wim (winpe) image to use MDT config to the menu .
                Which file do you edit ? Is it /tftpboot/default.ipxe ? I can’t see the name of the file you edit in this thread !

                Thx

                Fog Version: Fog 1.5.10
                Server OS: AlmaLinux release 8.8

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

                  @lebrun78 there is no file name to edit. It’s the advanced menu which is edited from the GUI.

                  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
                    AndersenJ
                    last edited by AndersenJ

                    I’m trying to get this working with Arch Linux right now, with FOG Trunk 4491. Here’s my code:

                    kernel http://${fog-ip}/fog/service/ipxe/arch/boot/vmlinuz-linux
                    initrd http://${fog-ip}/fog/service/ipxe/arch/boot/initramfs-linux.img
                    imgargs vmlinuz-linux root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/arch/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
                    boot || goto failed
                    goto start
                    

                    I get this error:
                    IMG_20151007_170038515.jpg
                    This happens with more than just Arch Linux; I’ve tried it with a couple of distros now including Mint. I’m not too worried about the mirror or keyboard layout; I can fix those later. Not being able to find /dev/nfs is a problem though.

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

                      I could be wrong, but is /dev/nfs your own nfs mount point?

                      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

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

                        @AndersenJ Here’s an example that utilizes the built-in memdisk kernel. https://wiki.fogproject.org/wiki/index.php/DBAN_(Darik’s_Boot_and_Nuke) However doing it this way, you need much more RAM than the size of the ISO. There are cleaner ways to do it, and sometimes other ways are required depending on what bootable ISO you’re trying to use.

                        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/

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AndersenJ @Tom Elliott
                          last edited by

                          @Tom-Elliott /dev/nfs is just something I copied from the initial example. I don’t really understand a lot about iPXE or how it works, or how nfs mounting is supposed to work.

                          1 Reply Last reply Reply Quote 0
                          • A
                            AndersenJ @Wayne Workman
                            last edited by

                            @Wayne-Workman Thanks, I’ll take a look at that.

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              AndersenJ @AndersenJ
                              last edited by AndersenJ

                              I noticed an additional detail: When I open a web browser to view my.fog.i.p/fog/service/ipxe/arch I can see all my files from the server but not from the computer I’m using as a client. Does anyone know what would cause that?

                              Edit: never mind, that was an unrelated bug with the client.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jbonilla @Trixsta101
                                last edited by

                                @Trixsta101 Here is my working Clonezilla setup.

                                :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```
                                D 1 Reply Last reply Reply Quote 1
                                • D
                                  dustindizzle11 @jbonilla
                                  last edited by dustindizzle11

                                  @jbonilla Just in-case anyone else is trying to get this working, I had to add “union=overlay” after the “filesystem.squashfs” portion to get it working on my server.

                                  :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 union=overlay locale=en_US.UTF-8 keyboard-layouts=NONE
                                  boot || echo failed to boot
                                  prompt
                                  goto MENU```

                                  1 Reply Last reply Reply Quote 1
                                  • A
                                    amir3161
                                    last edited by

                                    • list item
                                      FOG version : 1.4.4
                                      OS: Ubuntu 16.04.2 X64

                                    I want to run a ubuntu 16.04 live iso using pxe on my client. I have read all the guides in this topic.
                                    I only managed to make the Hiren boot to work(only the mini windows works and not the linux enviroment). I have followed instruction from Biet Jeremie to fill in the advanced setting box for Ubuntu iso file. When I choose Ubuntu from the advance menu it loads the Ubuntu menu and when I choose:
                                    “try ubuntu without installation” it says it can not find the medium congaing the live file system.
                                    I have two problem:

                                    1. I don’t know if the instruction provided has changed from the date this was discussed?
                                    2. I’m not sure if I just need to copy the iso file from Ubuntu or I need to extract it in some folder?

                                    Has anyone got this to work?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @amir3161 Usually it’s better to open a new post as your question (Ubuntu 16.04, FOG 1.4.4) does not match the topic. Describe what you did, post your ipxe config and post a picture of the error.

                                      One would think that if 14.04 worked as ISO 16.04 would also do. But maybe there is a difference. Read through this (talks about extracting the ISO because it does not boot otherwise) and open a new topic in case you still can’t make it work.

                                      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

                                      A 1 Reply Last reply Reply Quote 2
                                      • A
                                        amir3161 @Sebastian Roth
                                        last edited by

                                        @Sebastian-Roth Thanks Sebastian. You are right! I was not sure if I should post here or create a new topic. I felt bad just to create another post while this was related to the same (kindda) issue.
                                        I have followed the instructions in the link but still have problems. I will create a new topic and post dubug info there 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dylz
                                          last edited by

                                          Failing to get DLCboot ISO to boot through this method.

                                          I have tried with the iso in 2 locations: /ISO/DLCD/DLC.iso and /var/www/service/ipxe/DLCD/DLC.iso

                                          I keep getting similar errors. First I tried with your paramaters

                                          :DLCD
                                          initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
                                          chain memdisk iso raw ||
                                          goto MENU

                                          And I got this error:

                                          0_1516121546758_fogfail2.PNG

                                          Then I tried with

                                          :DLCD
                                          initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
                                          boot || echo failed to boot
                                          prompt
                                          goto MENU```

                                          and got this error

                                          0_1516121652654_fogfail.PNG

                                          Any help or suggestions on why this is timing out or what I am doing wrong would be greatly appreciated. Tearing my hair out with this one.

                                          Thanks

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            @dylz Usually it’s best to open a new thread instead of reviving such an old one that most probably is kind of a different situation - see FOG 1.2.0 is very old and we don’t even support that anymore.

                                            Not to your issue. See there is a $ sign in front of the IP address. http://$192...., remove that and you might see it working.

                                            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

                                            D 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            177

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project