Changeset 3330 in MondoRescue for branches/3.2/mindi/mindi
- Timestamp:
- Dec 23, 2014, 7:49:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3326 r3330 1366 1366 label="$uuid" 1367 1367 fi 1368 1369 # On RHEL 7 they use UUID concretely, even when not mentioned in fstab 1370 # in order to mount the root part e.g. in grub. 1371 # One way to solve this is to add the UUID now, if there wasn't one so it's 1372 # restored correctly 1373 if [ _"$label" = _"" ]; then 1374 label=`blkid $current_partition | perl -p -e 's/.* UUID="([A-z0-9-]+)" .*/$1/'` 1375 fi 1376 1368 1377 partition_format="`echo "$partition_format" | cut -d',' -f1`"; # in case user has ext3,ext2 or something dumb like that 1369 1378 [ "$partition_format" = "auto" ] && partition_format="`mount | grep -w $current_partition | $AWK '{print$5;}'`"; # in case user uses 'auto' (dumb!)
Note:
See TracChangeset
for help on using the changeset viewer.