PXE // System Rescue CD

WARNING

make sure you have got enough RAM as x86_64/airootfs.sfs (820M) will be loaded onto it

PXELINUX SETUP

get the latest

mkdir /tftpboot/sysrescue/
cd /tftpboot/sysrescue/
#wget "https://osdn.net/frs/redir.php?m=rwthaachen&f=%2Fstorage%2Fg%2Fs%2Fsy%2Fsystemrescuecd%2Freleases%2F6.0.2%2Fsystemrescuecd-6.0.2.iso"
wget "https://osdn.net/projects/systemrescuecd/storage/releases/6.0.2/systemrescuecd-6.0.2.iso"
md5sum systemrescuecd-6.0.2.iso 
#faf22d057c79f9903b60639046663e44

mkdir lala
mount -o ro,loop systemrescuecd-6.0.2.iso lala
cp -R lala 602
umount lala
rmdir lala
cd ../
vi pxelinux.cfg/default

label SYSRESCUE 6.0.2
        linux  sysrescue/602/sysresccd/boot/x86_64/vmlinuz
        initrd sysrescue/602/sysresccd/boot/x86_64/sysresccd.img
        initrd sysrescue/602/sysresccd/boot/intel_ucode.img,sysrescue/602/sysresccd/boot/amd_ucode.img,sysrescue/602/sysresccd/boot/x86_64/sysresccd.img
        append archisobasedir=sysrescue/602/sysresccd archiso_http_srv=http://x.x.x.x/ checksum rootpass=PASSWORD
        sysappend 1

you can now

systemctl start sshd
passwd root
ifconfig eth0

TODO enable ssh right away

RESOURCES

OBSOLETE

label sysrescue 5.3.2 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

label sysrescue 5.3.2 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

Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml