陷入Busybox v1.18.4(ubuntu 1:1.18.4-2ubuntu2)内置shell(ash)输入命令列表的帮助

我安装了win 7和ubuntu 11.04。 我试图将我的机器升级到11.10。

一切都很好,它安装了所有升级并要求我重新启动。

重新启动后,我只登录了一次登录屏幕。 之后只有一个空白的屏幕。 所以我手动重新启动它。

现在每当我试图重新启动时,我都会得到

Busybox v1.18.4 (Ubuntu 1:1.18.4-2ubuntu2) built-in shell(ash) Enter help for a list of built-in commands. (initramfs) 

这是我启动时发生的事情:

  • Bios加载
  • Grub显示加载选项:

     ubuntu with Linux 3.0.0-19-generic ubuntu with Linux 3.0.0-19-generic (recovery mode) Previous versions Linux memtest another memtest option win7 (loader) (on /dev/sda2) 

我可以登录到Windows 7。

如果我登录到以前的Linux版本,我也会遇到同样的错误。

我尝试过的事情:

  1. 当我键入exec startx它会给出以下错误:

     /bin/sh : exec: line 0: startx: not found [ 123.764413] kernel panic - not syncing : Attempted to kill init! [ 123.764441] Pid : 1, comm : init not tainted 3.0.0-19 generic #33-Ubuntu [ 123.764466] call Trace : 

    和一堆命令

    大写锁定但现在正在这个阶段闪烁。 我需要手动关闭它。

  2. 试图登录恢复模式

    它给出了错误:一堆错误(如果我需要列出它们,请告诉我。)然后最后一个错误是No init found。 尝试传递init = bootarg。

然后我陷入busybox错误和busybox initramfs提示。

  1. 试图登录到以前的Linux版本,但获得相同的busybox initramfs提示。

 sudo fdisk -l Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xf5cd5cce Device Boot Start End Blocks Id System /dev/sda1 2048 206847 102400 de Dell Utility /dev/sda2 * 206848 30926847 15360000 7 HPFS/NTFS/exFAT /dev/sda3 30926848 953147119 461110136 7 HPFS/NTFS/exFAT /dev/sda4 953149438 1465145343 255997953 f W95 Ext'd (LBA) Partition 4 does not start on physical sector boundary. /dev/sda5 953149440 1239869439 143360000 7 HPFS/NTFS/exFAT /dev/sda6 1362751488 1465145343 51196928 7 HPFS/NTFS/exFAT /dev/sda7 1239871488 1346158591 53143552 83 Linux /dev/sda8 1346160640 1362745343 8292352 82 Linux swap / Solaris Partition table entries are not in disk order sudo sfdisk -uS -l /dev/sda Disk /dev/sda: 91201 cylinders, 255 heads, 63 sectors/track Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. Units = sectors of 512 bytes, counting from 0 Device Boot Start End #sectors Id System /dev/sda1 2048 206847 204800 de Dell Utility /dev/sda2 * 206848 30926847 30720000 7 HPFS/NTFS/exFAT /dev/sda3 30926848 953147119 922220272 7 HPFS/NTFS/exFAT /dev/sda4 953149438 1465145343 511995906 f W95 Ext'd (LBA) /dev/sda5 953149440 1239869439 286720000 7 HPFS/NTFS/exFAT /dev/sda6 1362751488 1465145343 102393856 7 HPFS/NTFS/exFAT /dev/sda7 1239871488 1346158591 106287104 83 Linux /dev/sda8 1346160640 1362745343 16584704 82 Linux swap / Solaris 

对我来说,每次启动都会发生这种情况,因为我的RAID系统出现故障。

如果按Ctrl-D,则启动继续。

如果您成功启动了系统,请尝试检查raid状态(mdadm –misc –detail – / dev / mdXXX)和文件系统一致性(例如fsck / dev / mdX和fsck / dev / mdY)

感谢Wyatt Smith和David S.,我在这个网站上找到了答案。

https://answers.launchpad.net/ubuntu/+source/linux/+question/195941

基本上,所以创建一个liveUSB,使用它启动。 有关如何在官方Ubuntu文档中执行此操作的大量信息。

在插入USB的情况下启动。在Bios屏幕中选择启动选项(或其他选项,不太记得)选择USB选择尝试ubuntu等待运行“gparted”(这用于调整和修复分区的任何问题) )逐个选择每个分区,右键单击,选择“检查”然后单击绿色勾选执行操作,这将检查并修复您的分区。 您的硬盘驱动器不太可能损坏,可能是您没有正确关闭而且有些东西搞砸了。 当你完成每个分区(有些是不可能的)然后正常重启并选择正常的ubuntu。

这应该修复你的东西。

这不是我的修复,但我发现它对我有用,祝你好运。 我在几个网站上看到过这个问题,所以我正在重复这个post。

亚历克斯