[FZH] mkinitrd 失败

Sun, Yi yi.sun at intel.com
Thu Jun 7 05:10:51 UTC 2012


> -----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


More information about the Chinese mailing list