更改逻辑分区的安装点

当我安装Ubuntu 12.04时,我不知道如何正确设置分区逻辑驱动器的安装点。 所以,我只是随机设置它。 现在,当我打开Home文件夹时,我看不到左窗格中的任何逻辑驱动器。 我试图改变他们的安装点,但不能。

我的fstab文件/ etc文件夹的内容是:

# /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). # #       proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation UUID=691fa0bd-350f-4378-b5c7-82d277dd83c2 / ext4 errors=remount-ro 0 1 # /srv was on /dev/sda8 during installation UUID=753d012e-ac3c-42fd-b388-d83115e88d26 /srv ext4 defaults 0 2 # /tmp was on /dev/sda5 during installation UUID=34d8c35a-7900-4acd-988d-880792849673 /tmp ext4 defaults 0 2 # /usr was on /dev/sda6 during installation UUID=4f7f4287-5feb-4b2b-86bb-93fe74905149 /usr ext4 defaults 0 2 # /var was on /dev/sda7 during installation UUID=e2933e36-7906-48ac-b2ac-93500537cd4a /var ext4 defaults 0 2 

我的分区安装在以下位置: /dev/sda5 is mounted at /tmp ; /dev/sda6 is mounted at /usr ; /dev/sda7 is mounted at /var ; /dev/sda8 is mounted at /srv

如果我尝试更改fstab文件的内容,则表示只有root才能更改内容。

如何更改分区的安装点,使它们显示在主文件夹中?

磁盘

gui解决方案是使用磁盘。 从那里,您将能够使用“编辑挂载点”选项编辑辅助驱动器的挂载点 – 只需卸载即可编辑它们 磁盘截图

您正确尝试在fstab中的安装点更改它。 要做到这一点,您需要使用root权限打开/ etc / fstab。 对于终端中的那种类型:

 sudo gedit /etc/fstab 

互联网上有很多关于这方面的信息。