Ubuntu 无法启动,而是进入 initramfs。我正在从现场 CD 试用会议中写作。我该怎么办?
我知道启动流程被破坏了,当来自 root 的文件将被加载到 ram 时,它在根目录中找不到文件。如果我错了,请纠正我。
以下是我输入“ exit”命令时ashell 的输出:
(initramfs) exit
/dev/mapper/ubuntu--vg-root contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/ubuntu-vg-root: UNEXPECTED INCONSISTENCY; Run fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4.
The root file system on /dev/mapper/ubuntu--vg-root requires manual fsck
Run Code Online (Sandbox Code Playgroud) 昨晚我尝试格式化我的 16GB 闪存驱动器,它没有显示任何格式化进度的窗口,我决定拔掉它。USB 驱动器显示在磁盘实用程序中,我对其进行了格式化,它还针对数据读取和写入速度进行了基准测试。在终端中执行了以下命令,但在磁盘实用程序之外无法识别:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1997996 0 1997996 0% /dev
tmpfs 403696 6556 397140 2% /run
/dev/mapper/ubuntu--vg-root 110615368 39259832 65713504 38% /
tmpfs 2018460 29420 1989040 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2018460 0 2018460 0% /sys/fs/cgroup
/dev/sda1 482922 158829 299159 35% /boot
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 403696 72 403624 1% /run/user/1000
/home/julio/.Private 110615368 39259832 65713504 38% /home/julio
Run Code Online (Sandbox Code Playgroud)
还使用了命令
$ lsdb
NAME MAJ:MIN RM SIZE …Run Code Online (Sandbox Code Playgroud)