r/linuxfromscratch • • Oct 31 '24

Making a LFS script

Im making a LFS script but i cant seem to do the firmware and microcode in
https://www.linuxfromscratch.org/blfs/view/12.2/postlfs/firmware.html

heres my repo: https://github.com/LazyBev/LazyOS

7 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Aromatic-Ad-4119 Nov 02 '24

I meant like idk how would actually do The ucode ans firmware 

2

u/thseeling Nov 05 '24

intel put the microcode files on github long time ago, you can download the latest from there. The LFS book contains a section on early and late loading. If you don't need anything else from initrd you can simply put the microcode update into that and have grub let it load with your kernel. LFS kernels are usually configured for your exact hardware so you don't need an initrd to load additional drivers or files that you couldn't also put into the kernel at compile time.

3

u/Aromatic-Ad-4119 Nov 07 '24

Did not realize that, thank you