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.
Hi. I want to do away with bootloaders and initial ramdisks and all that but I can't seem to find the information I need. Will I need to build anything into the kernel? Like filesystem mods or anything? I read that the support for efi stub is already built into the kernel. I'm going to look up what I do after that but anything helpful will help. Thanks.
You will need to rebuild your kernel with drivers and file sytems required for booting without a initial ramdisk, along with the options needed to boot as efi stub. Here is some info on setting the kernel up as an EFI stub. http://www.rodsbooks.com/efi-bootloaders/efistub.html. The drivers and filesystems that have to build into the kernel will depend on your hardware and file systems. You may need a larger EFI partition to hold the efi stub kernel.
Last edited by colorpurple21859; 06-11-2014 at 09:16 PM.
That and the archlinux wiki were the two places that had at least some information. I have been trying but there really isn't a detailed guide anywhere. I got my kernel to boot by using efibootmgr and feeding it an initrd with jbd2 and ext4 mods. For some reason the root lv in the partition that I just formatted is being mistaken for a luks device? And /dev/system/slackroot won't mount, but I'm making progress.
Edit: oyea the efi stub options are enabled in the generic configuration.
Unedited: No wait. I don't understand why my lvm partition with my root on it is being recognized as a luks device. I can mount it myself no problem. It was encrypted 2 repartition/full reinstalls ago. Is there something that I need to do there?
Edit: Yep. I'm saving compiling my first kernel for after I get my system to boot, but I think the initrd will work for now.
Okay, I had accidentally put the -C option into mkinitrd out of habit. Finally got everything to boot so I guess tomorrow I'll try to figure out how to compile a kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.