Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Hardware Support _ Usb Hard Drive.

Posted by: Devillion Jan 6 2004, 08:03 PM

Hi, im sorry to bother you guys with a n00b question but i need to access my USB 1.1 External hard drive.
My windows OS has crashed, and i NEED to get the data off of thise drive, its extremely important, so if there is a way to access the drive without damaging the data, that would be great.

Im a real n00b, this is my first time on linux, though i am well versed in DOS and other command line OS.

EDIT- If its important, im using Libranet distro and the GNOME session.

Posted by: michaelk Jan 10 2004, 08:30 PM

Never have used libranet... yet. It supports USB so I will assume that everything is configured.

With the drive plugged in you should have a /dev/sda device assuming no other SCSI drives or pen drives. I will also assume that the drive is formated as FAT32

Create a mount point (log in as root)
mkdir /mnt/disk (Or whatever you want to name the directory)
mount -t vfat /dev/sda1 /mnt/disk

If you have more then one partition then you might want to see what they are,
fdisk -l /dev/sda (that is a small L)

If none of the above works then we will start troubleshooting. We will leave that to another post.

Posted by: Devillion Jan 11 2004, 11:38 AM

Yes!

Thank you, that made it work. There were some important work files that i needed to get off that drive and now i can. Thanks.

The only other thing is, how can i make this drive so that other accounts can write to it? Currently the 'root' account can use the drive (read/write) but user acounts can not write to the drive. How can i change permission?

But thank you very much.
biggrin.gif biggrin.gif biggrin.gif

Posted by: hughesjr Jan 12 2004, 10:45 PM

try:

mount -t vfat -o umask=0777 /dev/sda1 /mnt/disk

or

mount -t vfat -o umask=777 /dev/sda1 /mnt/disk

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)