Hot answers tagged

4

iocharset=utf8 sets what encoding to use when mounting drives or network shares. According to Wikipedia: UTF-8 is a character encoding capable of encoding all possible characters, or code points, defined by Unicode. It's pretty much a safety feature just to make sure Ubuntu can present all text in a readable format (shows it correctly), and save ...


3

TL;DR /etc/fstab is a created by the user. It contains list of volumes to be mounted by mount. /etc/mtab is a created by the system. It contains a list of currently mounted devices. The format of the files is similar. After mounting a new device, copy the relevant line from /etc/mtab to /etc/fstab so that it will be auto-mounted after boot or when calling ...


2

/etc/fstab is list of filesystems to be mounted at boot time. If you want your Windows or file-storage partition mounted once your computer boots , you put appropriate entry into /etc/fstab. /etc/mtab is list of currently mounted filesystems. If you have a disk connected but not mounted, it won't show up in the /etc/mtab file. Once you mount it, it will ...


2

If you have an issue with this share, you can unmount it on hibernate/suspend and remount it on resume. In order to do that you should create a script in /etc/pm/sleep.d/, call it 50-share_handling (for example), and put the next lines in it: #!/bin/sh # Unmount CIFS share on hibernate/suspend and remount it on resume case "$1" in ...


2

Mounting your Windows filesystems read-only seems a little more straight-forward to me than the umask option: UUID=3E98352E9834E655 /mnt/hiro1 ntfs ro,noauto 0 0 UUID=24F62FADF62F7E64 /mnt/hiro2 ntfs ro,noauto 0 0 I also made separate mount-points for each filesystem, in case you ever wanted to have them both mounted at the same time


1

As a general rule, it's inadvisable (at best) to make /root a separate partition from the root (/) filesystem. The reason is that this is the root user's home directory, and it's critical that this location remain accessible even in the event of a severe problem, such as damage to the /etc/fstab file. I don't know if that's related to your problem, but it ...


1

After you've installed Ubuntu, it will never do anything to modify those Windows drives unless you explicitly tell it to. In reality, I would never even worry about modifying your fstab file, but keeping the 'noauto' flag won't hurt anything and will, in fact, prevent Ubuntu from trying to mount the drives automatically (just in case, I suppose)



Only top voted, non community-wiki answers of a minimum length are eligible