#!/bin/sh # mysqlISP/docs $Id: clone.txt,v 1.1 2003/06/05 20:47:05 ggw Exp $ #Make the clone bootable backup drive. RH 9.0 default IDE system install? #Only mail error messages via crontab system #You must adjust for your system. Experts only you can trash your install by mistake. #See your /etc/fstab and run mount and df -k to check your layout without RH LABELS dd if=/dev/hda of=/dev/hdb >/dev/null #Make sure disk is working copy. Since we just copied a mounted drive! #/dev/hdb1 is the /boot sector #/dev/hdb2 is the swap area #/dev/hdb3 is the / filesystem e2fsck -p /dev/hdb1 >/dev/null e2fsck -p /dev/hdb3 > /dev/null