- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Installmemo/Linux/Kernel へ行く。
- 1 (2009-05-17 (日) 16:30:08)
- 2 (2009-05-17 (日) 16:31:18)
- 3 (2010-05-22 (土) 10:47:51)
Kernel Download先 †
http://www.kernel.org/mirrors/countries/html/JP.html
CentOS5.3前提パッケージ †
# yum install kernel-devel gcc ncurses-devel # yum install patch make unzip zip bison flex gettext which
- Kernel compile
#make mrproper CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config
# cp old/.config
# make bzImage # make modules # make modules_install # cat arch/i386/boot/bzImage > /boot/vmlinuz-2.6.20.1 # cp System.map /boot/System.map-2.6.20.1 # cd /boot # mkinitrd initrd-2.6.20.1 2.6.20.1 # ls -la initrd-2.6.20.1 -rw-r--r-- 1 root root 115561 2月21日 02:20 initrd-2.6.20.1 # mv initrd-2.6.20.1 initrd-2.6.20.1.img # cd /etc # cp -ip lilo.conf lilo.conf.yyyymmddnn # vi lilo.conf # /sbin/lilo Warning: LINEAR is deprecated in favor of LBA32: LINEAR specifies 24-bit disk addresses below the 1024 cylinder limit; LBA32 specifies 32-bit disk addresses not subject to cylinder limits on systems with EDD bios extensions; use LINEAR only if you are aware of its limitations. Added linux Added linux2619 * Added linux2620 # rm System.map # ln -fs System.map-2.6.20.1 System.map
- Lilo
# cat lilo.conf prompt timeout=20 default=linux2619 boot=/dev/hda map=/boot/map install=/boot/boot.b linear image=/boot/vmlinuz-2.6.16-0vl60 label=linux initrd=/boot/initrd-2.6.16-0vl60.img read-only append="root=LABEL=/" image=/boot/vmlinuz-2.6.19.1 label=linux2619 initrd=/boot/initrd-2.6.19.1.img read-only append="root=LABEL=/" image=/boot/vmlinuz-2.6.20.1 label=linux2620 initrd=/boot/initrd-2.6.20.1.img read-only append="root=LABEL=/"