- 论坛徽章:
- 1
|
编译内核相关问题....
1) system.map 不用 copy ,它會自動更新。
2) Makefile 決定用甚麼版本。
3) 用 make install 或 make bzlilo 這類 target ,最好能了解它們底下做了些啥。
4) grub 只需改 menu.lst ,不需重灌 grub 。LILO 則不然。
5) menu.list 中的 root=(hdx,x) 的 root 是指 /boot partition
但 kernel 那行的 root=/dev/hdxx 則是指 / partition 。這點請留意。
6) 若 /boot 是獨立的 partition ,那 kernel 那行的 kernel image path 是從 / 下找(/boot partition),
要是 /boot 沒有切出來,那就要到 /boot/ 下找(/ paritition)
7) 要是用 SCSI 應碟,需要制作 initrd ,這除了要求在 kernel 中將 inittrd 編進 boot up 之外,還要產生正確的 module 才能 make initrd。
對開機流程了解一下,對 troubleshooting 很有幫助。
9) 任何時侯都建議 backup 及準備好 boot disk 。
10) 最後,多燒香拜佛、求神保祐... |
|