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.
Please notice the 'cat: /proc/mdstat: No such file or directory' line.
It tells that debian does not have /proc/mdstat. I would not worry about that. Instead I would worry about the modules in the printed mkinitrd command: mkinitrd_command_generator.sh has studied which modules are needed with the running debian kernel, and that's not the same in Slackware.
In /boot/grub/grub.cfg the slackware menu entry has vmlinuz-generic-4.4.14. What would happen if we use the smp?
Interesting. I thought that you used vmlinuz-huge-smp-4.4.14-smp. There was no sense for me asking you to lsmod in the installer (which runs huge) if you try to run generic.
Do you mean I should replace that line in grub.cfg with vmlinuz-huge-smp-4.4.14-smp? The slackware entry was generated by grub-mkconfig.
I know nothing about grub, but you might want to try it. At least then you need "-k 4.4.14-smp" in mkinitrd. (There are four kernels available: vmlinuz-huge-smp-4.4.14-smp and vmlinuz-generic-smp-4.4.14-smp are i686 and smp. They don't work with some older machines, and for those there are still vmlinuz-generic-4.4.14 and vmlinuz-huge-4.4.14 which work in i586 and they do not support smp.)
(And compared to the huge kernel, the generic kernel will probably need more modules in the mkinitrd command than I suggested, at least one for the root file system.)
Last edited by Petri Kaukasoina; 07-03-2020 at 11:57 AM.
Here (https://ansuz.sooke.bc.ca/entry/340) a guy uses elilo to install slackware on eMMC with UEFI. I don't like grub and have always used lilo. I use legacy mode (BIOS). The link is a bit complex to me because of the UEFI thing. I'd be ready to abandon the entire attempt to make slackware boot with grub and begin trying with elilo. If you use slackware, would you mind telling me which boot loader you use?
Alright, I'll try with elilo (don't know if it would be convenient to start a new thread). This question may semm silly, but when I boot the installer, once I am given the prompt and I login as root (14.2 is already in the "hard disk" (eMMC)), how do I run elilo? I looked into /var/log/packages/elilo... and there is no binary with the name elilo. In /sbin there are only two files.
There is a 0.5GB VFAT partition on the eMMC. That is the EFI partition. In the link in post #65 it is given as /dev/mmcblk0p1. However, see the /etc/fstab written by the installer:
Here /dev/sda1 is the EFI partition and the two visible partitions are mmcblk0p1 and mmcblk0p2. The EFI is in fstab because the installer said it detected an NTFS partition and asked me if I wanted to put it in fstab and I answered yes. So, what do I mount on /boot/efi? /dev/sda1 or /dev/mmcblk0p1?
There seem to be a lot of misunderstandings here. The OP claims to run legacy mode, but it certainly looks like EFI-boot has been used. So, what is it? Legacy mode or EFI ???
Just to add my own 2c-worth.
I still use legacy mode and (shudder) legacy grub. My first partition (on any disk) is 128 or 256MB (actually, 64MB would be more than enough).
That first partition is legacy-grub only.
Whenever I install a distro, I make them set up their own boot on their root-partition.
Then finally, I use legacy grub to chainload to the root partition of the distro I want to boot.
Of course, legacy grub has not been updated for like eons, but I grabbed one from an old redhat/centos distro that actually had ext4-support built in. Since I always use ext4 for the root partition for any distro - this has worked fine until fairly recently. The debian-based distros obviously has a slightly newer version of mkfs.ext4 than does slackware-14.2, and I now find that legacy grub will not understand the newest ext4. Easy to get around it though, I use slackware to preformat the root-partition of any new install I want - and everything is honky-dory! :-)
Actually, I just checked. Slackware-14.2 has mkfs.ext4 version 1.43.1 while mx-linux has version 1.44.5
Last edited by perbh; 07-03-2020 at 06:59 PM.
Reason: Supplying extra info
There seem to be a lot of misunderstandings here. The OP claims to run legacy mode, but it certainly looks like EFI-boot has been used. So, what is it? Legacy mode or EFI ???
Well, perhaps I am making a mistake. I was guided by this page, under "Slackware install and chrooting into the live system". The crucial question is: are elilo and legacy mode compatible?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.