new versions SUCK, as with v8 you need to
systemctl stop iptables.service modprobe ext4
grab the old one instead
wget https://sourceforge.net/projects/systemrescuecd/files/sysresccd-x86/5.3.2/systemrescuecd-x86-5.3.2.iso
note you can also find it on OSDN
mkdir -p /tftpboot/sysrescue/ cd /tftpboot/sysrescue/ wget https://osdn.net/projects/systemrescuecd/storage/releases/5.3.2/systemrescuecd-x86-5.3.2.iso md5sum systemrescuecd-x86-5.3.2.iso #2a176f64968a7eb76fde5ddb0cc76669 mkdir lala mount -o ro,loop systemrescuecd-x86-5.3.2.iso lala cp -R lala 532 umount lala rmdir lala rm -f systemrescuecd-x86-5.3.2.iso cd ../ ls -lF sysrescue/532/isolinux/rescue64 ls -lF sysrescue/532/isolinux/rescue32 ls -lF sysrescue/532/isolinux/initram.igz ls -lF sysrescue/532/sysrcd.dat
pxelinux
vi /tftpboot/pxelinux.cfg/default label sysrescue v5 x64 kernel sysrescue/532/isolinux/rescue64 append initrd=sysrescue/532/isolinux/initram.igz scandelay=1 setkmap=us dodhcp netboot=http://x.x.x.x/sysrescue/532/sysrcd.dat rootpass=SSH-PASSWORD label sysrescue v5 x32 kernel sysrescue/532/isolinux/rescue32 append initrd=sysrescue/532/isolinux/initram.igz scandelay=1 setkmap=us dodhcp netboot=http://x.x.x.x/sysrescue/532/sysrcd.dat rootpass=SSH-PASSWORD
warning: make sure you have got enough RAM as x86_64/airootfs.sfs
(820M) will be loaded onto it
mkdir -p /tftpboot/sysrescue/ cd /tftpboot/sysrescue/ wget https://osdn.net/projects/systemrescuecd/storage/releases/6.0.3/systemrescuecd-6.0.3.iso md5sum systemrescuecd-6.0.3.iso #6ac22a9cbafdf20da92cba0f1b4e86b6 mkdir lala mount -o ro,loop systemrescuecd-6.0.3.iso lala cp -R lala 603 umount lala rmdir lala rm -f systemrescuecd-6.0.3.iso ls -lF sysrescue/603/sysresccd/boot/x86_64/vmlinuz ls -lF sysrescue/603/sysresccd/boot/x86_64/sysresccd.img ls -lF sysrescue/603/sysresccd ls -lF sysrescue/603/sysresccd/x86_64/airootfs.sfs
pxelinux
vi /tftpboot/pxelinux.cfg/default label sysrescue v6 linux sysrescue/603/sysresccd/boot/x86_64/vmlinuz initrd sysrescue/603/sysresccd/boot/intel_ucode.img,sysrescue/603/sysresccd/boot/amd_ucode.img,sysrescue/603/sysresccd/boot/x86_64/sysresccd.img append archisobasedir=sysrescue/603/sysresccd archiso_http_srv=http://x.x.x.x/ checksum rootpass=SSH-PASSWORD sysappend 1
SSH is running already (at least for v5)
ps auxww | grep ssh
you can now watch for DHCP leases and connect right into the box - according to the rootpass=
you set
and proceed with the usual crap
mount /dev/sda2 /mnt mount -o bind /proc /mnt/proc mount -o bind /dev /mnt/dev mount -o bind /sys /mnt/sys chroot /mnt /bin/bash umount -R /mnt reboot
you can even fix EFI booting from BIOS mode
PXE network boot server https://www.funtoo.org/PXE_network_boot_server
Installing SystemRescueCd on a USB stick http://www.system-rescue-cd.org/Installing-SystemRescueCd-on-a-USB-stick/
NETWORK CONFIGURATION AND PROGRAMS https://www.system-rescue.org/manual/Network_configuration_and_programs/
PXE Booting Utilities With FreeBSD http://www.wonkity.com/~wblock/docs/html/pxe.html –> more on sysrescuecd
Netboot HOW-TO document for Linux http://netboot.sourceforge.net/cgi-bin/getdoc.cgi?doc=HOWTO.html&lang=english&source=index&title=Netboot%20HOWTO
How to customize SystemRescueCd http://www.system-rescue-cd.org/Customization/
DOWNLOAD https://www.system-rescue.org/Download/
Booting SystemRescueCd http://www.system-rescue-cd.org/manual/Booting_SystemRescueCd/
PXE network booting http://www.system-rescue-cd.org/manual/PXE_network_booting/
root/docs https://git.archlinux.org/archiso.git/tree/docs
root/docs/README.bootparams https://git.archlinux.org/archiso.git/tree/docs/README.bootparams
SYSAPPEND bitmask https://wiki.syslinux.org/wiki/index.php?title=SYSLINUX#SYSAPPEND_bitmask
PXELINUX https://wiki.syslinux.org/wiki/index.php?title=PXELINUX
Network configuration and programs –> Running an SSH Server http://www.system-rescue-cd.org/manual/Network_configuration_and_programs/
Managing remote servers using SystemRescueCd http://www.system-rescue-cd.org/manual/Managing_remote_servers_using_SystemRescueCd/