- Timestamp:
- Jul 30, 2010, 12:23:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/restore-scripts/mondo/grub-MR
r2669 r2671 108 108 if [ -x $MNT_RESTORING/usr/sbin/grub-install.unsupported ]; then 109 109 echo "Now I'll use grub-install.unsupported in chroot" >> $LOGFILE 110 chroot $MNT_RESTORING /usr/sbin/grub-install.unsupported $1 2>&1 | tee -a$LOGFILE110 chroot $MNT_RESTORING /usr/sbin/grub-install.unsupported $1 >> $LOGFILE 2>> $LOGFILE 111 111 res=$? 112 112 echo "grub-install.unsupported in chroot returned $res" >> $LOGFILE … … 115 115 if [ -x /usr/sbin/grub-install.unsupported ]; then 116 116 echo "Now I'll use grub-install.unsupported locally" >> $LOGFILE 117 /usr/sbin/grub-install.unsupported $1 2>&1 | tee -a$LOGFILE117 /usr/sbin/grub-install.unsupported $1 >> $LOGFILE 2>> $LOGFILE 118 118 res=$? 119 119 echo "grub-install.unsupported returned $res" >> $LOGFILE … … 124 124 echo "Now I'll use grub-install" >> $LOGFILE 125 125 if [ "$MNT_RESTORING" ] ; then 126 chroot $MNT_RESTORING grub-install $1 2>&1 | tee -a$LOGFILE126 chroot $MNT_RESTORING grub-install $1 >> $LOGFILE 2>> $LOGFILE 127 127 res=$? 128 128 else 129 grub-install $1 2>&1 | tee -a$LOGFILE129 grub-install $1 >> $LOGFILE 2>> $LOGFILE 130 130 res=$? 131 131 fi … … 179 179 echo "Now I'll use grub-install.patched" >> $LOGFILE 180 180 cp -f `which grub-install.patched` /mnt/RESTORING/sbin 181 chroot /mnt/RESTORING grub-install.patched $1 2>&1 | tee -a$LOGFILE181 chroot /mnt/RESTORING grub-install.patched $1 >> $LOGFILE 2>> $LOGFILE 182 182 res=$? 183 183 echo "grub-install.patched returned $res" >> $LOGFILE
Note:
See TracChangeset
for help on using the changeset viewer.