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

Booting Rescue ISO

Scheduled Pinned Locked Moved
General
4
13
1.5k
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.
  • S
    seppim
    last edited by Dec 20, 2020, 8:40 AM

    Hello,

    I’m new with FOG server and ask myself if I can boot a kind of own Rescue ISO file?

    So far as I understood FOG is for cloning images … but can I boot without changes also a live Rescue ISO?

    Thank you!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 20, 2020, 12:31 PM

      @seppim This should answer your question: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

      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

      S 2 Replies Last reply Dec 20, 2020, 12:54 PM Reply Quote 0
      • S
        seppim @Sebastian Roth
        last edited by Dec 20, 2020, 12:54 PM

        @sebastian-roth wow, great. Thank you!

        1 Reply Last reply Reply Quote 0
        • S
          seppim @Sebastian Roth
          last edited by Dec 20, 2020, 1:20 PM

          @sebastian-roth I see now, that the 5.5.2 ist very out dating.

          Current is 7.01

          Did you know which file and arguments I need for this?
          cp /mnt/loop/isolinux/{rescue64,initram.igz} /tftpboot/os/RescueCd/5.2.2/

          Both are in the 7.02 iso not available. Content of the isolinux:
          -r–r–r-- 1 root root 2048 Dez 20 13:10 boot.cat
          -rw-r–r-- 1 root root 432 Dez 20 13:10 isohdpfx.bin
          -rw-r–r-- 1 root root 38912 Dez 20 13:10 isolinux.bin
          -rw-r–r-- 1 root root 137 Dez 20 13:10 isolinux.cfg
          -rw-r–r-- 1 root root 119668 Dez 20 13:10 ldlinux.c32

          Thank you!

          G 1 Reply Last reply Dec 20, 2020, 1:32 PM Reply Quote 0
          • G
            george1421 Moderator @seppim
            last edited by Dec 20, 2020, 1:32 PM

            @seppim said in Booting Rescue ISO:

            isolinux.cfg

            Your kernel parameters will most likely be found in this file.

            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!

            S 1 Reply Last reply Dec 25, 2020, 7:46 AM Reply Quote 0
            • S
              seppim @george1421
              last edited by seppim Dec 25, 2020, 1:57 AM Dec 25, 2020, 7:46 AM

              @george1421 Hello,

              the content of the file is:

              PATH /sysresccd/boot/syslinux/
              DEFAULT loadconfig
              
              LABEL loadconfig
                CONFIG /sysresccd/boot/syslinux/sysresccd.cfg
                APPEND /sysresccd/
              

              Content /sysresccd/boot/syslinux/sysresccd.cfg:

              DEFAULT select
              
              LABEL select
              COM32 boot/syslinux/whichsys.c32
              APPEND -pxe- pxe -sys- sys -iso- sys
              
              LABEL pxe
              CONFIG boot/syslinux/sysresccd_pxe.cfg
              
              LABEL sys
              CONFIG boot/syslinux/sysresccd_sys.cfg
              

              Content sysresccd_pxe.cfg:

              DEFAULT select
              
              LABEL select
              COM32 boot/syslinux/whichsys.c32
              APPEND -pxe- pxe -sys- sys -iso- sys
              
              LABEL pxe
              CONFIG boot/syslinux/sysresccd_pxe.cfg
              
              LABEL sys
              CONFIG boot/syslinux/sysresccd_sys.cfg
              root@fog:/mnt/loop# cat sysresccd/boot/syslinux/sysresccd_pxe.cfg 
              INCLUDE boot/syslinux/sysresccd_head.cfg
              
              LABEL sysresccd_nbd
              TEXT HELP
              Boot the SystemRescue live medium (Using NBD).
              It allows you to install Arch Linux or perform system maintenance.
              ENDTEXT
              MENU LABEL Boot SystemRescue (NBD)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 archiso_nbd_srv=${pxeserver}
              SYSAPPEND 3
              
              LABEL sysresccd_nfs
              TEXT HELP
              Boot the SystemRescue live medium (Using NFS).
              It allows you to install Arch Linux or perform system maintenance.
              ENDTEXT
              MENU LABEL Boot SystemRescue (NFS)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archiso_nfs_srv=${pxeserver}:/run/sysresccd/bootmnt
              SYSAPPEND 3
              
              LABEL sysresccd_http
              TEXT HELP
              Boot the SystemRescue live medium (Using HTTP).
              It allows you to install Arch Linux or perform system maintenance.
              ENDTEXT
              MENU LABEL Boot SystemRescue (HTTP)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archiso_http_srv=http://${pxeserver}/
              SYSAPPEND 3
              
              INCLUDE boot/syslinux/sysresccd_tail.cfg
              

              Content sysresccd_sys.cfg:

              INCLUDE boot/syslinux/sysresccd_head.cfg
              
              LABEL sysresccd
              TEXT HELP
              Boot the SystemRescue live medium.
              ENDTEXT
              MENU LABEL Boot SystemRescue using default options
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701
              
              LABEL sysresccd_copytoram
              TEXT HELP
              Boot the SystemRescue live medium and copy system to RAM
              ENDTEXT
              MENU LABEL Boot SystemRescue and copy system to RAM (copytoram)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 copytoram
              
              LABEL sysresccd_checksum
              TEXT HELP
              Boot SystemRescue and verify the integrity of the live medium
              ENDTEXT
              MENU LABEL Boot SystemRescue and verify integrity of the medium (checksum)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 checksum
              
              LABEL sysresccd_nomodeset
              TEXT HELP
              Boot using basic display drivers to avoid display issues
              ENDTEXT
              MENU LABEL Boot SystemRescue using basic display drivers (nomodeset)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 nomodeset
              
              LABEL sysresccd_findroot
              TEXT HELP
              Boot from a Linux operating system installed on the disk
              ENDTEXT
              MENU LABEL Boot a Linux operating system installed on the disk (findroot)
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 findroot
              
              LABEL sysresccd_break
              TEXT HELP
              Stop during the boot process before mounting the root filesystem
              ENDTEXT
              MENU LABEL Stop during the boot process before mounting the root filesystem
              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701 break
              
              INCLUDE boot/syslinux/sysresccd_tail.cfg
              
              

              Did you know which settings I need in FOG?

              Maybe?:

              LINUX boot/x86_64/vmlinuz
              INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
              APPEND archisobasedir=sysresccd archisolabel=RESCUE701
              

              Thank you!

              G 1 Reply Last reply Dec 25, 2020, 2:09 PM Reply Quote 0
              • G
                george1421 Moderator @seppim
                last edited by george1421 Dec 25, 2020, 8:11 AM Dec 25, 2020, 2:09 PM

                @seppim So the question would be if you were to boot this iso image which menu item would you pick? The answer you need IS in the config file, I just need to know the question.

                Translating between syslinux and iPXE is pretty straight forward.

                Using your example in syslinux format

                LINUX boot/x86_64/vmlinuz
                INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
                APPEND archisobasedir=sysresccd archisolabel=RESCUE701
                

                that would translate to in iPXE

                kernel boot/x86_64/vmlinuz
                initrd boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
                imgargs vmlinuz archisobasedir=sysresccd archisolabel=RESCUE701
                

                Then to normalize this with the others from my tutorial

                kernel tftp://${fog-ip}/os/RescueCd/7.1/vmlinuz
                initrd tftp://${fog-ip}/os/RescueCd/7.1/sysresccd.img
                imgargs vmlinuz archisobasedir=sysresccd archisolabel=RESCUE701
                

                Menu Item: os.SystemRescueCd.7.1
                Description: SystemRescueCd 7.1
                Parameters:
                kernel tftp://${fog-ip}/os/RescueCd/7.1/vmlinuz
                initrd tftp://${fog-ip}/os/RescueCd/7.1/sysresccd.img
                imgargs vmlinuz archisobasedir=sysresccd archisolabel=RESCUE701
                boot || goto MENU
                Menu Show with: All Hosts

                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!

                S 2 Replies Last reply Dec 28, 2020, 9:05 AM Reply Quote 0
                • S
                  seppim @george1421
                  last edited by Dec 28, 2020, 9:05 AM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S
                    seppim @george1421
                    last edited by Dec 28, 2020, 10:01 AM

                    @george1421 Hello,

                    thank you … I´m booting via Virtualbox … but now it seems the Hiren´s Boot CD is a better choice for rescue systems:
                    https://www.hirensbootcd.org/

                    I download the latest ISO and mount it:
                    e501e560-f7f3-491e-8506-187775db7d48-image.png

                    I read different posts:
                    https://forums.fogproject.org/topic/12939/adding-hiren-s-bootcd-pe-to-advanced-menu
                    https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu#Hirens_15.04 (seems it is Ubuntu 15.04)
                    https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/19?_=1609149532133

                    But not sure how do.

                    Maybe you have a instruction for the current Hiren´s Boot CD?

                    Thank you!

                    G 1 Reply Last reply Dec 28, 2020, 1:19 PM Reply Quote 0
                    • G
                      george1421 Moderator @seppim
                      last edited by Dec 28, 2020, 1:19 PM

                      @seppim The last link you provided would be my instructions.

                      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!

                      S 1 Reply Last reply Dec 28, 2020, 2:05 PM Reply Quote 0
                      • S
                        seppim @george1421
                        last edited by Dec 28, 2020, 2:05 PM

                        @george1421 Hello,

                        yes, but not working. I guess because I use the files from the Hiren`s Image?:
                        fccb0bdc-aad7-4c48-a8f9-890faa8ec390-image.png
                        He load the 1.3GB boot.wim … and after the error displayed.

                        I set this in the menu:
                        set tftp-path tftp://${fog-ip}
                        set pe-path ${tftp-path}/os/hirens
                        kernel ${tftp-path}/wimboot gui
                        imgfetch --name BCD ${pe-path}/BCD BCD
                        imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
                        imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
                        boot || goto MENU

                        Files in folder:
                        4a6f041b-a928-4796-958e-83b5f1f7b128-image.png

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by Apr 5, 2021, 1:01 PM

                          Hi,

                          I made a post for SystemRescueCD > 5 :
                          https://forums.fogproject.org/topic/15295/here-config-for-systemrescuecd-8

                          G 1 Reply Last reply Apr 5, 2021, 2:12 PM Reply Quote 0
                          • G
                            george1421 Moderator @A Former User
                            last edited by Apr 5, 2021, 2:12 PM

                            @the_ccm Would you mind if I included a link to your tutorial post in my larger post here? https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

                            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!

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

                            140

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project