Changeset 3394


Ignore:
Timestamp:
Jul 22, 2015, 8:02:54 PM (3 years ago)
Author:
bruno
Message:

Improve message in case of detection of a UEFI partition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-tools.c

    r3377 r3394  
    945945    // abort if Windows partition but no ms-sys and parted
    946946    if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -vE \"/dev/fd|nexdisk\"", 0)) {
    947         log_to_screen("I think you have a Windows 9x partition.");
     947        if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -Ew efi", 0)) {
     948            log_to_screen("I think you have a EFI/UEFI partition.");
     949        } else {
     950            log_to_screen("I think you have a Windows 9x partition.");
     951        }
    948952        retval += whine_if_not_found("parted");
    949953    }
Note: See TracChangeset for help on using the changeset viewer.