
sudo pluma /etc/fstabUUID=2065af80-2d6c-47a2-9313-b5a074b75134 /media/NTFSVolumeName ntfs defaults 0 2ls -l /dev/disk/by-uuidsudo mkdir /media/NTFSVolumeName/sudo mount -a
spaceman wrote:You need to add something *like* the line below to the file:
- Code: Select all
UUID=2065af80-2d6c-47a2-9313-b5a074b75134 /media/NTFSVolumeName ext4 defaults 0 2
UUID=2065af80-2d6c-47a2-9313-b5a074b75134 /media/NTFSVolumeName ntfs defaults 0 2


.
cat /etc/fstabsudo blkid -c /dev/nullmount
dany-N61PB-M2S dany # 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=fa3a39ee-696a-41f1-ad4a-9ba4aed65d44 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=5a73b809-269f-5530-541e-926b9406ee9f none swap sw 0 0
dany-N61PB-M2S dany # sudo blkid -c /dev/null
/dev/sda2: UUID="C2F3F160BCBE4655" TYPE="ntfs"
/dev/sda3: LABEL="Second drive" UUID="BEF47531F474ED51" TYPE="ntfs"
/dev/sda4: LABEL="DATA STORAGE" UUID="3048A90E48A8D3BE" TYPE="ntfs"
/dev/sda5: UUID="5a73b809-269f-5530-541e-926b9406ee9f" TYPE="swap"
/dev/sda6: UUID="fa3a39ee-696a-41f1-ad4a-9ba4aed65d44" TYPE="ext4"
dany-N61PB-M2S dany # mount
/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/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)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda4 on /media/DATA STORAGE type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda4: LABEL="DATA STORAGE" UUID="3048A90E48A8D3BE" TYPE="ntfs"
/dev/sda4 on /media/DATA STORAGE type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
sudo umount "/media/DATA STORAGE"sudo mkdir /media/DataStorageUUID=3048A90E48A8D3BE /media/DataStorage ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0sudo mount -a
dany-N61PB-M2S dany # sudo mount -a
[mntent]: warning: no final newline at the end of /etc/fstab

[mntent]: warning: no final newline at the end of /etc/fstab
cat /etc/fstab
dany-N61PB-M2S dany # 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=fa3a39ee-696a-41f1-ad4a-9ba4aed65d44 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=5a73b809-269f-5530-541e-926b9406ee9f none swap sw 0 0
UUID=3048A90E48A8D3BE /media/DataStorage ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0
# swap was on /dev/sda5 during installation
UUID=5a73b809-269f-5530-541e-926b9406ee9f none swap sw 0 0
#UUID=3048A90E48A8D3BE /media/DataStorage ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0
[mntent]: warning: no final newline at the end of /etc/fstab

altair4 wrote:I would edit fstab again and put a # sign in front of that last line so that it looks like this:# swap was on /dev/sda5 during installation
UUID=5a73b809-269f-5530-541e-926b9406ee9f none swap sw 0 0
#UUID=3048A90E48A8D3BE /media/DataStorage ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0
It looks OK to me. I need to do some research to figure out what this means:[mntent]: warning: no final newline at the end of /etc/fstab



danym wrote:Thank you very much to all for your time and effort!
After adding # the problem with the missing line still persist.
The text editor is Kate.
sudo nano /etc/fstab
I believe that error means there is no carriage return at the end of the last line. It can be solved by placing your cursor after the last character on the last line and pressing delete numerous times and then press enter to go to the next line. Then save the file.



Users browsing this forum: Bing [Bot] and 16 guests