gentoo手動編譯內核需要怎麼配置

轉自gentoo handbook

必須啓用的選項

確保啓動您的系統所必需的驅動(比如SCSI控制器……)被編譯內核而不是作爲模塊加入的。否則您的系統將完全不能啓動。

現在選擇正確的處理器類型:

代碼 3.2: 選擇正確的處理器類別

Processor type and features --->  (Change according to your system)  (Athlon/Duron/K7) Processor family

現在進入File Systems並且選擇您使用的文件系統。請不要把它們編譯成模塊,否則您的Gentoo系統將不能掛載您的分區。同時您也要啓用Virtual memory/proc file system的支持。

代碼 3.3: 選擇需要的文件系統

File systems --->  Pseudo Filesystems --->    [*] /proc file system support    [*] Virtual memory file system support (former shm fs)#-#-#-#-#  choice  #-#-#-#-#(依照你係統的需要啓用下面所列出的一個或是多個選項)  <*> Reiserfs support  <*> Ext3 journalling file system support  <*> JFS filesystem support  <*> Second extended fs support  <*> XFS filesystem support

如果您在使用PPPoE接入Interne或者您在使用撥號的調制解調器,您需要下面的選項:

代碼 3.4: 選擇PPPoE驅動

Device Drivers --->  Networking support --->    <*> PPP (point-to-point protocol) support    <*>   PPP support for async serial ports    <*>   PPP support for sync tty ports

兩個壓縮選項不會造成什麼錯誤,不過它們不是必需的。PPP over Ethernet選項也不是必需的,只在使用ppp並被配置成使用核心PPPoE時纔會用到它。

如果您需要它,請不要忘記在內核中包含對您的網卡的支持。

如果您擁有支持HyperThreading(tm)的Intel CPU,或者您有多個CPU,您需要激活"Symmetric multi-processing support":

代碼 3.5: 啓用SMP支持

Processor type and features  --->  [*] Symmetric multi-processing support

注意: 在多核心繫統中,處理器的數目相當於核心的數目。

如果你有多於4GB的內存,你需要啓用"High Memory Support (64G)"。

如果您使用USB輸入裝置(比如鍵盤或者鼠標)那麼不要忘記支持它們:

代碼 3.6: 啓用USB接口的輸入設備支持

Device Drivers --->  USB Support --->    <*>   USB Human Interface Device (full HID) support

如果你想要對你的筆記本的PCMCIA支持,也不要忘了在系統中允許PCMCIA card bridge。

代碼 3.7: 啓用PCMCIA支持

Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->  PCCARD (PCMCIA/CardBus) support  --->    <*> PCCard (PCMCIA/CardBus) support(如果您需要使用老式的PCMCIA卡,選擇16位。大多數人需要。)    <*>   16-bit PCMCIA support    [*]   32-bit CardBus support(選擇相關的bridges)    --- PC-card bridges    <*> CardBus yenta-compatible bridge support (NEW)    <*> Cirrus PD6729 compatible bridge support (NEW)    <*> i82092 compatible bridge support (NEW)    <*> i82365 compatible bridge support (NEW)    <*> Databook TCIC host bridge support (NEW)

當您完成了內核配置之後,請點擊編譯與安裝.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章