SystemRescueCd: Difference between revisions
From DWIKI
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=Links= | |||
*[http://www.sysresccd.org SystemRescueCd] | *[http://www.sysresccd.org SystemRescueCd] | ||
*http://usefulthings.org.uk/systemrescuecd-network-boot/ | *http://usefulthings.org.uk/systemrescuecd-network-boot/ | ||
*[https://www.system-rescue.org/manual/Network_configuration_and_programs/ SystemRescueCD network configuration] | |||
=Installing on USB stick= | =Installing on USB stick= | ||
Line 15: | Line 16: | ||
#MBR=/usr/lib/syslinux/mbr.bin | #MBR=/usr/lib/syslinux/mbr.bin | ||
test -e $MOUNT || mkdir $MOUNT | test -e $MOUNT || mkdir $MOUNT | ||
mount -t vfat $ | mount -t vfat $STICK $MOUNT | ||
if [ ! -e $MBR ];then | if [ ! -e $MBR ];then | ||
echo "$MBR not found" | echo "$MBR not found" |
Latest revision as of 15:05, 6 May 2024
Links
- SystemRescueCd
- http://usefulthings.org.uk/systemrescuecd-network-boot/
- SystemRescueCD network configuration
Installing on USB stick
#!/bin/bash # MOUNT=/mnt/usb STICK=/dev/sdb #mount the iso image mount -o loop ~/systemrescuecd-1.x.iso /mnt/loop ISO=/mnt/loop #gentoo MBR=/usr/share/syslinux/mbr.bin #MBR=/usr/lib/syslinux/mbr.bin test -e $MOUNT || mkdir $MOUNT mount -t vfat $STICK $MOUNT if [ ! -e $MBR ];then echo "$MBR not found" exit 1 fi dd if=$MBR of=$STICK sync cp -aruv $ISO/* $MOUNT rm -rf $MOUNT/syslinux mv -v $MOUNT/isolinux/isolinux.cfg $MOUNT/isolinux/syslinux.cfg || exit 2 mv -v $MOUNT/isolinux $MOUNT/syslinux || exit 3 umount $MOUNT syslinux ${STICK}1 sync echo "DONE!"