Booting Rescue ISO
-
@sebastian-roth wow, great. Thank you!
-
@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.c32Thank you!
-
@seppim said in Booting Rescue ISO:
isolinux.cfg
Your kernel parameters will most likely be found in this file.
-
@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!
-
@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 -
This post is deleted! -
@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:
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?_=1609149532133But not sure how do.
Maybe you have a instruction for the current Hiren´s Boot CD?
Thank you!
-
@seppim The last link you provided would be my instructions.
-
@george1421 Hello,
yes, but not working. I guess because I use the files from the Hiren`s Image?:
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 MENUFiles in folder:
-
Hi,
I made a post for SystemRescueCD > 5 :
https://forums.fogproject.org/topic/15295/here-config-for-systemrescuecd-8 -
@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