Changeset 1315 in MondoRescue for branches/2.2.2/mondo/src/restore-scripts/mondo/raw-MR
- Timestamp:
- Apr 16, 2007, 4:13:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mondo/src/restore-scripts/mondo/raw-MR
r567 r1315 7 7 LogIt "Restoring MBR..." 2 8 8 if uname -a | grep -q FreeBSD; then 9 echo -e 'y\ny' | /mnt/RESTORING/sbin/fdisk -b /BOOTLOADER.MBR -B $1 >/dev/null 2>> /tmp/mondo-restore.log9 echo -e 'y\ny' | /mnt/RESTORING/sbin/fdisk -b /BOOTLOADER.MBR -B $1 >/dev/null 2>> $LOGFILE 10 10 else 11 dd if=/BOOTLOADER.MBR of=$1 bs=446 count=1 2>> /tmp/mondo-restore.log11 dd if=/BOOTLOADER.MBR of=$1 bs=446 count=1 2>> $LOGFILE 12 12 fi 13 13 exit $?
Note:
See TracChangeset
for help on using the changeset viewer.