#!/bin/bash ( ifconfig eth0 | head -n 3 fdisk -l /dev/hda ) | tee -a /mnt/autorun/report sync exit 0This script will accumulate infos about eth0 network interface and disk partitions into a file named ``report'' on first floppy drive. BIOS boot sequence must specify CD first, ar_source= boot parameter has to be correctly set, diskette must be write-enabled, CD and diskette must be inserted at startup time.
#!/bin/bash date=$(date +%Y%m%d) cat /dev/hda | gzip > /mnt/autorun/$date.hda.gz && exit 0 echo $date hda backup error exit 1If sufficient space is provided in NFS share, this will copy there a compressed image of your first IDE disk.