lil33 发表于 2004-4-15 00:20:50

编译过程出错——mkinitrd的安装问题!大家来看看!!!

今天编译内核的时候出错,没有mkinitrd程序,想起来曾经看过一篇关于编译内核的帖子,里面提到要安装mkinitrd,所以心里还有些安慰。晚上上网的时候按着那篇帖子的说明:可以到站点http://people.redhat.com/arjanv/2.6/RPMS.kernel/去下载最新的mkinitrd-3.5.15.1-2.i386.rpm包. 由于mkinitrd程序包依赖于包, 而lvm2包又倚赖于device-mapper包, 因此还要同时下载device-mapper-1.00.07-1.i386.rpm包和lvm2-2.00.08-2.i386.rpm包.
下载完这三个文件之后,进行安装,在装lvm2-2.00.08-2.i386.rpm时,过程如下:
Preparing...###########################################
      file /usr/share/man/man8/lvchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvextend.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvm.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvmchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvmdiskscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvreduce.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvremove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvrename.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/lvscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/pvchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/pvcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/pvdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/pvmove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/pvscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgcfgbackup.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgcfgrestore.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgck.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgexport.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgextend.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgimport.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgmerge.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgmknodes.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgreduce.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgremove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgrename.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
      file /usr/share/man/man8/vgsplit.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12

然后安装mkinitrd-3.5.15.1-2.i386.rpm,结果又提示我lvm2为被安装!!
真的好郁闷啊,大家帮我看看是怎么回事,从上面的过程能不能知道lvm2是否被安装??我为编译内核准备了好几天,没想到竟然在这一步上停止不前,苦闷中。。。。。。

lil33 发表于 2004-4-15 00:22:18

我想知道怎样查看我的机子上是否安装了lvm2

ritou 发表于 2004-4-15 04:45:14

因为你的机子上已安装了lvm-1.0.3-12, 用rpm的升级明令失事,

rpm -Uvh lvm2.....rpm

查看是否有lvm包, 用
rpm -qa|grep lvm

lil33 发表于 2004-4-15 20:55:35

谢谢楼的兄弟,我去试试吧

lil33 发表于 2004-4-15 23:36:12

用-Uvh也是不行啊,我用rpm -qa|fgrep lvm找到了lvm-1.0.3-12

不明白为什么装不上lvm2哪,好郁闷啊!
页: [1]
查看完整版本: 编译过程出错——mkinitrd的安装问题!大家来看看!!!