我需要 fsck 我的驱动器,它启动时说我需要在 ubuntu-studio-vg-root 上手动运行 fsck,fsck 以状态代码 4 退出,所以我从 livecd 启动并运行它,我有 ubuntu studio 18.4,这就是我得到的
~ubuntu-studio@ubuntu-studio:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
ubuntu-studio@ubuntu-studio:~$ sudo fsck -f /dev/sda1
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 308/124928 files (17.2% non-contiguous), 134315/498688 blocks
ubuntu-studio@ubuntu-studio:~$ sudo fsck /dev/sda1
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda1: clean, 308/124928 files, 134315/498688 blocks
ubuntu-studio@ubuntu-studio:~$ unmount /dev/sda5
Command 'unmount' not found, did you mean:
command 'umount' from deb mount
Try: sudo apt install <deb name>
ubuntu-studio@ubuntu-studio:~$ sudo umount /dev/sda5
umount: /dev/sda5: not mounted.
ubuntu-studio@ubuntu-studio:~$ sudo umount /dev/sda1
umount: /dev/sda1: not mounted.
ubuntu-studio@ubuntu-studio:~$ sudo fsck -f /dev/sda1
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 308/124928 files (17.2% non-contiguous), 134315/498688 blocks
~ubuntu-studio@ubuntu-studio:~$ sudo fsck -f /dev/sda5
fsck from util-linux 2.31.1
ubuntu-studio@ubuntu-studio:~$ sudo e2fsck /dev/sda1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda1: clean, 308/124928 files, 134315/498688 blocks
ubuntu-studio@ubuntu-studio:~$ sudo e2fsck /dev/sda5
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda5 is in use.
e2fsck: Cannot continue, aborting.
ubuntu-studio@ubuntu-studio:~$ umount /dev/sda5
umount: /dev/sda5: not mounted.
ubuntu-studio@ubuntu-studio:~$ umount /dev/sda2
umount: /dev/sda2: not mounted.
-
----------
ubuntu-studio@ubuntu-studio:~$ sudo swapoff
swapoff: bad usage
Try 'swapoff --help' for more information.
ubuntu-studio@ubuntu-studio:~$ swapoff --help
Usage:
swapoff [options] [<spec>]
Disable devices and files for paging and swapping.
Options:
-a, --all disable all swaps from /proc/swaps
-v, --verbose verbose mode
-h, --help display this help
-V, --version display version
The <spec> parameter:
-L <label> LABEL of device to be used
-U <uuid> UUID of device to be used
LABEL=<label> LABEL of device to be used
UUID=<uuid> UUID of device to be used
<device> name of device to be used
<file> name of file to be used
For more details see swapoff(8).
ubuntu-studio@ubuntu-studio:~$
我使用过 gparted,但无法发布截图,因为这个网站很笨,但是 /dev/sda2 旁边有一个灰色的向下箭头,但我没有说它已安装,它说 dev/sda5 正在使用中,即使它已卸载,有人能帮我解决这个问题吗?我是菜鸟,真的需要从这个驱动器保存我的文件