使用 mkinitrd 產生 img 開機檔。
#rpm -ivh kernel-2.6.32.14-flyfox-Bridgemode-testing.i386.rpm
#yum install mkinitrd
#mkinitrd initrd-2.6.32.14-flyfox_Bridgemode.img 2.6.32.14-flyfox_Bridgemode

/boot/grub/grub.conf
title Fedora (2.6.31.5-127.fc12.i686.PAE)
        root (hd0,0)
        kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_netbridge-lv_root 
LANG=zh_TW.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
        initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Fedora (2.6.32.14-flyfox_Bridgemode)
        root (hd0,0)
        kernel /vmlinuz-2.6.32.14-flyfox_Bridgemode ro root=/dev/mapper/vg_netbridge-lv_root 
LANG=zh_TW.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
        initrd /initrd-2.6.32.14-flyfox_Bridgemode.img

initrd
只單獨建立 initrd.img
mkinitrd -v initrd-2.6.32.14-flyfox_Bridgemode.img 2.6.32.14-flyfox_Bridgemode

flyfox 發表在 痞客邦 PIXNET 留言(0) 人氣()