Changeset 273 in MondoRescue for branches/2.06/mondo/mondo/restore-scripts/mondo/grub-MR
- Timestamp:
- Jan 3, 2006, 4:09:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/restore-scripts/mondo/grub-MR
r196 r273 64 64 BOOTPATHNAME="" 65 65 for sz in /boot / ; do 66 bootpart=` cat $2 | grep " $sz "| cut -d' ' -f1 | head -n1`66 bootpart=`grep " $sz " $2 | cut -d' ' -f1 | head -n1` 67 67 [ "$bootpart" ] && [ -e "/mnt/RESTORING/$bootpart" ] && break 68 68 done … … 164 164 if echo $bootpart | grep "/md" > /dev/null ; then 165 165 base=`basename $bootpart` 166 line=` cat /proc/mdstat | grep $base| head -n1`166 line=`grep $base /proc/mdstat | head -n1` 167 167 echo "mbrpart was $mbrpart" 168 168 mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' \
Note:
See TracChangeset
for help on using the changeset viewer.