解决虚拟机开机黑屏piix4_smbus:host smbus controller not enable 与/dev/sda1:clean,***files,***blocks的问题

虚拟机被卡住,出现问题,但是Xshell可以正常连接。

开机出现:piix4_smbus:host smbus controller not enable 

sudo lsmod|grep i2c
sudo vi /etc/modprobe.d/blacklist.conf 

文件最后面添加 blacklist i2c_piix4 。

sudo update-initramfs -u -k all 
sudo reboot

开机卡在/dev/sda1:clean,***files,***blocks

用于查看已经挂载的硬盘使用情况

df -h

dev/sda1 是100%,显示是因为我之前就是根目录太满了,想扩容才导致错误出现。所以我尝试清除一些空间。

卸载所有自动安装且不再使用的软件包

sudo apt-get autoremove

重启 

reboot

还是不行的话,就使用下面的:

sudo apt autoremove --purge snapd

猜你喜欢

转载自blog.csdn.net/m0_62919535/article/details/134217808