How to automount ntfs drives in Linux Mint 17 KDE?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How to automount ntfs drives in Linux Mint 17 KDE?
I've two HDD and one has NTFS partition is there any way in Linux Mint 17 KDE to automount these drives at startup.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Home is where the Wi-Fi is.
Registered Linux user #562302
Registered Linux user #562302
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Read the last line:
gedit and pluma both not working...
Code: Select all
linil@linil-PC:~ > sudo fdisk -l
[sudo] password for linil:
Disk /dev/sda: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x94581f86
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 62982143 31131648 7 HPFS/NTFS/exFAT
/dev/sda3 62984190 125042687 31029249 5 Extended
/dev/sda5 62984192 70887423 3951616 82 Linux swap / Solaris
/dev/sda6 70889472 125042687 27076608 83 Linux
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x9f95e7f6
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 204799999 102296576 7 HPFS/NTFS/exFAT
/dev/sdb3 204800000 409599999 102400000 7 HPFS/NTFS/exFAT
/dev/sdb4 409600000 1953521663 771960832 f W95 Ext'd (LBA)
/dev/sdb5 409602048 614402047 102400000 7 HPFS/NTFS/exFAT
/dev/sdb6 614404096 1953521663 669558784 7 HPFS/NTFS/exFAT
linil@linil-PC:~ > sudo mkdir /media/sdb2
linil@linil-PC:~ > sudo gedit /etc/fstab
sudo: gedit: command not found
linil@linil-PC:~ > sudo pluma /etc/fstab
sudo: pluma: command not found
linil@linil-PC:~ >
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Becasue you are using KDE.gedit and pluma both not working...
Try:
Code: Select all
kdesudo kate /etc/fstab
Code: Select all
sudo blkid -c /dev/null
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Thank you... It worked..
But during boot up it shows :
Error while mounting /etc/fstab
press s to skip or m for manual recovery
I skipped using s key and everything works as expected. All the drives mounted as required.
Is there any way to remove this error
I'm using UUID code but the other method also gives same error.
Here's my edited fstab file:
But during boot up it shows :
Error while mounting /etc/fstab
press s to skip or m for manual recovery
I skipped using s key and everything works as expected. All the drives mounted as required.
Is there any way to remove this error
I'm using UUID code but the other method also gives same error.
Here's my edited fstab file:
Code: Select all
# /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/sda6 during installation
UUID=0ebb028a-a3d3-4a5a-a9f3-1ead823ee57b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=a0a3186b-54f0-4bbc-acba-e575fe6cea66 none swap sw 0 0
UUID=B2A83EE9A83EAC2B /media/sdb2 ntfs defaults 0 0
UUID=CAF62273F6225FC5 /media/sdb3 ntfs defaults 0 0
UUID=B0D23D62D23D2E4A /media/sdb6 ntfs defaults 0 0
Re: How to automount ntfs drives in Linux Mint 17 KDE?
please post the output of the command:
And this one:
EDIT: And this one:
Code: Select all
sudo blkid -c /dev/null
Code: Select all
sudo mount -a
Code: Select all
mount
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
sudo blkid -c /dev/null
sudo mount -a
mount
Code: Select all
/dev/sda1: LABEL="System Reserved" UUID="04DAA854DAA843B0" TYPE="ntfs"
/dev/sda2: LABEL="Win8" UUID="9E68B14668B11E49" TYPE="ntfs"
/dev/sda5: UUID="a0a3186b-54f0-4bbc-acba-e575fe6cea66" TYPE="swap"
/dev/sda6: UUID="0ebb028a-a3d3-4a5a-a9f3-1ead823ee57b" TYPE="ext4"
/dev/sdb1: LABEL="System Reserved" UUID="860CB2F60CB2DFFB" TYPE="ntfs"
/dev/sdb2: LABEL="Work" UUID="B2A83EE9A83EAC2B" TYPE="ntfs"
/dev/sdb3: LABEL="Personal" UUID="CAF62273F6225FC5" TYPE="ntfs"
/dev/sdb5: LABEL="Softwares" UUID="DA822FC7822FA6CB" TYPE="ntfs"
/dev/sdb6: LABEL="Entertainment" UUID="B0D23D62D23D2E4A" TYPE="ntfs"
Code: Select all
[mntent]: line 1 in /etc/fstab is bad
[mntent]: warning: no final newline at the end of /etc/fstab
Code: Select all
/dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sdb2 on /media/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb3 on /media/sdb3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb6 on /media/sdb6 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Edit /etc/fstab again:
Put the mouse cursor at the end of the last line:
Save the file and run this again:
Code: Select all
kdesudo kate /etc/fstab
Then press the enter keyUUID=B0D23D62D23D2E4A /media/sdb6 ntfs defaults 0 0
Save the file and run this again:
Code: Select all
sudo mount -a
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
mount
Code: Select all
sudo mount -a
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Does that mean it produced no error messages?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Sorry
Code: Select all
[mntent]: line 1 in /etc/fstab is bad
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Well, one error down one to go
I'm trying to figure out what's the problem with line 1.
If taken literally it's a comment so I don't know why it's upset with that. The real first line is the one that mounts your system partition and I don't see anything wrong with that either.
Um..... give me a minute or two maybe I'm just missing something..............
If you do a:
Does it still look like this:
I'm trying to figure out what's the problem with line 1.
If taken literally it's a comment so I don't know why it's upset with that. The real first line is the one that mounts your system partition and I don't see anything wrong with that either.
Um..... give me a minute or two maybe I'm just missing something..............
If you do a:
Code: Select all
cat /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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=0ebb028a-a3d3-4a5a-a9f3-1ead823ee57b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=a0a3186b-54f0-4bbc-acba-e575fe6cea66 none swap sw 0 0
UUID=B2A83EE9A83EAC2B /media/sdb2 ntfs defaults 0 0
UUID=CAF62273F6225FC5 /media/sdb3 ntfs defaults 0 0
UUID=B0D23D62D23D2E4A /media/sdb6 ntfs defaults 0 0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Yes same output.
cat /etc/fstab
cat /etc/fstab
Code: Select all
# /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/sda6 during installation
UUID=0ebb028a-a3d3-4a5a-a9f3-1ead823ee57b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=a0a3186b-54f0-4bbc-acba-e575fe6cea66 none swap sw 0 0
UUID=B2A83EE9A83EAC2B /media/sdb2 ntfs defaults 0 0
UUID=CAF62273F6225FC5 /media/sdb3 ntfs defaults 0 0
UUID=B0D23D62D23D2E4A /media/sdb6 ntfs defaults 0 0
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: How to automount ntfs drives in Linux Mint 17 KDE?
wouldn't that be a fat32 format, to be labeled vfat? I'm surprised blkid would read it as ntfs. Notice, it's NOT mounting.Linil wrote:Sorry
Code: Select all
[mntent]: line 1 in /etc/fstab is bad
Code: Select all
/dev/sda1: LABEL="System Reserved" UUID="04DAA854DAA843B0" TYPE="ntfs"
Code: Select all
check it again
blkid /dev/sda1
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Re: How to automount ntfs drives in Linux Mint 17 KDE?
This is also strange [mntent]: warning: no final newline at the end of /etc/fstab
Open the file, move to the end of the last line and press enter then save the file and try the mount command.
Open the file, move to the end of the last line and press enter then save the file and try the mount command.
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Maybe he saved the file after adjusting as a windows type file which would have added different line endings to it.WharfRat wrote:This is also strange [mntent]: warning: no final newline at the end of /etc/fstab
Open the file, move to the end of the last line and press enter then save the file and try the mount command.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Re: How to automount ntfs drives in Linux Mint 17 KDE?
We took care of that one earlier - that error message is gone:WharfRat wrote:This is also strange [mntent]: warning: no final newline at the end of /etc/fstab
Open the file, move to the end of the last line and press enter then save the file and try the mount command.
Depending on how you look at this line 1 is either this:altair4 wrote:Edit /etc/fstab again:Put the mouse cursor at the end of the last line:Code: Select all
kdesudo kate /etc/fstab
Then press the enter keyUUID=B0D23D62D23D2E4A /media/sdb6 ntfs defaults 0 0
Save the file and run this again:Code: Select all
sudo mount -a
Or this:# /etc/fstab: static file system information.
So far I'm not getting it.UUID=0ebb028a-a3d3-4a5a-a9f3-1ead823ee57b / ext4 errors=remount-ro 0 1
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
The easiest way I have found to automount NTFS partitions is to open a terminal and enter
Once done go to your system folder and open the NTFS configuration tool and check the partitions you want mounted and make sure to give read/write to each. This will automatically write the entries to fstab..
Code: Select all
sudo apt-get install ntfs-config
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Please note that it's mounting just fine:colyn wrote:The easiest way I have found to automount NTFS partitions is to open a terminal and enterOnce done go to your system folder and open the NTFS configuration tool and check the partitions you want mounted and make sure to give read/write to each. This will automatically write the entries to fstab..Code: Select all
sudo apt-get install ntfs-config
Besides ntfs-config just makes a mess of things./dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sdb2 on /media/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb3 on /media/sdb3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb6 on /media/sdb6 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to automount ntfs drives in Linux Mint 17 KDE?
Linil,
paste back
@altair4
I was wondering what would be considered the first line too
paste back
Code: Select all
head /etc/fstab|hexdump -C
I was wondering what would be considered the first line too