LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-13-2002, 05:47 PM   #1
tomservo
LQ Newbie
 
Registered: Jul 2002
Location: USA
Distribution: Mandrake 8.2
Posts: 7

Rep: Reputation: 0
mounting a usb hard drive--PPC arch.


I am trying to use an external USB Hard Drive in Linux (Mandrake 8.2 PPC to be exact). I recompiled the kernel with full support for usb and usb mass-storage. What should I do now? I know I should look at var/log/messages--but what do I look for exactly? And then what commands do I use to actually mount the USB disk? Any help would be appreciated.
 
Old 07-13-2002, 08:48 PM   #2
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Hi!
Just by the way, did you compile scsi support into the kernel too?

Well, what you need to do is plug the drive into the computer, then look at /var/log/messages. At the bottom it should say something about a usb device that conneted. It should also say something about USB mass storage, and maybe something about scsi as well.

Ok, so after you've plugged it in, just mount it, like so.
(lets say you want to mount it on /mnt/usbdrive, so, first do mkdir /mnt/usbdrive)
mount /dev/sda1 /mnt/usbdrive

It should mount without errors, and you should be able to access it by going to /mnt/usbdrive.

Good Luck!
RefriedBean

<EDIT>
You don't need to go to /var/log/messages every time, you just look at it to see if its detected correctly or if it fails what might have gone wrong. So generally if it mounts correcty you won't have to go there again.
</EDIT>

Last edited by RefriedBean; 07-13-2002 at 08:50 PM.
 
Old 07-14-2002, 02:07 PM   #3
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
I am having the same problem too! I have a scsi burner and I am wondering, under what /dev/sd? to mount it under. I keep getting an illegal block device error message. Is there a usb log that will tell me anything? When I check my /var/log/messages, it says:

Jul 14 15:06:30 brain1 kernel: hub.c: new USB device 00:07.4-2, assigned address 3
Jul 14 15:06:30 brain1 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
 
Old 07-16-2002, 09:12 AM   #4
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Quote:
Originally posted by mrsolo
under what /dev/sd? to mount it under.
Hi!
For the CD burner, you need support for scsi cdroms in your kernel too. Then simply mount it with
mount -t iso9660 /dev/scd1 /mnt/mountpoint

The USB mass storage devices are emulated as a scsi harddisk, so their dev files would be something like /dev/sda1.

Hope this helps!
RefriedBean
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem mounting USB hard drive kernelbuster Linux - Enterprise 0 02-14-2005 04:36 PM
Mounting USB Hard Drive in SuSE 9.1 Caboose447 SUSE / openSUSE 4 12-13-2004 10:39 AM
mounting usb hard drive frostedthorns Fedora 4 07-01-2004 10:51 PM
Mounting Ext. Hard Drive through USB 2+PCMCIA CondorPasa Linux - Hardware 1 03-11-2004 06:49 AM
mounting a usb hard drive yocompia Slackware 5 10-19-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration