Changeset 2814 in MondoRescue
- Timestamp:
- Apr 29, 2011, 3:40:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/restore-scripts/mondo/grub-MR
r2137 r2814 115 115 partno=`basename $bootpart | cut -d'p' -f2` 116 116 elif echo $bootpart | grep "/mapper/mpath" > /dev/null ; then 117 partno=`basename $bootpart | cut -d'p' -f 2`117 partno=`basename $bootpart | cut -d'p' -f3` 118 118 else 119 119 partno=`basename $bootpart | sed s/[a-z]*//` … … 128 128 line=`grep $base /proc/mdstat | head -n1` 129 129 echo "mbrpart was $mbrpart" 130 mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' \ 131 | cut -d' ' -f2` 130 mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' | cut -d' ' -f2` 132 131 echo "mbrpart is $mbrpart" 133 132 partno="0"; # cheating - FIXME
Note:
See TracChangeset
for help on using the changeset viewer.