如果你build Linux from scratch,你點找Drivers + applications?

如果你build Linux from scratch,你點找Drivers + applications?
好大問題 :)
THX

You can get the driver from Kernel source. When you compile the kernel, you can make the choice supporting what hardware you like and choose to build those drivers either in Kernel or as modules.

For applications, I guess you just download from the upstream application website to get the tgz file and install it manually??  But without a package management system, I afraid you may run into the problem of dependency...

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

TOP

LFS 估計玩一次就夠, welcome to gentoo

TOP

如果你build Linux from scratch,你點找Drivers + applications?
好大問題 :)
THX
luckiejacky 發表於 2015-10-19 19:45


Applications 超過咗Linux from Scratch嘅範圍,即係Beyond Linux from Scratch:

http://www.linuxfromscratch.org/blfs/

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

係呀, 真係好方便,
只要 hdd 不死 with reasonable h/w
就可以無限復活, 回到過去/未來,
穿越時空

TOP

其實呢個問題好得意。
諗下,如果Linux boot 唔起你部機,上唔到網,出唔到畫面等等,你點 LFS?

TOP

LFS 就係咁, 由底造起, 從中瞭解最基本系統結構
由 toolchain,  kernel 至起到 boot 機 shell
其它啲 packages 就自由發揮, 閣下自理

而家有 vm, 同埋啲 doc 好 detail,
已經方便容易好多,

回憶初初玩 source base distro, 部機又慢
com gcc 3/4 粒鍾之後, 發現死咗,
glibc 3/4 粒鍾之後, 又發現死咗,
glibc ok 啦, 又發現唔記得改 locale.gen
com kernel, 大半粒鍾之後, 又發現死咗,
真係想跳樓

TOP