Okay so did a bit of research and worked out I needed to SSH into my Pi to mount my usb drive but I'm still struggling. No command I use detects the drive to be able to mount it.
Anyone able to give me some step-by-step instructions please?
On most Linux based systems you'll be able to see what's currently connected by running this set of commands
Now you can view the disks in various ways which you'll see... for example to see them by their labels:
Hopefully you can see which one is the disk you want. These are actually sym-links, so re-run the command with fuller information to see what they are pointing to:
You should notice they are probably relative links, and they start with "../../" this means to go back two levels to "/dev" so for instance on a pi one of the SD card partitions would probably give you "../../mmcblk0p1" - in other words this would be "/dev/mmcblk0p1". That is the path you'll need to mount the drive (but of course in your case you'll have to look around in the various "/dev/disk/*" folders and try to look at the labels, ids etc. until you think you can work out which one is your USB drive (for what it's worth the "true" path to it will probably be something like "/dev/sdbX" where X is a number).
To actually mount it you need to create a mount point - this is just an empty folder where you will eventually access the contents of the drive/partition - create it anywhere you like, though a fairly common location would be in a folder under "/media/" or "/mnt/"... so for example you might create "/media/my_data" by running
Once that's done you need to actually mount the disk/partition, like so:
Code:
mount /dev/mmcblk0p1 /media/my_data
There are other arguments you can give to the "mount" command to tell it things like what file-system is being used etc, but as a raw command like the above it'll try to guess as best it can. Assuming it works you should find your data in "/media/my_data"...
Hope that's enough to get you going, I don't have my pi to hand so can't check any of the above is correct - you might need to run "sudo" in front of some of the commands if you aren't logged in as the root user. If you want the pi to always have the drive mounted to the same location you'll have to setup the file "/etc/fstab" with some of the information described above, or if you want it to be more like a hot-swap drive there's a program called "automount" you could use (google for either of these will help further)
Good luck!