![无法启动 Ubuntu 20.04 LTS,总是进入 busybox](https://linux22.com/image/1177900/%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%20Ubuntu%2020.04%20LTS%EF%BC%8C%E6%80%BB%E6%98%AF%E8%BF%9B%E5%85%A5%20busybox.png)
几天前安装了 ubuntu 20.04LTS。我无法启动,每次尝试时它都会将我送入 busybox 并出现 initramfs 错误。我在这个网站上搜索过解决方案,但没有找到。
我输入了 exit,但它什么也没显示。我以为它至少会显示一些错误。我使用实时 USB 访问 Gparted,但我没有看到我的硬盘。
我运行了 fdisk -l 和 df -h 命令并得到了以下输出:
Disk /dev/loop0: 1.98 GiB, 2103640064 bytes, 4108672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 29.9 MiB, 31334400 bytes, 61200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.98 MiB, 57626624 bytes, 112552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 255.58 MiB, 267980800 bytes, 523400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 62.9 MiB, 65105920 bytes, 127160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 49.8 MiB, 52203520 bytes, 101960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 14.54 GiB, 15597568000 bytes, 30464000 sectors
Disk model: Cruzer Blade
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x007e70e5
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 30463999 30461952 14.5G c W95 FAT32 (LBA)
root@ubuntu:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.8G 0 2.8G 0% /dev
tmpfs 583M 1.7M 581M 1% /run
/dev/sda1 15G 2.6G 12G 18% /cdrom
/dev/loop0 2.0G 2.0G 0 100% /rofs
/cow 2.9G 132M 2.8G 5% /
tmpfs 2.9G 50M 2.8G 2% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
tmpfs 2.9G 0 2.9G 0% /tmp
tmpfs 583M 72K 582M 1% /run/user/999
/dev/loop1 30M 30M 0 100% /snap/snapd/8542
/dev/loop2 55M 55M 0 100% /snap/core18/1880
/dev/loop3 256M 256M 0 100% /snap/gnome-3-34-1804/36
/dev/loop4 63M 63M 0 100% /snap/gtk-common-themes/1506
/dev/loop5 50M 50M 0 100% /snap/snap-store/467
我可以在 BIOS 中看到我的硬盘。但它没有显示在 Gparted 和磁盘实用程序中。
硬盘有问题吗?或者是软件相关的问题?
Comreset 错误 2 3 4 5
答案1
硬盘有坏扇区,如果有重要内容,请使用 ddrescue 从 livecd 备份,更换驱动器并重新安装。
答案2
我使用的是 Ubuntu 18.04,有时它也会让我进入 busybox,通常是在长时间挂起模式之后。原因可能是硬盘中的坏扇区。我看到您的分区是 sda1,您可以尝试以下操作:
fsck /dev/sda1 -y
“-y” 表示对提示中的“是或否”问题自动回答“是”。
此后你必须重新启动计算机:
重启