make install出现下面的警告:
WARNING: No module ehci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module ohci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module uhci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module BusLogic found for kernel 2.6.26, continuing anyway
WARNING: No module libata found for kernel 2.6.26, continuing anyway
WARNING: No module ata_piix found for kernel 2.6.26, continuing anyway
启动:
/dev/VolGroup00/LogVol00 not found
修改.config
CONFIG_SCSI_BUSLOGIC=m
CONFIG_USB_HCD_UHCI=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_ATA_PIIX=m
CONFIG_BLK_DEV_DM=y #这个是lvm的驱动
下面这个也是设置ata_piix(2.6, 3.0不是这个位置)
Device Drivers --> SCSI device support --> SCSCI low-level
drivers --> [M] Serial ATA (SATA) support --> [M] Intel PIIX/ICH
SATA support
#解压initrd
mkdir /tmp/initrd
cd /tmp/initrd
gzip -cd /boot/initrd-xxxxxxxxx.img | cpio -imd --quiet
#重新打包
cd /tmp/initrd
find . | cpio -co | gzip -9 > /boot/initrd-xxxxxxxxx.img
#重新生成initrd (ram disk),这个在make install后执行
new-kernel-pkg --mkinitrd --update 3.0.0
阅读(978) | 评论(0) | 转发(0) |