Ubuntu 18.04 启动画面在双启动机器上关闭时挂起

Ubuntu 18.04 启动画面在双启动机器上关闭时挂起

我在 Dell inspiron-3542 机器上安装了 Ubuntu 18.04,同时安装了 Windows 10,安装似乎没问题,但每当我在 Ubuntu 中关闭时,启动画面都会挂起。我总是不得不使用电源按钮强制关机。我试过了,但GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"无济于事GRUB_CMDLINE_LINUX_DEFAULT=""。我现在收到一条消息,说根目录已满。当我使用df它时,显示以下内容:

Filesystem     1K-blocks    Used Available Use% Mounted on
udev             4004600       0   4004600   0% /dev
tmpfs             805492    1952    803540   1% /run
/dev/sda8       19154168 7828000  10330124  44% /
tmpfs            4027440   53032   3974408   2% /dev/shm
tmpfs               5120       4      5116   1% /run/lock
tmpfs            4027440       0   4027440   0% /sys/fs/cgroup
/dev/loop1        189312  189312         0 100% /snap/eclipse/40
/dev/loop0        137472  137472         0 100% /snap/code/25
/dev/loop2        136704  136704         0 100% /snap/projectlibre/3
/dev/loop3         93568   93568         0 100% /snap/core/8689
/dev/loop4          4352    4352         0 100% /snap/tree/18
/dev/loop5          3840    3840         0 100% /snap/gnome-system-monitor/127
/dev/loop6         75904   75904         0 100% /snap/breaktimer/19
/dev/loop7         93568   93568         0 100% /snap/core/8592
/dev/loop8        164096  164096         0 100% /snap/gnome-3-28-1804/116
/dev/loop9          4352    4352         0 100% /snap/gnome-calculator/544
/dev/loop10         1024    1024         0 100% /snap/gnome-logs/81
/dev/loop11        46080   46080         0 100% /snap/gtk-common-themes/1440
/dev/loop12        15104   15104         0 100% /snap/gnome-characters/399
/dev/loop13        56064   56064         0 100% /snap/core18/1668
/dev/sda10      70607032 5089168  61888144   8% /home
/dev/sda1         507904   32548    475356   7% /boot/efi
tmpfs             805488      16    805472   1% /run/user/121
tmpfs             805488      40    805448   1% /run/user/1000

当我运行时sudo du -sh /* | sort -rh,输出是:

du: cannot access '/proc/3142/task/3142/fd/4': No such file or directory
du: cannot access '/proc/3142/task/3142/fdinfo/4': No such file or directory
du: cannot access '/proc/3142/fd/3': No such file or directory
du: cannot access '/proc/3142/fdinfo/3': No such file or directory
du: cannot access '/run/user/1000/doc': Permission denied
du: cannot access '/run/user/1000/gvfs': Permission denied
4.9G    /home
4.2G    /usr
3.2G    /snap
2.6G    /var
622M    /lib
91M /boot
14M /etc
13M /bin
12M /sbin
2.0M    /run
124K    /tmp
88K /root
16K /lost+found
8.0K    /media
4.0K    /srv
4.0K    /opt
4.0K    /mnt
4.0K    /lib64
4.0K    /cdrom
0   /vmlinuz.old
0   /vmlinuz
0   /sys
0   /proc
0   /initrd.img.old
0   /initrd.img
0   /dev

我也尝试过在恢复模式下运行 Ubuntu,并尝试执行,fsck但它说/dev/sda8已安装。我试过了,umount /dev/sda8但它说它仍然处于活动状态。我可以卸载 /dev/sda8,但我是 Linux 新手,不想弄坏我的笔记本电脑。请你告诉我该怎么做。

更新 - 显示英特尔 GPU 的使用信息

(intel_gpu_top:5781) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
(intel_gpu_top:5781) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
(intel_gpu_top:5781) intel-mmio-CRITICAL: Last errno: 1, Operation not permitted
(intel_gpu_top:5781) intel-mmio-CRITICAL: Couldn't map MMIO region
Stack trace:
  #0 [_init+0x7b87]
  #1 [_init+0x5420]
  #2 [_init+0xe85]
  #3 [__libc_start_main+0xe7]
  #4 [_init+0x1c92]
Test (null) failed.
**** DEBUG ****
(intel_gpu_top:5781) intel-chipset-DEBUG: Test requirement passed: pci_dev
(intel_gpu_top:5781) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
(intel_gpu_top:5781) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
(intel_gpu_top:5781) intel-mmio-CRITICAL: Last errno: 1, Operation not permitted
(intel_gpu_top:5781) intel-mmio-CRITICAL: Couldn't map MMIO region
(intel_gpu_top:5781) igt-core-INFO: Stack trace:
(intel_gpu_top:5781) igt-core-INFO:   #0 [_init+0x7b87]
(intel_gpu_top:5781) igt-core-INFO:   #1 [_init+0x5420]
(intel_gpu_top:5781) igt-core-INFO:   #2 [_init+0xe85]
(intel_gpu_top:5781) igt-core-INFO:   #3 [__libc_start_main+0xe7]
(intel_gpu_top:5781) igt-core-INFO:   #4 [_init+0x1c92]
****  END  ****
FAIL (-1.000s)

它失败了什么?我该如何解决这个问题?

答案1

我更新了 BIOS,似乎解决了启动画面挂起问题。但是,我的磁盘使用情况分析器仍报告根目录已满,并显示红色条,并且根目录中的某些文件夹无法扫描。我知道我的分区还远未饱和,因为我扩展了卷,df显示使用量约为 1%。

相关内容