1

having working external hard disk which is accesble in macOS and windows ( might be NTFS but not sure ) and used to be mounted in windows and mac but when tried in ubuntu ; it gives error

lsblk

show /sda/sda1 is the address ; here is part of output lsblk output

created a directory ~/external we when write

> sudo mount /dev/sda/sda1 ~/external/

mount: /home/user/external: special device /dev/sda/sda1 does not exist (a path prefix is not a directory). dmesg(1) may have more information after failed mount system call

in File manager it display the drive but when click on it external hard disk error

xkeshav
  • 809
  • 1
  • 9
  • 23

2 Answers2

3

/dev/sda/sda1 is NOT a device so fix that please The image also tells you it is /dev/sda1.

Also please drop the ~.

sudo mount /dev/sda/sda1 /home/$USER/external/

from command line. But do alter $USER to the actual directory when using /etc/fstab.

It is more useful to mount in /media is this is external storage or to a personal mountpoint in / (I use /discworld mysql). I keep my personal directories there too (ie. Desktop, Documents, etc). Makes it portable.

kos
  • 41,268
Rinzwind
  • 309,379
0

You can mount your external hard disk manually:

Create a Mount Point and Mount the Drive:

cd /home/$USER && mkdir external
sudo mount /dev/sdX1 external

Replace /dev/sdX1 with your drive's name.

This should resolve the issue.