我的设置:
- 我的操作系统是 Ubuntu 18.04
- Vagrant 2.0.0
- VirtualBox 5.2.18 r124319
- Ubuntu 安装到 vagrant/virtualbox(版本未知)
sudo vagrant up
一直在工作,突然停止工作了...它卡住了SSH auth method: private key
直到超时。
因此我sudo vagrant up
启用 GUI 来运行以检查错误,我发现:
Scanning for Btrfs filesystems
/dev/mapper/vagrant--vg-root: contains a file system with errors, check forced.
/dev/mapper/vagrant--vg-root: Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/vagrant--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/mapper/vagrant--vg-root requires manual fsck
如何进行?
答案1
我已经解决了这个问题。方法如下:
vagrant up
启用 GUI- 一旦 GUI 打开,继续按住右 Shift,选择“Ubuntu 高级选项”,然后选择“Ubuntu 恢复模式”
- 出现“/dev/mapper/vagrant--vg-root: UNEXPECTED INCONSISTENCY”后,
fsck /dev/mapper/vagrant--vg-root
每次进程要求修复问题时按 Enter运行 vagrant up
再次禁用GUI,问题解决