Changeset 3889 in MondoRescue for branches/3.3
- Timestamp:
- Mar 10, 2024, 8:22:38 PM (4 months ago)
- Location:
- branches/3.3
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/contrib/mkcd/setup
r3653 r3889 296 296 GetDistroArchitecture() { 297 297 local arch 298 for arch in x86_64 x86-64 amd64 opteron ia64; do298 for arch in x86_64 x86-64 amd64 opteron ; do 299 299 if grep -i "$arch" /etc/issue.net &> /dev/null ; then 300 300 # [ "$arch" = "x86_64" ] && arch=amd64; # hack - FIXME 301 301 echo $arch 302 return 0303 fi304 done305 306 for arch in itanium ; do307 if grep -i "$arch" /etc/issue.net &> /dev/null ; then308 echo itan309 302 return 0 310 303 fi -
branches/3.3/mindi/mindi
r3888 r3889 2198 2198 mount /boot/efi 2199 2199 if [ $? -ne 0 ]; then 2200 echo "ERROR: You have to mount your (U)EFI partition when using mindi"2200 echo "ERROR: You have to mount your UEFI partition when using mindi" 2201 2201 MindiExit -1 2202 2202 fi -
branches/3.3/mondo/src/common/libmondo-archive.c
r3888 r3889 2650 2650 if (bkpinfo->boot_type == UEFI) { 2651 2651 mr_asprintf(boot_type, "UEFI"); 2652 } else if (bkpinfo->boot_type == EFI) {2653 mr_asprintf(boot_type, "EFI");2654 2652 } else if (bkpinfo->boot_type == BIOS) { 2655 2653 mr_asprintf(boot_type, "BIOS"); -
branches/3.3/mondo/src/common/libmondo-devices.c
r3888 r3889 1764 1764 1765 1765 /** 1766 * Return the type of boot of the system (UEFI , EFIor BIOS)1766 * Return the type of boot of the system (UEFI or BIOS) 1767 1767 */ 1768 1768 t_boot mr_boot_type(void) { -
branches/3.3/mondo/src/common/libmondo-tools.c
r3888 r3889 687 687 if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -vE \"/dev/fd|nexdisk\"", 0)) { 688 688 if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -Ew efi", 0)) { 689 log_to_screen("I think you have a EFI/UEFI partition.");689 log_to_screen("I think you have a UEFI partition."); 690 690 } else { 691 691 log_to_screen("I think you have a Windows 9x partition."); -
branches/3.3/mondo/src/common/mondostructures.h
r3888 r3889 184 184 typedef enum { 185 185 BIOS, /// System uses Legacy Boot mode (aka BIOS) 186 EFI, /// System uses EFI Boot mode187 186 UEFI, /// System uses UEFI Boot mode 188 187 } t_boot; -
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3885 r3889 1134 1134 if (!strcmp(value, "BIOS")) { 1135 1135 bkpinfo->boot_type = BIOS; 1136 } else if (!strcmp(value, "EFI")) {1137 bkpinfo->boot_type = EFI;1138 1136 } else if (!strcmp(value, "UEFI")) { 1139 1137 bkpinfo->boot_type = UEFI;
Note:
See TracChangeset
for help on using the changeset viewer.