I had a similar situation like yours with a Dell laptop, which had almost identical hardware (32 GB eMMC).
And I had to figure out what drivers to include in the initrd.gz. That was the difficult part of it, because
I did't have a clue as to what modules did what in this laptop. After a lot of trying and errors this is what
my /etc/mkinitrd.conf looks like:
Code:
#
SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="1"
OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="4.19.56"
#KEYMAP="us"
MODULE_LIST="ext4:fuse:fat:vfat:mmc_core:mmc_block:pinctrl_cherryview:sdhci:sdhci_acpi:xhci_hcd:xhci_pci:usb_storage:uas"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
ROOTDEV="/dev/mmcblk0p3"
ROOTFS="ext4"
RESUMEDEV="/dev/mmcblk0p2"
UDEV="1"
#MODCONF="0"
#RAID="0"
#WAIT="1"
To do the next steps, it is best to boot from a live media (CD,USB) and chroot into the system. Like this:
Code:
mount -t ext4 /dev/your_systemPartition_maybe_mmcblk0p3 /mnt
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
mkdir -p /boot/efi
mount -t vfat /dev/mmcblk0p1 /boot/efi
Ajust yours mkinitrd.conf to include the lines from the example mkinitrd.conf, and then run:
as root. And then copy as root
/boot/initrd.gz to /boot/efi/EFI/Boot/initrd.img (or this location may vary, depending where your elilo instalation is configured to look for this file)
and
/boot/vmlinuz-generic-4.19.56 to /boot/efi/EFI/Boot/vmlinuz-generic (or the generic kernel that initrd.gz was derived from and you are going to use on your system)
And my /boot/efi/EFI/Boot/elilo.conf looks like this:
Code:
# Linux bootable partition config begins
prompt
timeout=600
default=Linux
image=vmlinuz-generic
label=Linux
initrd=initrd.img
append="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=vmlinuz-generic"
# Linux bootable partition config ends
Then you can reboot the system.