Tools - Instalando o SysrescueCD num pendrive

Page / - última modificação por Jean Franco em 2022/06/27 20:43

Instalando o SysrescueCD num pendrive

última modificação por Jean Franco

em 2022/06/27 20:43

Índice

Steps for installing system rescue CD on USB are mentioned on http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick. Automated steps to install from linux using shell script do not work. Detailed steps that work are:

Create folder for USB - 'mkdir /mnt/usbstick'

Mount USB (Fat32) partition: 'mount -t vfat /dev/sdf1 /mnt/usbstick'

Remove all files: 'rm -rf /mnt/usbstick/*'

Download latest system rescue CD image and mount it on /mnt/cdrom using 'mount -o loop <iso_file> /mnt/cdrom'

Use following commands to copy files to USB

cp -af /mnt/cdrom/* /mnt/usbstick/

rm -rf /mnt/usbstick/syslinux

mv /mnt/usbstick/isolinux/isolinux.cfg /mnt/usbstick/isolinux/syslinux.cfg

sed -i -e 's/scandelay=1/scandelay=5/g' /mnt/usbstick/isolinux/syslinux.cfg

mv /mnt/usbstick/isolinux /mnt/usbstick/syslinux

Make disk bootable using

umount /mnt/usbstick

syslinux /dev/sdf1

sync