Tag: fstab

从nautilus隐藏启动驱动器

我有一个启动驱动器,我不想在nautilus中显示。 如何编辑/etc/fstab以使引导驱动器不显示为可安装的设备。 当前/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). # # proc /proc proc […]

fstab挂载选项’errors = remount -ro’是什么意思?

我检查了/ etc / fstab并看到了以下几行 / was on /dev/sda1 during installation UUID=some-hex-appears-here / ext4 errors=remount-ro 0 1 /home was on /dev/sda5 during installation UUID=another-hex-here /home ext4 defaults 0 2 errors=remount-ro 0 1关注我,因为我希望defaults而不是errors=remount-ro 。 Ubuntu正常运行,但我有理由相信Ubuntu在安装过程中可能会受到限制。 那么这是什么意思?

将USB磁盘安装在永久位置

我有一个USB硬盘,我想在启动时和特定位置安装。 即使没有人登录,我怎样才能使该驱动器安装并保持可用(例如本地备份等)? 似乎udev或类似的东西抓住了磁盘。 如果我在/ etc / fstab中放入一个尝试专门挂载此磁盘的条目(通过UUID),那么该挂载进程和udev挂载进程似乎最终会相互争斗并且磁盘不会挂载。

如何编写fstab行以完全访问NTFS驱动器?

我写过: /dev/sda2 /win ntfs-3g rw,dev,exec,auto,async,users,umask=777,uid=1000,gid=1000,locale=en_US.utf8, errors=remount-ro 0 0 但我仍然无法作为用户访问/获胜(对应于指定的uid / gid)。 作为root我可以访问/获取并且可以看到根本没有设置任何权限(我认为umask = 777意味着设置所有权限)。

如何使用/ etc / fstab自动挂载Windows分区

您好我必须在文件“/ etc / fstab”中写一下才能在启动时自动挂载我的windows-partition(/ dev / sda3)? 我收到此错误消息(单击nautilus中分区的书签): Error mounting: mount exited with exit code 1: helper failed with: Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at […]

在我的fstab中安装SMB共享时出现问题

我的Windows机箱上有一个有效的,可访问的SMB共享,​​我可以安装它 sudo mount -t cifs //192.168.0.9/C /mnt/WinC -o username=foo,password=bar 但是不能从我的fstab安装。 fstab条目读取 //192.168.0.9 /mnt/WinC credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 和凭证文件(我有这个工作时有777权限)包含 username=foo password=bar 但sudo mount -a导致错误,这来自dmesg | 尾巴,节目 [225040.991705] CIFS VFS: No username specified [225050.991721] CIFS VFS: cifs_mount failed w/return code = -22 其他人看到过这个问题并设法解决了吗?

只有root可以在/ media / sdb1上挂载/ dev / sdb1 – 对外部USB驱动器有贡献

我无法理解为什么,当我在Ubuntu 12.04中尝试使用插件外置USB驱动程序时,我会看到下一条消息: Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/sdb1 这是/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 […]

为什么无法在“/etc/fstab.d/”中挂载读取文件?

我正在尝试设置一个自动挂载的卷,并注意到我的服务器上现在有一个/etc/fstab.d/ 。 我在目录中创建了一个新文件,其中包含以下内容: # backupstore: large volume /dev/mapper/bagend-backupstore /mnt/backupstore ext4 auto,relatime,users,sync 0 0 但是当我运行mount -a ,没有安装卷。 此外,当我运行mount /mnt/backupstore或/dev/mapper/bagend-backupstore我被告知系统无法在fstab中找到该条目(并预先取消:是的,设备和挂载点是正确的- 我可以使用mount -t ext4 /dev/mapper/bagend-backupstore /mnt/backupstore轻松安装它 当我从/etc/fstab.d/删除文件并将该条目放入主/etc/fstab文件时,我没有安装卷的问题。 因此,可以使用mount命令检查/etc/fstab.d/条目,如果是,我该怎么做才能实现?

我怎么能挂载ext4分区并具有写权限?

我已经设置了/etc/fstab文件,以便我可以在启动时安装ext4分区,并使用以下选项进行操作: rw , auto , nouser , exec , sync 。 问题是我不能在不使用sudo的情况下创建或删除该分区上的任何文件,我发现这更令人费解,因为我已经安装了一个ntfs分区(使用这些选项: rw , auto , user , noexec , sync )和我没有得到同样的问题,我可以在不使用sudo的情况下在ntfs分区上读写。 我怎么能挂载ext4分区并具有读/写权限?

Ubuntu 13.10按S跳过挂载或M为手动恢复损坏的fstab无法修改

我最近对我的fstab文件进行了更改,并在重新启动时注意到我的错误。 我在启动时遇到典型的挂载错误。 我通过进入只读模式尝试修改它,但是,因为它是只读的,所以我无法访问它。 有没有办法绕过这个或某种方式删除文件,所以我可以使用备份(我很确定有效)?