Changeset 2944 in MondoRescue for branches/3.0/mondo/src/restore-scripts/mondo/grub-MR
- Timestamp:
- Feb 3, 2012, 2:12:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/restore-scripts/mondo/grub-MR
r2920 r2944 133 133 [ "$res" -eq "0" ] && exit 0 134 134 135 136 echo "Now I'll use grub2-install" >> $LOGFILE 137 if [ "$MNT_RESTORING" ] ; then 138 chroot $MNT_RESTORING grub2-install $1 >> $LOGFILE 2>> $LOGFILE 139 res=$? 140 else 141 grub2-install $1 >> $LOGFILE 2>> $LOGFILE 142 res=$? 143 fi 144 echo "grub2-install returned $res" >> $LOGFILE 145 [ "$res" -eq "0" ] && exit 0 146 135 147 echo "Trying a hack" >> $LOGFILE 136 148 FindBootPart $1 $2 2>&1 | tee -a $LOGFILE
Note:
See TracChangeset
for help on using the changeset viewer.