卡在 Busybox v1.18.4 (ubuntu 1:1.18.4-2ubuntu2) 内置 shell (ash) 输入帮助以获取命令列表

use*_*649 5 kernel 11.10 11.04 initramfs busybox

我已经安装了 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)
Run Code Online (Sandbox Code Playgroud)

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

  • 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)
    
    Run Code Online (Sandbox Code Playgroud)

不过,我可以登录到 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 :
    
    Run Code Online (Sandbox Code Playgroud)

    和一堆命令

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

  2. 尝试登录恢复模式

    它给出了错误:一堆错误(如果我需要列出它们,请告诉我。)然后最后一个错误是未找到初始化。尝试传递 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
Run Code Online (Sandbox Code Playgroud)

use*_*664 1

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

如果按Ctrl-D则引导将继续。

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