Ubuntu

內部 SSD 的安裝點錯誤

  • September 9, 2014

我在安裝內部 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

鑑於/etc/fstab我期望的解析器的簡單性,刪除受影響條目中 UUID 周圍的引號可能會有所幫助,即使用

UUID=064ced5e-19c1-43d1-876f-3de0c115b65e    /mnt/Data    ...

代替

UUID="064ced5e-19c1-43d1-876f-3de0c115b65e"  /mnt/Data    ...

引用自:https://unix.stackexchange.com/questions/153298