目标:启动至 GUI 登录。
有磁盘即将满的警告。删除了一些 conda venvs 和 docker 镜像。执行 docker 镜像运行后立即崩溃。
启动时出错:
[ 0.453097] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.MHBR],
AE_NOT_FOUND (20220331/psargs-330)
[ 0.453140] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PTID.PBAR],
AE_NOT_FOUND (20220331/dsfield-500)
[. 1.037563] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling inst
ead
/dev/nvme0n1p2: recovering journal
/dev/nvme0n1p2: clean, 8607152/61022208 files, 236685514/244059136 blocks
[ 0.453097] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_N
OT_FOUND (20220331/psargs-330)
[ 4.070446] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error
(AE_NOT_FOUND) (20220331/psparse-529)
[ 4.772818] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
在那之前,我会看到前 4 行,并且机器仍然会启动到 GUI 登录。
值得庆幸的是,我可以通过以下方式登录 bash。TTY 使用CTRL
+ ALT
+ F2
,并在那里查看我的所有文件。
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 2.3M 3.2G 1% /run
/dev/nvme0n1p2 916G 887G 0 100% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/nvme0n1p1 511M 6.1M 505M 2% /boot/efi
temps 3.2G 88K 3.2G 1% /run/user/1000
sudo apt update
运行成功
sudo apt upgrade
:E: You don't have enough free space in /var/cache/apt/archives/
之后错误仍然存在:
sudo apt clean
sudo apt autoremove
sudo rm -rf /var/cache/apt/archives/*
sudo rm -rf /var/tmp/*
删除某些文件夹后,我不会错过任何危险,我现在可以sudo apt upgrade
现在卡在了Failed to start Record successful boot for GRUB