• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
41.3k
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.
  • B
    Biet Jeremie
    last edited by Apr 23, 2015, 10:15 AM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 23, 2015, 10:28 AM

      Try this:
      [code]
      :MENU
      menu
      item diagnosticTools Diagnostic Tools Menu
      item installTools Installation Tools Menu
      choose --default diagnosticTools target && goto ${target}
      :diagnosticTools
      menu
      item ThinkCenterDiag Diag ThinkCenter Lenovo
      item installTools Installation Tools Menu
      item shell ipxe shell
      item return Return to Main Menu
      choose --default ThinkCenterDiag target && goto ${target}
      :installTools
      menu
      item sysrescue3.5 SystemRescue 3.5.0
      item ultimate UltimateBootCD 5.3.3
      item ubuntu14.04_64 Ubuntu 14.04 64 Bits
      item debian7.8_64 Debian 7.8 64 Bits
      item diagnosticTools Diagnostic Tools Menu
      item return Return to Main Menu
      choose --default sysrescue3.5 target && goto ${target}
      :sysrescue3.5
      initrd http://${fog-ip}/${fog-webroot}/iso/sysrescue3.5.iso
      chain memdisk iso raw ||
      goto MENU
      :ultimate
      initrd http://${fog-ip}/${fog-webroot}/iso/Ultimate533.iso
      chain memdisk iso raw ||
      goto MENU
      :ubuntu14.04_64
      initrd http://${fog-ip}/${fog-webroot}/iso/install/ubuntu/ubuntu14.04_64.iso
      chain memdisk iso raw ||
      goto MENU
      :debian7.8_64
      initrd http://${fog-ip}/${fog-webroot}/iso/install/debian2/debian7.8_64.iso
      chain memdisk iso raw ||
      goto MENU
      :ThinkCenterDiag
      initrd http://${fog-ip}/${fog-webroot}/iso/ThinkCenterDiag.iso
      chain memdisk iso raw ||
      goto MENU
      :shell
      shell ||
      goto MENU
      :return
      chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
      prompt
      goto MENU
      autoboot[/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
      • B
        Biet Jeremie
        last edited by Apr 23, 2015, 10:41 AM

        Thanks Guys, try this but have a little bug when i select the Installation tolls menu in advenced menu.
        I’ve gotthis :
        “”
        No default menu
        Could not boot: No such file or directory ([url]http://ipxe.org/2d16203b[/url])

        “”

        But now you show me how do this! so i’m trying to do it.
        Thx a lot !

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Apr 23, 2015, 10:46 AM

          Try copying again. I’ve edited a bit and tested the code that is in the window above. It should help you out.

          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
          • B
            Biet Jeremie
            last edited by Apr 23, 2015, 10:49 AM

            that what i do: THX a lot guy!

            :MENU
            menu
            item diagnosticTools Diagnostic Tools Menu
            item installTools Installation Tools Menu
            item return Return to Main Menu
            choose --default return target && goto ${target}

            :diagnosticTools
            menu
            item ThinkCenterDiag Lenovo Diag ThinkCenter
            item sysrescue3.5 SystemRescue 3.5.0
            item ultimate UltimateBootCD 5.3.3
            item shell ipxe shell
            item return Return to Main Menu
            choose --default return target && goto ${target}

            :installTools
            menu
            item ubuntu14.04_64 Ubuntu 14.04 64 Bits
            item debian7.8_64 Debian 7.8 64 Bits
            item return Return to Main Menu
            choose --default return target && goto ${target}

            :sysrescue3.5
            initrd [url]http://${fog-ip}/${fog-webroot}/iso/sysrescue3.5.iso[/url]
            chain memdisk iso raw ||
            goto MENU

            :ultimate
            initrd [url]http://${fog-ip}/${fog-webroot}/iso/Ultimate533.iso[/url]
            chain memdisk iso raw ||
            goto MENU

            :ubuntu14.04_64
            initrd [url]http://${fog-ip}/${fog-webroot}/iso/install/ubuntu/ubuntu14.04_64.iso[/url]
            chain memdisk iso raw ||
            goto MENU

            :debian7.8_64
            initrd [url]http://${fog-ip}/${fog-webroot}/iso/install/debian2/debian7.8_64.iso[/url]
            chain memdisk iso raw ||
            goto MENU

            :ThinkCenterDiag
            initrd [url]http://${fog-ip}/${fog-webroot}/iso/ThinkCenterDiag.iso[/url]
            chain memdisk iso raw ||
            goto MENU

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Apr 23, 2015, 11:00 AM

              So this is good then?

              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
              • B
                Biet Jeremie
                last edited by Apr 23, 2015, 11:02 AM

                Yes it’s good! Thx!

                1 Reply Last reply Reply Quote 0
                • T
                  Tony Lillie
                  last edited by Apr 24, 2015, 9:20 PM

                  Tom, it appears you are directly accessing the Ubuntu ISO (in fact all your iso’s) without mounting first. I didn’t realize this was possible. This makes half of my tutorial method uneccessary :~) Do all iso’s work in this manner?

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Apr 24, 2015, 9:34 PM

                    Tony,

                    I am not accessing any iso’s I am simply taking what was put and making it work for what Biet needed. Beyond that, some iso’s can be directly accessed and some need to be broken from the ISO and told to load their respective initrd and kernel. Which need the separation is directly based upon the ISO manufacturer.

                    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
                    • B
                      Biet Jeremie
                      last edited by Apr 28, 2015, 8:01 AM

                      Hello guys, i can answer to Tony Lillie. It doesn’t work …
                      Debian or ubuntu need your tutorial for working… (thinkcenter diag also)

                      1 Reply Last reply Reply Quote 0
                      • T
                        TheKoR
                        last edited by Apr 28, 2015, 10:12 AM

                        I load HIREN’s and UBCD directly from the ISO and it works

                        Ubuntu 13.10 - Fog 1.3.0
                        XEON E5630 - 16 Go - 6To raid 5
                        Best download : 22Go in 23 sec
                        Avg rate : 4.5G/min on 20 unicasts at same time

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tony Lillie
                          last edited by Apr 28, 2015, 1:39 PM

                          Biet is correct. It really depends on the specific iso in question. Many need to be pre-mounted and have certain files (usually vmlinuz, and initrd) specified. Others will work directly from the iso. Fortunately the most common iso’s have been experimented with at this point and if you search the forum you can find the answers you need for your specific iso.

                          1 Reply Last reply Reply Quote 0
                          • T
                            ToniCapablo
                            last edited by Apr 28, 2015, 6:12 PM

                            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 Apr 28, 2015, 6:14 PM

                              Awesome!!

                              1 Reply Last reply Reply Quote 0
                              • T
                                Trixsta101
                                last edited by May 11, 2015, 11:57 AM

                                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 Jun 9, 2015, 8:35 PM

                                  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 Oct 19, 2015, 3:15 PM Reply Quote 0
                                  • mmiatM
                                    mmiat
                                    last edited by Jun 11, 2015, 8:39 AM

                                    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 Sep 16, 2015, 9:45 AM

                                      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

                                      T 1 Reply Last reply Sep 16, 2015, 10:13 AM Reply Quote 0
                                      • T
                                        Tom Elliott @lebrun78
                                        last edited by Sep 16, 2015, 10:13 AM

                                        @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 Oct 7, 2015, 5:05 PM Oct 7, 2015, 11:05 PM

                                          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 Oct 7, 2015, 11:21 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          205

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project