SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This link has a section on creating an initrd for an emmc drive that may be of help, ignore the sections about efi. https://ansuz.sooke.bc.ca/entry/340
In order to paste the output of mkinitrd_command_generator.sh I run the commands of post #27 in a GUI terminal after doing 'su -' and then with the mouse I copy and paste. But I understand 'su -' is not exactly the same as using one of the consoles (dev/ttyN) as root. Is it OK if I use a GUI terminal?
I don't have the knowledge to fix the problem, but the short code segement from current's eliloconfig seems to indicate that it supports 'mmcblk' devices.
Sorry I can't offer any further assistance
HTH
john
bash-4.3# sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.14-smp
cat: /proc/mdstat: No such file or directory
#
# mkinitrd_command_generator.sh revision 1.45
#
# This script will now make a recommendation about the command to use
# in case you require an initrd image to boot a kernel that does not
# have support for your storage or root filesystem built in
# (such as the Slackware 'generic' kernels').
# A suitable 'mkinitrd' command will be:
mkinitrd -c -k 4.4.14-smp -f ext2 -r /dev/mmcblk0p2 -m mmc_core:sdhci:sdhci-pci:usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:mbcache:ext2 -u -o /boot/initrd.gz
bash-4.3#
Please notice the 'cat: /proc/mdstat: No such file or directory' line.
In /boot/grub/grub.cfg the slackware menu entry has vmlinuz-generic-4.4.14. So I assume in the mkinitrd we have to use is '-k 4.4.14', not '-k 4.4.14-smp'. Am I right?
Quote:
Originally Posted by colorpurple21859
This link has a section on creating an initrd for an emmc drive that may be of help, ignore the sections about efi. https://ansuz.sooke.bc.ca/entry/340
This guy used elilo succesfully (slackware with eMMC) (He does not state which slackware version). But I am using legacy mode (BIOS), no EFI. So could it be that lilo could do the job?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.