不小心删除了我的 /etc/default 文件夹

Bre*_*lho 9 filesystem boot

我不小心删除了我的/etc/default文件夹。现在我的电脑无法启动。它运行的是 Ubuntu 14.04 LTS。启动时它说,

Filesystem check or mount failed. 
A maintenance shell will now be started.CONTROL-D will terminate this shell and continue booting after re-trying filesystems. Any further errors will be ignored.
Run Code Online (Sandbox Code Playgroud)

请帮忙,这是一台非常重要的计算机,不会有任何停机时间。

Avi*_*Raj 14

只需从Ubuntu live disk启动并将/etc/default目录(live disk)复制到/etc目录(驻留在实际安装Ubuntu的分区中

sudo mkdir /media/os
sudo mount /dev/sdaX /media/os   # Mounting the root partition on /media/os directory.
sudo cp -Ri /etc/default /media/os/etc
sudo umount /dev/sdaX
Run Code Online (Sandbox Code Playgroud)

关闭并从硬盘启动。希望它会起作用。