amaresu: Sapphire and Steel from the opening (Default)
amaresu ([personal profile] amaresu) wrote in [community profile] linux4all2010-05-24 07:26 pm

External Harddrives

I have a Seagate external harddrive and I haven't been able to access the data on it since I switched to Ubuntu. I was wondering if there was anyway to access this information or if I'm better off just getting a new external. And if I do have to get a new external can I buy any brand?
onceamy: A crab seeks some sunlight on a deserted beach. (Crab-1)

[personal profile] onceamy 2010-05-25 03:16 am (UTC)(link)
What sort of connector does it use?

I've not run into any problems with any of the storage devices I have, which run the gamut from phones to external hard drives.
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 05:31 am (UTC)(link)
Hmm, weird!

Can you mount it as root - i.e. sudo mount /dev/sda#n, where sda#n is your drive?
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 05:44 am (UTC)(link)
sudo fdisk -l will give you a list of all drives detected. You can identify yours by the file system type (if you formatted it as NTFS or FAT, for example).

I'm sorry if I'm being too vague, but it is hard to specifically tell you what to look for, as I am not there to see your drive.
Edited 2010-05-25 05:45 (UTC)
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 06:03 am (UTC)(link)
Oh, coolies! I was worried :)

Okay, you would go sudo mount /dev/sdb1 /media/sdb/, but you might need to create /media/sdb with sudo mkdir /media/sdb.

It's definitely found it! But mounting as root means that you don't have write access as a general user, and I haven't found a solution for that yet (it used to be a program called pmount, but that doesn't work anymore).
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 06:33 am (UTC)(link)
Hey, no worries! It's something I struggled with as a baby!penguin :)

Okay, try just sudo mount /dev/sdb /media/sdb - sometimes it is weird about partitions.

Let me know how that goes?
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 06:49 am (UTC)(link)
Okay dokey - try sudo mount -t vfat /dev/sdb /media/sdb.

Yay, external life!
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 06:51 am (UTC)(link)
Now, pmount may work for a Lucid Lynx install (the latest Ubuntu). If you go sudo apt-get install pmount and try it with pmount /dev/sdb1, it should mount it in user-space (meaning you can write and read from it as a non-root user).
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 07:01 am (UTC)(link)
Which version are you on?

I'd save updating till you're more confident, as it can be a pain in the bum sometimes.
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 07:03 am (UTC)(link)
Ooh, definitely save it for later! We'll get this working first ;)
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 07:00 am (UTC)(link)
Tail is a constant process, darl. It stops when you CTRL-C it.

Okay, try it with /dev/sdb1 instead - as I said, the partitions are silly thing.
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 07:11 am (UTC)(link)
\o/

Tail is a way to keep track of updates to files in real time - the file/command updates, and tail lets you know :)

I'm so glad it worked!

Let me know when/if you want to upgrade, as I'd be quite happy to walk you through it :D
onceamy: Nothing special; just a pixelated rainbow. (Default)

[personal profile] onceamy 2010-05-25 07:31 am (UTC)(link)
Oh, I forgot to link to a page I meant to: https://help.ubuntu.com/community/Mount/USB

It lists commands and useful info for mounting USB devices in general.