Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu 9.10 recognizes my Freecom 120gig external hard-drive (when it's plugged in) and I can manage its contents OK - except via the command line. I don't seem to be able to find its path-name. See below:
mike@mike-desktop:~$ cd /media
mike@mike-desktop:/media$ ls
cdrom cdrom0 FREECOM HDD
mike@mike-desktop:/media$ sudo fdisk -l
[sudo] password for mike:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 38174 306632623+ 83 Linux
/dev/sda2 38175 38913 5936017+ 5 Extended
/dev/sda5 38175 38913 5935986 82 Linux swap / Solaris
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcdffed52
Device Boot Start End Blocks Id System
/dev/sdb1 1 14593 117218241 7 HPFS/NTFS
mike@mike-desktop:/media$
Despite all this info, I fail to get into the external hard-drive from the command line. Please provide the obvious solution which is not obvious to me...
Run mount. It will display what devices are mounted, and the mountpoints for each. The mountpoint for your external drive is the base directory of the external drive.
--- rod.
First of all run mount in a Command Terminal. This will show you all devices that are mounted and where they are mounted to.
Second you should try to avoid mounting a drive to a folder with a space in it's name. However if can do so if you choose. Also you should use a proper escape character in the path name instead of quotes. If the drive is Mounted on FREECOM HDD then you should use the following
Code:
cd /media/FREECOM\ HDD
the \ say to read the next character as a literal. In this case the literal character to be read is a space.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.