Me sale lo mismo con el error. Lo copio aqui de nuevo:
wifislax ~ # /opt/install/Grub2InstallerGUI
modo UEFI
mmcblk0
chroot /mnt/mmcblk0p6 grub-install --recheck --force mmcblk0
Installation finished. No error reported.
Generating grub.cfg ...
Found theme: /boot/grub/themes/default/theme.txt
Found linux image: /boot/vmlinuz-4.8.0-rc5-x86_64-wifislax
wifislax ~ #
He hecho lo de clonar como estaba en el mensaje 7.
Abre Grub2InstallerGUI con un editor de textos y modifica
[ "$(cat /proc/cmdline|grep "nomodeset")" ] && sed -i 's/="vga=788"/="vga=788 nomodeset"/' "$MNT/etc/default/grub"
chroot "$MNT" update-grub
if [ $? -ne 0 ]; then
kill $(cat "$TMP/pid")
print_error "\n\n\n Ocurrió un error durante la instalación, no se puede continuar \n"
por
[ "$(cat /proc/cmdline|grep "nomodeset")" ] && sed -i 's/="vga=788"/="vga=788 nomodeset"/' "$MNT/etc/default/grub"
chroot "$MNT" update-grub
salida=$?
if [ $salida -ne 0 ]; then
echo $salida
kill $(cat "$TMP/pid")
print_error "\n\n\n Ocurrió un error durante la instalación, no se puede continuar \n"
Y pega la salida de nuevo
Salu2
Esto es lo que aparece
wifislax ~ # /opt/install/Grub2InstallerGUI
modo UEFI
mmcblk0
chroot /mnt/mmcblk0p6 grub-install --recheck --force mmcblk0
Installation finished. No error reported.
Generating grub.cfg ...
Found theme: /boot/grub/themes/default/theme.txt
Found linux image: /boot/vmlinuz-4.8.0-rc5-x86_64-wifislax
1
wifislax ~ #
No sabría decir que pasa. No hay ningún mensaje de error, pero a pesar de ello, el programa termina con estado de error 1. No sé si es buena idea contemplar como bueno un estado de salida 1 como correcto. Para tu caso particular, puede arreglarlo cambiando
[ "$(cat /proc/cmdline|grep "nomodeset")" ] && sed -i 's/="vga=788"/="vga=788 nomodeset"/' "$MNT/etc/default/grub"
chroot "$MNT" update-grub
if [ $? -ne 0 ]; then
kill $(cat "$TMP/pid")
print_error "\n\n\n Ocurrió un error durante la instalación, no se puede continuar \n"
por
[ "$(cat /proc/cmdline|grep "nomodeset")" ] && sed -i 's/="vga=788"/="vga=788 nomodeset"/' "$MNT/etc/default/grub"
chroot "$MNT" update-grub
salida=$?
if [[ $salida -ne 0 ]] && [[ $salida -ne 1 ]]; then
kill $(cat "$TMP/pid")
print_error "\n\n\n Ocurrió un error durante la instalación, no se puede continuar \n"
jaja tio , el comando ese largo de mkconfig , en embedded , te falta una "d"
¿has mirado de la carpeta EFI el script make-grub.sh ?
genera el fichero que que quieres pero con otro nombre ..
Si. insisto, me sale el menú del grub con todas sus opciones, y puedo arrancar. Lo que pasa es que el firmware salta porque grub no realiza bien el proceso de carga de un kernel firmado.
Si miras el buildlog de los de ubuntu, te encuentras cosas como
gpgv: Signature made Wed Aug 3 20:47:07 2016 UTC using RSA key ID 4C9EBDA7
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./grub2_2.02~beta2-36ubuntu3.3.dsc
dpkg-source: info: extracting grub2 in grub2-2.02~beta2
dpkg-source: info: unpacking grub2_2.02~beta2.orig.tar.xz
dpkg-source: info: unpacking grub2_2.02~beta2-36ubuntu3.3.debian.tar.xz
dpkg-source: info: applying olpc_prefix_hack.patch
dpkg-source: info: applying core_in_fs.patch
dpkg-source: info: applying dpkg_version_comparison.patch
dpkg-source: info: applying grub_legacy_0_based_partitions.patch
dpkg-source: info: applying disable_floppies.patch
dpkg-source: info: applying grub.cfg_400.patch
dpkg-source: info: applying gfxpayload_keep_default.patch
dpkg-source: info: applying install_stage2_confusion.patch
dpkg-source: info: applying mkrescue_efi_modules.patch
dpkg-source: info: applying mkconfig_loopback.patch
dpkg-source: info: applying restore_mkdevicemap.patch
dpkg-source: info: applying gettext_quiet.patch
dpkg-source: info: applying mkconfig_mid_upgrade.patch
dpkg-source: info: applying install_efi_fallback.patch
dpkg-source: info: applying mkconfig_ubuntu_recovery.patch
dpkg-source: info: applying install_locale_langpack.patch
dpkg-source: info: applying mkconfig_nonexistent_loopback.patch
dpkg-source: info: applying no_insmod_on_sb.patch
dpkg-source: info: applying default_grub_d.patch
dpkg-source: info: applying blacklist_1440x900x32.patch
dpkg-source: info: applying uefi_firmware_setup.patch
dpkg-source: info: applying mkconfig_ubuntu_distributor.patch
dpkg-source: info: applying linuxefi.patch
dpkg-source: info: applying linuxefi_debug.patch
dpkg-source: info: applying linuxefi_require_shim.patch
dpkg-source: info: applying linuxefi_non_sb_fallback.patch
dpkg-source: info: applying mkconfig_signed_kernel.patch
dpkg-source: info: applying install_signed.patch
dpkg-source: info: applying sleep_shift.patch
dpkg-source: info: applying wubi_no_windows.patch
dpkg-source: info: applying maybe_quiet.patch
dpkg-source: info: applying install_efi_ubuntu_flavours.patch
dpkg-source: info: applying quick_boot.patch
dpkg-source: info: applying gfxpayload_dynamic.patch
dpkg-source: info: applying vt_handoff.patch
dpkg-source: info: applying probe_fusionio.patch
dpkg-source: info: applying ignore_grub_func_test_failures.patch
dpkg-source: info: applying mkconfig_recovery_title.patch
dpkg-source: info: applying skip_gettext_strings_test.patch
dpkg-source: info: applying elf_bi_endian.patch
dpkg-source: info: applying macbless_mansection.patch
dpkg-source: info: applying grub-shell-no-pad.patch
dpkg-source: info: applying freebsd_debugflags_eperm.patch
dpkg-source: info: applying install_powerpc_machtypes.patch
dpkg-source: info: applying install_arm64_naming.patch
dpkg-source: info: applying mkrescue_arm64_naming.patch
dpkg-source: info: applying ieee1275-pseries-emulation.patch
dpkg-source: info: applying probe-delimiter.patch
dpkg-source: info: applying btrfs-endian.patch
dpkg-source: info: applying tolerate-lvm-snapshots.patch
dpkg-source: info: applying net-receive-packets-yield.patch
dpkg-source: info: applying net-ramp-up-interval.patch
dpkg-source: info: applying probe_nvme.patch
dpkg-source: info: applying mkconfig-kernels-infloop.patch
dpkg-source: info: applying x32.patch
dpkg-source: info: applying ppc64el-flags.patch
dpkg-source: info: applying ppc64el-skip-libgcc.patch
dpkg-source: info: applying platform-none.patch
dpkg-source: info: applying mips-abiflags.patch
dpkg-source: info: applying ieee1275-clear-reset.patch
dpkg-source: info: applying ppc64el-disable-vsx.patch
dpkg-source: info: applying grub-install-pvxen-paths.patch
dpkg-source: info: applying gettext-print-typo.patch
dpkg-source: info: applying insmod-xzio-and-lzopio-on-xen.patch
dpkg-source: info: applying grub-install-extra-removable.patch
dpkg-source: info: applying mkconfig_other_inits.patch
dpkg-source: info: applying check_blocklists_overlap_fix.patch
dpkg-source: info: applying mixed_size_efi.patch
dpkg-source: info: applying hostfs_remove_ftm.patch
dpkg-source: info: applying efi_sanitise_path.patch
dpkg-source: info: applying arp_icmp_oversize_handling.patch
dpkg-source: info: applying fix_diskfilter_lv_name_dblfree.patch
dpkg-source: info: applying fix_disk-module_option_handling.patch
dpkg-source: info: applying ppc64el-avoid_unnecessary_optimizations.patch
dpkg-source: info: applying arm64-set-correct-length-of-device-path-end-entry.patch
dpkg-source: info: applying progress_avoid_null_deref.patch
dpkg-source: info: applying arm64-setjmp-Add-missing-license-macro.patch
dpkg-source: info: applying xfs-fix-directory-iteration.patch
dpkg-source: info: applying xfs-simplify-inode-endian-conversion.patch
dpkg-source: info: applying xfs-add-inode-size-helpers.patch
dpkg-source: info: applying xfs-v5.patch
dpkg-source: info: applying xfs-fix-alignment.patch
dpkg-source: info: applying xfs-crc-fix-symlink.patch
dpkg-source: info: applying ofdisk_add_sas_disks.patch
dpkg-source: info: applying efinet-open-Simple-Network-Protocol-exclusively.patch
dpkg-source: info: applying efidisk-device-path-helpers-for-efinet.patch
dpkg-source: info: applying efinet-skip-virtual-devices-on-enumeration.patch
dpkg-source: info: applying efinet-enable-hardware-filters-on-interface.patch
dpkg-source: info: applying CVE-2015-8370.patch
dpkg-source: info: applying acpihalt-opcodes-1.patch
dpkg-source: info: applying acpihalt-opcodes-2.patch
dpkg-source: info: applying remove-unreachable-code-pragmas.patch
dpkg-source: info: applying zfs-disk-matching.patch
dpkg-source: info: applying zfs-mzap-lookup-argument-types.patch
dpkg-source: info: applying zfs-hole-birth.patch
dpkg-source: info: applying zfs-embedded-data.patch
dpkg-source: info: applying zfs-zap-lookup-truncation.patch
dpkg-source: info: applying zfs-extensible-dataset-large-blocks.patch
dpkg-source: info: applying 0099-Work-around-unsupported-relocations-on-arm64.patch
dpkg-source: info: applying arm-efi-Reduce-timer-event-frequency-by-10.patch
dpkg-source: info: applying ip6_send_router_solicitation_7c4b6b7b.patch
dpkg-source: info: applying ip6_fix_routing_eb9f401f.patch
yo lo que voy a intentar es compilar tal como lo hacen ellos (cosa que ya conseguí) pero para otra plataforma (slackware). Ya que lo único que me sale por ahora es generar los .deb, y quiero hacer algo tipo "make install DESTDIR="
Salu2