简体   繁体   English

在启动时在Ubuntu上挂载NTFS

[英]Mount NTFS on Ubuntu on start up

I would like to know what do I have to do if I want to mount automatically my NTFS filesystem when Ubuntu 10 starts. 我想知道如果要在Ubuntu 10启动时自动挂载NTFS文件系统,该怎么办。 Now I have to do it manually everytime it starts. 现在,我必须在每次启动时手动进行操作。

Thanks 谢谢

Change you fstab should help. 更改您的fstab应该会有所帮助。 See https://help.ubuntu.com/community/Fstab . 请参阅https://help.ubuntu.com/community/Fstab

There is an awesome Example section in the Ubuntu Wiki for Fstab: Ubuntu Wiki中有一个很棒的示例部分,用于Fstab:

# NTFS ~ Use ntfs-3g for write access (rw) 
# /dev/hda1
UUID=12102C02102CEB83  /media/windows  ntfs-3g  auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8  0  0

https://help.ubuntu.com/community/Fstab#Examples https://help.ubuntu.com/community/Fstab#Examples

You can fo this by editing the FSTAB: 您可以通过编辑FSTAB来实现:

First create a directory where your NTFS volume will be mounted to: 首先创建一个目录,NTFS卷将挂载到该目录:

sudo mkdir /media/ntfs

Wise man makes a backup before editing the FSTAB: 智者在编辑FSTAB之前进行备份:

sudo cp /etc/fstab /etc/fstab-backup

Append this at the end of the file 将此附加到文件末尾

/dev/hda1    /media/windows ntfs  nls=utf8,umask=0222 0    0

Instead of /dev/hda1 use your dev here. 在这里使用您的dev代替/ dev / hda1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM