Ubuntu 开机进入 BusyBox, initramfs

559 views
Skip to first unread message

Z Sir

unread,
Oct 2, 2011, 12:17:09 PM10/2/11
to hz...@googlegroups.com
双系统:Ubuntu 10.10 & Windows XP
由于有几次在启动 Ubuntu 的时侯,都按电源键强制关机了,现在一启动 Ubuntu 就直接进入了 BusyBox,还有
initramfs 这个 shell。XP 正常。
Google 了不少,尝试了一些方法,问题依旧。
肿么办……

夏凯

unread,
Oct 2, 2011, 7:45:42 PM10/2/11
to hz...@googlegroups.com
重点是提示是什么。

> --
> 欢迎来到杭州Linux用户组邮件列表
> 要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
> 如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com
> 详情请看: http://groups.google.com/group/hzlug?hl=zh-CN
>

--
从我的移动设备发送

contact me:
MSN: walk...@gmail.com
GTALK: walk...@gmail.com

Z Sir

unread,
Oct 2, 2011, 11:42:29 PM10/2/11
to hz...@googlegroups.com
提示信息很多,上面的看不到,下面的主要提示如下:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.


2011/10/3 夏凯 <walk...@gmail.com>:

葛豪武

unread,
Oct 3, 2011, 12:20:09 AM10/3/11
to hz...@googlegroups.com
文件系统挂了呗

--
http://weblog.7axu.com/

HiJO_o

unread,
Oct 3, 2011, 11:18:20 AM10/3/11
to Hangzhou (杭州) Linux User Group
最终解决方案就是重装电脑

Z Sir

unread,
Oct 3, 2011, 2:17:47 PM10/3/11
to hz...@googlegroups.com
咱好歹也是用 Linux 的人,动不动就重装系统,太那个了吧……
确认是文件系统挂了么,也有听说 ext4 容易出这种问题,不过不确定

2011/10/3 HiJO_o <zhengh...@gmail.com>:

夏凯

unread,
Oct 4, 2011, 12:07:09 PM10/4/11
to hz...@googlegroups.com
换个内核试试,还有你的磁盘mount下看看,能看到里面的文件么?

2011/10/3 Z Sir <wzmi...@gmail.com>:

Z Sir

unread,
Oct 6, 2011, 10:33:23 AM10/6/11
to hz...@googlegroups.com
三种内核及它们的 recovery mode 都试过了,不行……
initramfs 是个临时的、类似于 bash 的 shell,很多命令不支持(例如 fsck)。
一执行 mount 命令,就停在那儿不动了,按各种键都没反应,最后还是按电源键关掉的

2011/10/5 夏凯 <walk...@gmail.com>:

Cheng Renquan

unread,
Oct 6, 2011, 11:58:05 AM10/6/11
to hz...@googlegroups.com, Z Sir
2011/10/6 Z Sir <wzmi...@gmail.com>:

> 三种内核及它们的 recovery mode 都试过了,不行……
> initramfs 是个临时的、类似于 bash 的 shell,很多命令不支持(例如 fsck)。
> 一执行 mount 命令,就停在那儿不动了,按各种键都没反应,最后还是按电源键关掉的

那个busybox的mount是很有限;你可以另找个LiveUSB或LiveCD启动试试fsck修复,

通常我的机器都安装不止双系统,而是至少双Linux系统(Ubuntu/Fedora/Gentoo);每个Linux使用单独的根分区,另外共享一个swap分区和/home分区
这样万一一个Linux玩坏了,可以从另一个Linux进去把它修好

Liang Guo

unread,
Oct 6, 2011, 4:47:11 PM10/6/11
to hz...@googlegroups.com
2011/10/6 Cheng Renquan <crq...@gmail.com>:

> 2011/10/6 Z Sir <wzmi...@gmail.com>:
>> 三种内核及它们的 recovery mode 都试过了,不行……
>> initramfs 是个临时的、类似于 bash 的 shell,很多命令不支持(例如 fsck)。
>> 一执行 mount 命令,就停在那儿不动了,按各种键都没反应,最后还是按电源键关掉的
>
> 那个busybox的mount是很有限;你可以另找个LiveUSB或LiveCD启动试试fsck修复,
>
> 通常我的机器都安装不止双系统,而是至少双Linux系统(Ubuntu/Fedora/Gentoo);每个Linux使用单独的根分区,另外共享一个swap分区和/home分区
> 这样万一一个Linux玩坏了,可以从另一个Linux进去把它修好
我以前也上装2个Linux,一个Debian,用作日常工作,另外一个测试的系统,比如Ubuntu,或者RHEL什么的用来尝鲜。
通常只有grub或者其他boot loader失败才会导致系统无法引导。
--
Liang Guo
http://bluestone.cublog.cn

Liang Guo

unread,
Oct 6, 2011, 4:50:56 PM10/6/11
to hz...@googlegroups.com
感觉像是文件系统损坏,或者initrd文件中不包含硬盘的模块,你最近有升级内核或者更新initrd文件么?

2011/10/3 Z Sir <wzmi...@gmail.com>:

--
Liang Guo
http://bluestone.cublog.cn

Z Sir

unread,
Oct 6, 2011, 11:14:09 PM10/6/11
to hz...@googlegroups.com
没有

2011/10/7 Liang Guo <bluesto...@gmail.com>:

Z Sir

unread,
Oct 7, 2011, 12:45:01 AM10/7/11
to hz...@googlegroups.com
谢谢各位的热心回复,问题最终还是解决了。
用 U 盘做了个启动盘,然后 fsck 修复了下,开机就能正常进系统了。
fsck 修复的时侯,忘了 umount 那个分区,幸好没有出问题。
谢谢大家……

Liang Guo

unread,
Oct 7, 2011, 1:08:33 AM10/7/11
to hz...@googlegroups.com
最好不要在启动的时候强制关机,这样很容易导致文件系统出错。

BTW: 即使文件系统出错,也应该挂载成ro,让你修复系统啊,怎么
会提示无法挂载呢?


>
> --
> 欢迎来到杭州Linux用户组邮件列表
> 要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
> 如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com
> 详情请看: http://groups.google.com/group/hzlug?hl=zh-CN

--
Thanks and Regards,

signature.asc

Z Sir

unread,
Oct 7, 2011, 11:54:05 PM10/7/11
to hz...@googlegroups.com
>
> BTW: 即使文件系统出错,也应该挂载成ro,让你修复系统啊,怎么
> 会提示无法挂载呢?
>>
这个我也不知道啊……
是不是文件系统损坏,导致 ro 模式也无法挂载呢

源泉星火(张明源)

unread,
Oct 8, 2011, 2:26:43 AM10/8/11
to hz...@googlegroups.com
慎用ext4。

--
欢迎来到杭州Linux用户组邮件列表
要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com
详情请看: http://groups.google.com/group/hzlug?hl=zh-CN



--
明源
http://www.Linuxzh.org
Twitter: @muxueqz

葛豪武

unread,
Oct 8, 2011, 8:49:48 AM10/8/11
to hz...@googlegroups.com
ZFS是伟大的,哈哈

--
https://weblog.7axu.com/

Cheng Renquan

unread,
Oct 8, 2011, 6:31:06 PM10/8/11
to hz...@googlegroups.com, 源泉星火(张明源), 葛豪武
在 2011年10月8日 下午2:26,源泉星火(张明源) <zhangmin...@gmail.com> 写道:
> 慎用ext4。

2011/10/8 葛豪武 <geh...@gmail.com>:
> ZFS是伟大的,哈哈
>

这样讨论下去容易走题了,又演变成 ZFS vs *** filesystem 的经典争论,我个人倒不认为ZFS有多大优势

如有对内核、Filesystem发烧的同学不妨下周末(10月16)现场参与中国Linux内核年会2011, 今年地点在南京大学, 有淘宝网的现场解说;
无论对于企业级的大规模部署或升级、还是个人桌面Linux这几年的发展, ext3 => ext4 都算是最为平滑或 painless 的了

http://www.aka-kernel.org/news/

技术主题

1 致开幕辞
[...]
7 大规模Ext4文件系统部署的收获和挑战 马涛——淘宝网技术专家

夏凯

unread,
Oct 8, 2011, 7:40:02 PM10/8/11
to hz...@googlegroups.com
是的,没有最好的文件系统,只有最适合的文件系统,任何文件系统都有缺点,而且ZFS不见得不会有这种问题。

> --
> 欢迎来到杭州Linux用户组邮件列表
> 要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
> 如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com
> 详情请看: http://groups.google.com/group/hzlug?hl=zh-CN
>

--

Ding Honghui

unread,
Oct 8, 2011, 10:49:36 PM10/8/11
to hz...@googlegroups.com
以我3年多zfs经验,9年多ext3经验,平心而论,zfs还是有其独到之处。各个文件系统应该相互竞争,互相借鉴,这样才会有大发展。
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

葛豪武

unread,
Oct 9, 2011, 4:07:18 AM10/9/11
to hz...@googlegroups.com
本来就没什么好争的,存在总有它合理的地方
zfs没fsck,这个原因 有段时间我vbox都是强制退出的,哇哈哈(省时间)

--
http://weblog.7axu.com/

Reply all
Reply to author
Forward
0 new messages