QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 718|回复: 2

编译2.6后进linux出错如下:

[复制链接]
发表于 2003-12-25 10:25:10 | 显示全部楼层 |阅读模式
mount:error 19 mounting ext3
pivotroot:pivot_root(/sys root,/sysroot/initrd) failed:2
freeing unused kernel memory:384k freed
kernel panic:No init found.Try passing init=option to kernel

有高手可以为我解释一下发生了什么事?该怎么做?
发表于 2003-12-26 12:49:45 | 显示全部楼层

Re: 编译2.6后进linux出错如下:

[quote:b2cc89d319="j.k.d"]mount:error 19 mounting ext3
pivotroot:pivot_root(/sys root,/sysroot/initrd) failed:2
freeing unused kernel memory:384k freed
kernel panic:No init found.Try passing init=option to kernel

有高手可以为我解释一下发生了什么事?该怎么做?[/quote]

Rerun make xconfig(or any choice you like), check on the ext3 built-in support(that means not as a module), rebuild the kernel. Replace root=LABEL=/ with root=/dev/hda1(or what ever your root filesystem reside in) and comment the line initrd=***.img out in 2.6.0 section in your /etc/grub.conf(or lilo.conf).

Reboot. Good luck! If secceed, recover the line initrd=***.img
回复

使用道具 举报

 楼主| 发表于 2003-12-28 15:20:46 | 显示全部楼层
thank you,i have aleady done it!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 14:31 , Processed in 0.058360 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表