BUG-REPORT:
Laptop:
DELL Inspiron 14-3452
UEFI/BIOS rev 4.0.9(latest)
eMMC (embedded MultiMediaCard) One embedded MultiMediaCard as main hard drive(32-GB)
Info:
http://www.dell.com/us/p/inspiron-14-3452-laptop/pd
http://www.dell.com/support/home/us/...laptop/manuals
CHALLENGE:
Installer initrd.img loads modules(mmc_core,mmc_block,sdhci,sdhci_acpi) needed for drive discovery, partitioning & selection in TARGET of install. However, the "eliloconfig" script does _not_ see the EFI partition(/dev/mmcblk0p1) during boot loader installation and silently fails through to the next setup step.
CAUSE:
Perhaps the drive sensing logic of the eliloconfig script does not include the eMMC sections in its evaluation of the /dev/ directory?
Line #10 of the
Code:
/usr/lib/setup/SeTEFI
script only probes for drives
The partitions needing detection, in my case, are:
Code:
/dev/mmcblk0p1 = EFI(512-MB VFAT ESP)
/dev/mmcblk0p2 = LINUX-SWAP(4-GB SWAP)
/dev/mmcblk0p3 = LINUX(24.6-GB EXT4 /)
SOLUTION:
1. Rebuild the vmlinuz-huge kernel to include:
Code:
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_SDHCI_ACPI=y
2. Replace the pre-existing huge.s file on the root of the usb-stick with the new vmlinuz-huge.
3. Rebuild the SeTEFI script to also probe /dev/mmcblk0...mmcblk16.
4. Add the 'rootwait' kernel parameter to the elilo.conf append line for eMMC installs.
5. Install and enjoy(not tested).
OR
4. Chroot into TARGET after install, but _before_ rebooting and build an initrd.gz with the needed modules for the eMMC drive and adjust the elilo.conf, accordingly. NOTE: 'rootwait' is _not_ needed if using the vmlinuz-generic with an initrd.gz.
5. Install and enjoy(not tested).
OR
4. If you choose _not_ to rebuild the probing function in the SeTEFI script, then -- after install, but _before_ reboot:
a.
Code:
#mkdir -p /mnt/boot/efi/EFI/Slackware
b. Populate /mnt/boot/efi/EFI/Slackware with elilo boot files
Code:
elilo.conf* elilo.efi* vmlinuz*(<-- this is your rebuilt vmlinuz-huge copied into this folder and referenced in your elilo.conf)
c. Change elilo.conf to include 'rootwait', i.e.
Code:
append="root=/dev/mmcblk0p3 rootwait"
d. Edit /etc/fstab and add just below the '/' mount entry:
Code:
/dev/mmcblk0p1 /boot/efi vfat defaults 1 0
5. Reboot and enjoy(tested).