[Music]
welcome to two tips and tricks today
we're going to force an external hard
drive to mount on the desktop using the
command line in the terminal of Mac OS
10 so in this case we've got a drive
connected to our computer as you can see
it's a USB external hard drive but it's
not appearing on the desktop now I
showed you in a previous video on a link
up below how to look in the disk utility
application and utilities see if that
drive appears and use the GUI to mount
it but if that's not working you can try
using this process in the command line
now to get to the command line you use
the terminal application and then the
dock I usually have a terminal here just
so I can get to it easily but if you
don't have it there you can get to it
quickly by going into the finder and
choosing file you'll find a window going
into applications and at the bottom of
applications and double-clicking on
utilities and inside there is the
terminal application well double click
that and it will come up
I'll just move it over here and put it
up a little bit so we can see the
commands alright so the first thing you
need to do is get some information about
all the drives connected to your system
so you'll type in disk util i stands for
Disk Utility and analyst' now this will
list all the hard drives hooked up to
your system so the first one here is at
this location data disk to 0 so that's a
physical internal hard drive so in this
case it's the Macintosh HD and that's a
startup drive for your computer
now the volume that gives it its name so
in this case Macintosh HD is listed here
under a deaf disc 1 so here we're
looking at the next disc which is an
external disk and a physical disk and
it's located at dev disc 2 and I've just
called a USB hard drive that's just how
I was I format it now to try to get it
to mount you would typically use this as
a location to mount it so we could try
something like mount and then just copy
this actually we don't have to type it
and then paste it here but that doesn't
tend to work so there's a couple more
things that we need to do now the drives
when they're mounted are always listed
in a directory on your computer so if we
go here and go list and I solicit in a
in a vertical format with extra
information
it'll slash volumes slash which shows
all the volumes that are actually
mounted and available on the system so
in this case we can see the Macintosh HD
but we don't see anything else for this
USB one so we need to make a little
directory in here to allow the volume to
mount so in this case you type sudo
mkdir and then slash volumes slash and
then you can call this one in anything
you want I'm just gonna call it USB just
to make it easy
that's going to ask me for my password
so this is the password for my Mac so
you have to know your administrator
password for your Mac that password they
use to load your software or anything
like that if you don't know that
password I can't help you with something
you really have to know okay now if we
do this command again to list the void
volume then we can see now we have our
Macintosh HD and a USB volume and
there's nothing actually in here but now
we can use this as a point to force the
drive to mount to okay so I've just
cleared the terminal here so we can see
the commands a little bit better so now
we have our device that's ready to be
mounted so we know we can use the mount
command now and attach it to that folder
or directory that we just created in
volumes so in this case we will type in
sudo mount
t is the type and in this case it's
going to be H F s and then we put our
location which we copied and pasted it
from before slash dev slash disk - in my
case but you need to check that out
using your disk you till this command to
make sure that's correct and n we're
telling it where to mount so volumes and
then USB and when we hit return
hopefully it should mount a hard disk so
it might take a minute or two just to
sort through everything and here we get
an error I'm not exactly sure why we get
the error and valid argument however our
drive is available now you should be
able to open it and see the information
inside you could do a command-i or get
info on it to get information about the
drive so in this case we can see the
capacity how much space is used and how
much space is available and from here
you should be able to view it and repair
it in either the disk utility
application or the command line and
we'll make another video that you can
check out too to show how to verify and
repair the disk using the command line
in Mac OS 10 well I hope this was
helpful and it was please give it a
thumbs up and also comment below if you
have any other suggestions as to other
topics that we can cover and share the
video if you find it helpful to share to
your friends share it out on social
media like Facebook and so on and please
come back and check for new videos that
we're posting regularly thanks again for
watching
[Music]