[FZH] mkinitrd 失败

Sun, Yi yi.sun at intel.com
Mon Jun 11 07:04:03 UTC 2012


> -----Original Message-----
> From: chinese-bounces at lists.fedoraproject.org
> [mailto:chinese-bounces at lists.fedoraproject.org] On Behalf Of Tommy He
> Sent: Monday, June 11, 2012 2:57 PM
> To: Fedora Chinese
> Subject: Re: [FZH] mkinitrd 失败
> 
> 这个 Wiki 页面里面详细介绍了在 Fedora 打包自定义内核的过程:
> 
> https://fedoraproject.org/wiki/Building_a_custom_kernel
> 
> 希望对你有所帮助
> 
> 是在 Kernel RPM 打包过程中出现问题?还是在安装制作好的 RPM 才出
> 现的问题呢?
> 

打包没有问题,我们之前就是在一台Fedora的机器上生成一个RPM然后就可以在其他Fedora上直接安装。
直到Fedora17,这个方法行不通了。同样一个RPM,在其他版本的Fedora是可以成功安装的,在Fedora17上安装失败。

Thanks
	--Sun, Yi

> 2012/6/7 Sun, Yi <yi.sun at intel.com>:
> >> -----Original Message-----
> >> From: chinese-bounces at lists.fedoraproject.org
> >> [mailto:chinese-bounces at lists.fedoraproject.org] On Behalf Of Tommy He
> >> Sent: Thursday, June 07, 2012 10:25 AM
> >> To: Fedora Chinese
> >> Subject: Re: [FZH] mkinitrd 失败
> >>
> >> Fedora 在之前已经切换至基于 udev 的 dracut 生成 initrd 了,可能在
> >> Fedora 17 中移除了 mkinitrd 这个符号链接了。
> >>
> >> 用 dracut 试试?
> >>
> >
> > Tommy:
> > 非常感谢您的回复。
> >
> > 我运行#dracut kernel_version
> > 生成了一个文件与kernel version同名的文件,我把它看作是initrd添加
> 到grub中,系统还是起不来。
> >
> > Thanks
> >        --Sun, Yi <yi.sun at intel.com>
> >
> >> 2012/6/6 Sun, Yi <yi.sun at intel.com>:
> >> > 刚升级到Fedora17, 更新Kernel的时候遇到问题。请教大家。
> >> >
> >> > 以前的版本中,我们经常把Kernel编译成一个RPM包,这样可以方便
>> >> 他机器安装。但是Fedora17中,这样做不行了。
> >> >
> >> > 当安装Kernel RPM包执行到这句话
> >> > /sbin/new-kernel-pkg --mkinitrd --make-default --depmod --install 3.4.0
> >> _20120605+
> >> >
> >> > 报错:egmentation fault (core dumped)
> >> >
> >> > 然后试图使用mkinitrd生成initramfs时,依然出错。
> >> >
> >> >
> >> > 我是在F16或者F15上编译的kernel,之前的版本都没有错误的。
> >> >
> >> > 有什么解决办法吗??
> >> >
> >> >
> >> > Thanks
> >> >   --Yi Sun
> >> >
> >> > --
> >> > Fedora中文郵件列表:
> >> https://admin.fedoraproject.org/mailman/listinfo/chinese
> >>
> >>
> >>
> >> --
> >> Take a Deep Breath out of Windows
> >>
> >> https://fedoraproject.org/wiki/User:Lovenemesis
> >> --
> >> Fedora中文郵件列表:
> >> https://admin.fedoraproject.org/mailman/listinfo/chinese
> > --
> > Fedora中文郵件列表:
> https://admin.fedoraproject.org/mailman/listinfo/chinese
> 
> 
> 
> --
> Take a Deep Breath out of Windows
> 
> https://fedoraproject.org/wiki/User:Lovenemesis
> --
> Fedora中文郵件列表:
> https://admin.fedoraproject.org/mailman/listinfo/chinese


More information about the Chinese mailing list