日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

FreeBSD如何保存和使用內(nèi)核更改信息?

Dan;Langille
www.freebsddiary.org


如果你安裝好了FreeBSD的話,那么應(yīng)該認(rèn)識(shí)了全屏幕配置界面 。在這個(gè)界面里你可以排除硬件資源沖突,并且可以設(shè)置不同的系統(tǒng)部件,完成后可以保存這些信息然后繼續(xù)引導(dǎo)處理 。簡(jiǎn)而言之,這一步操作允許你對(duì)現(xiàn)有的內(nèi)核作一些改變 。這些改變會(huì)被保存到磁盤上 。不過(guò),在版本3.1,這些內(nèi)容不會(huì)被保存到正確的位置,在這里我教你怎樣改正它 。

改變系統(tǒng)引導(dǎo)信息
先參考一下3.1版的errata.txt 。以下是使用這些推薦信息的步驟 。引導(dǎo)系統(tǒng)后登錄,執(zhí)行:
#;mv;/kernel.config;/boot/kernel.conf
把以下命令加入/boot/loader.r:
load;/kernel
load;-t;userconfig_script;/boot/kernel.conf
autoboot;5

然后重新引導(dǎo),這時(shí)可以看到一些新的引導(dǎo)信息 。系統(tǒng)實(shí)際上進(jìn)入了配置過(guò)程,并且執(zhí)行了各種配置命令,我認(rèn)為這確實(shí)是一個(gè)功能很強(qiáng)的工具 。

以下是這次引導(dǎo)的dmesg信息,可以看出引導(dǎo)信息已經(jīng)被修改了 。;
$;dmesg
Copyright;(c);1992-1999;FreeBSD;Inc.
Copyright;(c);1982,;1986,;1989,;1991,;1993
The;Regents;of;the;University;of;California.;All;rights;reserved.
FreeBSD;3.1-RELEASE;#0:;Mon;Feb;15;11:08:08;GMT;1999
jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC
Timecounter;"i8254";frequency;1193182;Hz
CPU:;i486DX;(486-class;CPU)
real;memory;=;8650752;(8448K;bytes)
config>;di;zp0
config>;di;ze0
config>;di;lnc0
config>;di;le0
config>;di;ie0
config>;di;fe0
config>;di;ex0
config>;di;ep0
config>;di;cs0
config>;di;wt0
config>;di;wdc1
config>;di;scd0
config>;di;mcd0
config>;di;matcdc0
config>;di;bt0
config>;di;aha0
config>;di;adv0
config>;en;ed0
config>;po;ed0;0x300
config>;ir;ed0;5
config>;iom;ed0;0xd8000
config>;f;ed0;0
config>;q
avail;memory;=;5476352;(5348K;bytes)
Preloaded;elf;kernel;"kernel";at;0xf0340000.
Preloaded;userconfig_script;"/boot/kernel.conf";at;0xf034009c.
Probing;for;devices;on;the;ISA;bus:
sc0;on;isa
sc0:;VGA;color;<16;virtual;consoles,;flags="0x0">
ed0;at;0x300-0x31f;irq;5;on;isa
ed0:;address;00:80:29:b1:f2:61,;type;NE2000;(16;bit)
atkbdc0;at;0x60-0x6f;on;motherboard
atkbd0;irq;1;on;isa
psm0;not;found
sio0;at;0x3f8-0x3ff;irq;4;flags;0x10;on;isa
sio0:;type;16550A
sio1:;configured;irq;3;not;in;bitmap;of;probed;irqs;0
sio1;not;found;at;0x2f8
fdc0;at;0x3f0-0x3f7;irq;6;drq;2;on;isa
fd0:;1.44MB;3.5in
wdc0;at;0x1f0-0x1f7;irq;14;on;isa
wdc0:;unit;0;(wd0):
wd0:;407MB;(833664;sectors),;1002;cyls,;16;heads,;52;S/T,;512;B/S
ppc0;at;0x3bc;irq;7;on;isa
ppc0:;Generic;chipset;(NIBBLE-only);in;COMPATIBLE;mode
nlpt0:;on;ppbus;0
nlpt0:;Interrupt-driven;port
ppi0:;on;ppbus;0
plip0:;on;ppbus;0
vga0;at;0x3b0-0x3df;maddr;0xa0000;msize;131072;on;isa
npx0;on;motherboard
npx0:;INT;16;interface
changing;root;device;to;wd0s1a;

    推薦閱讀