On 6.1.2018. 17:34, Ken Moffat wrote:
On Sat, Jan 06, 2018 at 11:15:04AM -0500, Baho Utot wrote:
If that works then I would like to build a kernel that is mostly modules:
What will I have to add for drivers to get it boot.
First, whichever filesystem you are using for the root filesystem.
Second, run lspci -vvv on the host system to see which kernel
drivers are being used for the disk(s). If you have multiple
drivers for different SATA ports, you might find it easiest to build
them all in - on one of my very old machines, the connection which
the BIOS recognises as the primary disk (yes, it's old) is not using
the chipset's SATA driver, it is using an additional driver.
Using lsmod might also help in identifying hardware modules for things
like the sensors.
Usually, getting everything set up for the first time takes some
trial and error.
ĸen
You can find a simple write-up on what's needed to build into kernel so
your system can boot at
http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt
It's mostly what Ken said, with pointers to kernel options in menuconfig.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style