我在安装内部 SSD 时遇到问题。由于某种原因,安装点被选择为/media/user/Data
而不是如 、 中指定的/etc/fstab
那样/mnt/Data
。中的相应/etc/fstab
行如下:
UUID="064ced5e-19c1-43d1-876f-3de0c115b65e" /mnt/Data ext4 users,noauto,exec,rw,async,dev 0 0
我使用的是 Ubuntu 14.04 LTS 64 位。
(编辑:)
完整的 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/sdc2 during installation
UUID=9cf86df3-3d02-45d7-8078-d6ff5fc83ea6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=5AC7-594F /boot/efi vfat defaults 0 1
# swap was on /dev/sdc5 during installation
UUID=5460f609-5245-417a-833a-271c533db97a none swap sw 0 0
UUID="064ced5e-19c1-43d1-876f-3de0c115b65e" /mnt/Data ext4 users,noauto,exec,rw,async,dev 0 0
答案1
鉴于我期望的解析器的简单性/etc/fstab
,删除受影响条目中 UUID 周围的引号可能会有所帮助,即使用
UUID=064ced5e-19c1-43d1-876f-3de0c115b65e /mnt/Data ...
代替
UUID="064ced5e-19c1-43d1-876f-3de0c115b65e" /mnt/Data ...