Re: mondoarchive syslinux.efi - 2nd try

Bruno Cornec <[email protected]> Fri, 14 Dec 2018 23:51:47 +0100
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Hello Michael,

This is a know issue with CentOS support and mondo 3.2.2.
You can apply the patch referred here:

Index: mindi/mindi
===================================================================
--- mindi/mindi (.../3.2/mindi/mindi)   (révision 3596)
+++ mindi/mindi (.../3.3/mindi/mindi)   (révision 3709)
@@ -2139,11 +2150,13 @@
                                # On RHEL6 grub works
                                dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2`
                                dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2`
-                               if [ $dname = "rhel" ] && [ $dver = "6" ]; then
+                               if [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver = "6" ]; then
                                        boottype=grub
-                               elif [ $dname = "rhel" ] && [ $dver = "7" ]; then
+                               elif [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver -ge 7 ]; then
                                        boottype=grub2
-                               elif [ $dname = "debian" ] && [ $dver = "8" ]; then
+                               elif [ $dname = "fedora" ] && [ $dver -ge 20 ]; then
+                                       boottype=grub2
+                               elif [ $dname = "debian" ] && [ $dver -ge 8 ]; then
                                        boottype=grub2
                                else
                                        # Use syslinux.efi as the default boot loader ... but it doesn't work for now :-(

your version of mindi doesn't hadle correctly the CentOS case, whereas it hadles RHEL 7 correctly.

HTH,
Bruno.

Michael Duvall said on Fri, Dec 14, 2018 at 03:24:31PM +0000:

>Second try... Log files attached this time. :)
>
>Running UEFI/CentOS 7 (yum updated with latest RPMs) with a custom kernel. First time mondorescue user here. Ran mondoarchive, and end up the "FATAL ERROR. Please install syslinux.efi first. If your syslinux RPM doesn't include syslinux.efi, you may download an syslinux RPM from Mondo's website - go to  http://www.mondorescue.org/downloads.shtml" message.
>
>Unable to locate a syslinux.efi anywhere. Not sure what to do next. Please advise.
>
>Thanks!
>
>--
>
>Michael Duvall <[email protected]<mailto:[email protected]>>
>Concurrent Real-Time



>_______________________________________________
>Mondo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mondo-devel


-- 
HPE WW FLOSS Technology Strategist      http://www.hpe.com/engage/opensource
Open Source Profession, WW Linux Community Lead    http://github.com/bcornec   
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org