这个问题已经被问过很多次了,但我不明白讨论的内容。我需要一步一步的指南来解决这个问题。
我有一个内置安装的 SSD。其格式为 ext4。我已修改磁盘上的权限,以启用 SUDO 的读/写功能。
我的 /etc/fstab 文件的内容如下:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=15ff6a59-4964-43fb-8f6f-35106232108a / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=4C99-DC9A /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
lsblk 的内容
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 246.5M 1 loop /snap/brave/130
loop1 7:1 0 246.5M 1 loop /snap/brave/129
loop2 7:2 0 323.5M 1 loop /snap/kde-frameworks-5-qt-5-15-core20/14
loop3 7:3 0 61.7M 1 loop /snap/core20/1026
loop4 7:4 0 45.2M 1 loop /snap/dotnet-runtime-50/16
loop5 7:5 0 295.7M 1 loop /snap/vlc/2344
loop6 7:6 0 45.2M 1 loop /snap/dotnet-runtime-50/17
loop7 7:7 0 55.4M 1 loop /snap/core18/2128
loop8 7:8 0 61.8M 1 loop /snap/core20/1081
loop9 7:9 0 65.4M 1 loop /snap/geforcenow/8
loop10 7:10 0 51M 1 loop /snap/snap-store/518
loop11 7:11 0 82.6M 1 loop /snap/zotero-snap/26
loop12 7:12 0 162.9M 1 loop /snap/gnome-3-28-1804/145
loop13 7:13 0 32.3M 1 loop /snap/snapd/12883
loop14 7:14 0 51M 1 loop /snap/snap-store/547
loop15 7:15 0 241.4M 1 loop /snap/gnome-3-38-2004/70
loop16 7:16 0 55.5M 1 loop /snap/core18/2074
loop17 7:17 0 32.3M 1 loop /snap/snapd/12704
loop18 7:18 0 219M 1 loop /snap/gnome-3-34-1804/72
loop19 7:19 0 68.4M 1 loop /snap/zotero-snap/34
loop20 7:20 0 295.6M 1 loop /snap/vlc/2288
loop21 7:21 0 65.1M 1 loop /snap/gtk-common-themes/1515
loop22 7:22 0 64.8M 1 loop /snap/gtk-common-themes/1514
loop23 7:23 0 219M 1 loop /snap/gnome-3-34-1804/66
loop24 7:24 0 164.8M 1 loop /snap/gnome-3-28-1804/161
loop25 7:25 0 65.4M 1 loop /snap/geforcenow/9
loop26 7:26 0 242.4M 1 loop /snap/gnome-3-38-2004/76
loop27 7:27 0 75.8M 1 loop /snap/obsidian/x1
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 118.8G 0 part /
sdb 8:16 0 931.5G 0 disk /media/amogh/Amogh SSD