Quote:
Originally Posted by 0XBF
I was going to suggest an initrd with mmc_core and mmc_block next but it seems you have figured things out. I'm not sure on what to suggest for getting your bootloader to work now since I usually use grub. Perhaps you can run eliloconfig now that the correct modules are loaded?
|
I couldn't. I'm reading/trying to figure out how to install the EFI entry.
So far I have learned efibootmgr is the command used by eliloconfig to create a new EFI but each time I try to run
efibootmgr -C -d /dev/mmcblk0 -p 1 -l "\\EFI\\BOOT\\bootx64.efi" -L Slackware -v
I get
Could not prepare Boot variable: Success
error trace:
linux.c:538 device_get(): parsing emmc failed: Success
creator.c:194 efi_va_generate_file_device_path_from_esp(): could not get ESP disk info: Success
creator.c:349 efi_generate_file_device_path_from_esp(): could not generate File DP from ESP: Success
efi.c:390 make_linux_load_option(): efi_generate_file_device_path_from_esp() = -1 (failed): Success
efibootmgr.c:295 make_var(): make_linux_load_option() failed: Success
efibootmgr.c:344 make_var(): Could not set variable: Success
I was just trying to read the source code. I hve recompiled it but binary seems the same included with slackware (same size at least)
Quote:
root@fvsm:~# ls /boot/efi/EFI/BOOT
bootx64.efi* elilo.conf* elilo.conf~* huge.s* initrd.gz* initrd.gz.0* vmlinuz* vmlinuz-huge*
root@fvsm:~# ls /boot/efi/EFI/BOOT -la
total 46256
drwxr-xr-x 2 root root 4096 Apr 7 23:56 ./
drwxr-xr-x 5 root root 4096 Apr 8 00:32 ../
-rwxr-xr-x 1 root root 238531 Apr 7 23:33 bootx64.efi*
-rwxr-xr-x 1 root root 165 Apr 7 23:33 elilo.conf*
-rwxr-xr-x 1 root root 177 Apr 7 23:33 elilo.conf~*
-rwxr-xr-x 1 root root 10033536 Apr 7 23:33 huge.s*
-rwxr-xr-x 1 root root 10263551 Apr 7 23:33 initrd.gz*
-rwxr-xr-x 1 root root 10240015 Apr 7 23:33 initrd.gz.0*
-rwxr-xr-x 1 root root 6527360 Apr 7 23:33 vmlinuz*
-rwxr-xr-x 1 root root 10033536 Apr 7 23:33 vmlinuz-huge*
|
I know there are files lying around, I can take care of that later. So far Im trying to create a new EFI entry and mark it as first in the boot order.
seems like both grub and elilo are using this program
of course I have mounted efivars as suggested at
https://docs.slackware.com/howtos:sl...ble_filesystem
clueless about how to proceed
edit: this "Success" error reminds me of Windows 98 errors messages