Changeset 3336 in MondoRescue
- Timestamp:
- Jan 26, 2015, 10:30:36 AM (10 years ago)
- Location:
- branches/3.0/mindi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/analyze-my-lvm
r3319 r3336 75 75 fi 76 76 77 echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"77 echo "# echo y | $LVMCMD lvcreate$params -n $logical_volume $volume_group" 78 78 } 79 79 -
branches/3.0/mindi/mindi
r3332 r3336 576 576 # LogFile "INFO: '$incoming' generates filelist '$filelist'" 577 577 for fname in $filelist ; do 578 578 [ "$fname" != "" ] && echo "$fname" >> $tempfile 579 579 done 580 580 progress=$(($progress+1)) … … 895 895 LogFile " This warning only affects you if you are using LVM." 896 896 if echo "$MODULES" | grep lvm &> /dev/null ; then 897 897 LogFile " I think you are, so please take heed!" 898 898 else 899 899 LogFile " I don't think you are, so don't worry about it." 900 900 fi 901 901 fi … … 1437 1437 label="$uuid" 1438 1438 fi 1439 1440 # On RHEL 7 they use UUID concretely, even when not mentioned in fstab 1441 # in order to mount the root part e.g. in grub. 1442 # One way to solve this is to add the UUID now, if there wasn't one so it's 1443 # restored correctly 1444 if [ _"$label" = _"" ]; then 1445 label=`blkid $current_partition | perl -p -e 's/.* UUID="([A-z0-9-]+)" .*/$1/'` 1446 fi 1447 1439 1448 partition_format="`echo "$partition_format" | cut -d',' -f1`"; # in case user has ext3,ext2 or something dumb like that 1440 1449 [ "$partition_format" = "auto" ] && partition_format="`mount | grep -w $current_partition | $AWK '{print$5;}'`"; # in case user uses 'auto' (dumb!) … … 2176 2185 Die "You have $res files present in dependency list\nbut absent from filesystem." 2177 2186 fi 2178 FindAndAddUserKeyboardMappingFile2179 2187 mkdir -p $bigdir/tmp 2180 2188 if [ _"$MONDO_SHARE" != _"" ]; then … … 2182 2190 cp -f $MINDI_TMP/mondo-restore.cfg $bigdir/tmp &> /dev/null 2183 2191 fi 2192 2193 # Needs to be done after the MRCFG creation 2194 FindAndAddUserKeyboardMappingFile 2195 2184 2196 [ -d "/mnt/.boot.d" ] && echo "GENTOO" > $bigdir/tmp/DUMBASS-GENTOO 2185 2197 DropOptimizedLibraries $needlist $bigdir … … 2564 2576 cd "$mountpoint" 2565 2577 2578 # Check whether /lib64 or /lib or /sbin or /bin is a link and if so explicitly create one in rootfs (Fedora 17 crazyness) 2579 for d in bin sbin lib lib64; do 2580 if [ -h "/$d" ]; then 2581 thelink=`readlink /$d` 2582 mkdir -p $mountpoint/$thelink || LogIt "ERROR: Unable to create $thelink in $mountpoint." 2583 mv $mountpoint/$d/* $mountpoint/$d/.??* $mountpoint/$thelink 2> /dev/null 2584 if [ -d "$mountpoint/$d" -a ! -h "$mountpoint/$d" ]; then 2585 rmdir $mountpoint/$d 2586 fi 2587 if [ ! -h $mountpoint/$d ]; then 2588 rm -f $mountpoint/$d 2> /dev/null 2589 (cd $mountpoint ; ln -s $thelink $d) || LogIt "ERROR: /$d is a symbolic link, but I couldn't create it in $mountpoint." 2590 fi 2591 fi 2592 done 2593 LogFile "INFO: what is now in $mountpoint" 2594 ls -alR $mountpoint >> $LOGFILE 2566 2595 2567 2596 # Check files before copying to discover configuration issues or McAfee preventing mindi reading these files … … 3093 3122 MODULES="$MODULES `/usr/sbin/esxcfg-module -l | $AWK '{print $1}'`" 3094 3123 fi 3095 LogFile "Liste of extra modules is:"3096 LogFile "-------------"3097 LogFile "$EXTRA_MODS"3098 3124 LogFile "-------------" 3099 3125 LogFile "FORCE_MODS:" -
branches/3.0/mindi/parted2fdisk.pl
r3143 r3336 152 152 "ext4" => "83", 153 153 "xfs" => "83", 154 "btrfs" => "83", 154 155 "reiserfs" => "83", 155 156 "linux-swap" => "82",
Note:
See TracChangeset
for help on using the changeset viewer.