LinuxQuestions.org
Register a domain and help support LQ
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 04-28-2005, 08:48 PM   #1
plague853
LQ Newbie
 
Registered: Apr 2005
Location: california
Posts: 14

Rep: Reputation: 0
external hard drive issus


i have a lacie 160 gb external hard drive(it's just a drive no operating system)which i use only for mp3's on my computer at home which is ran on windows xp, but how do i run, operate and listen to those mp3's on linux systems?
 
Old 04-28-2005, 09:07 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
what _kind_ of external drive?
Firewire? Usb? SCSI? ATAoE?

most hardware in linux are emulated as SCSI, plug it on and check to your log ( type dmesg ) to see to which device to system assigned it. Then you will need to mount it.
 
Old 04-28-2005, 09:10 PM   #3
plague853
LQ Newbie
 
Registered: Apr 2005
Location: california
Posts: 14

Original Poster
Rep: Reputation: 0
it's usb 2.0
 
Old 04-28-2005, 09:25 PM   #4
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
ok, so USB is emulated as SCSI
plug it in and type "dmesg". You should see some line about a "new drive being found". Note the device name (probably "sda").
If you know what partition is on it, you can mount it right then (mount /dev/sdaX /mnt/my_happy_thingy as example, where X is the partition number). Or you can use fdisk or cfdisk to take a look to partition ( example : cfdisk /dev/sda ).
 
Old 04-28-2005, 09:29 PM   #5
plague853
LQ Newbie
 
Registered: Apr 2005
Location: california
Posts: 14

Original Poster
Rep: Reputation: 0
i'm sorry i don't understand about plug in and type, type it where, i know nothing about linux systems
 
Old 04-28-2005, 10:17 PM   #6
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
1-Plug your drive into your USB port on your computer
2-Open a console (text mode, terminal, konsole, whatever your GUI use, that thing that look like DOS mode)
3- Type "dmesg". You will have a lot of text scrolling by. Only the last few line are important, something that should look like :
Code:
SCSI device sda: drive cache: write back
SCSI device sda: 2091050 512-byte hdwr sectors (1071 MB)
4-This tell you the name of the device, in my case, "sda". Note that your lines will be different, of course. To mount something you need 2 things. The name of the device AND the partition number. We already have the name.
5- Type "su - " to login as root in the text mode.
6- Type "cfdisk /dev/THE_DEVICE_YOU_FOUND" (change this line according to your device name)
7- Now you should have a listing of your hard drive partition in front of you. Take note and leave cfdisk
8- We have name and partition number... We can attempt a mount. Syntax of mount command is like "mount /dev/DEVICE_NAMEPARTITION_NUMBER /where/you/want/it". So create yourself a folder (the way you prefer, if you want to use textmode, type "mkdir /folder/you_want_to/create/" )
9- Mount your drive to the folder. In my case, I mount my drive to /mnt/other1 and I only have 1 partition so my mount command is : "mount /dev/sda1 /mnt/other1" but you could (will have to) change it to fit your system
10- Now you should be able to use the drive. Note it may be read-only for normal user, if you made it there, I'll tell you how to change this
 
Old 04-28-2005, 10:26 PM   #7
plague853
LQ Newbie
 
Registered: Apr 2005
Location: california
Posts: 14

Original Poster
Rep: Reputation: 0
it says this device is not regognized by any installed usb driver
 
Old 04-28-2005, 10:37 PM   #8
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
can I see the message? paste me the 10-15 last lines.
 
Old 04-28-2005, 10:51 PM   #9
plague853
LQ Newbie
 
Registered: Apr 2005
Location: california
Posts: 14

Original Poster
Rep: Reputation: 0
it won't save
 
Old 04-28-2005, 11:08 PM   #10
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
To copy & paste in linux
- Highlight the text with the left mouse button then click with your middle mouse button (or click the scroll wheel or click left & right simultaneously) on the place you want to paste.

So highlight in the konsole and paste in the text box in your web-browser.

Daniel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
external hard drive dragonkeeper Mandriva 12 08-09-2005 05:58 AM
External Hard Drive king of penguin Linux - Hardware 3 02-14-2005 09:42 AM
New External Hard Drive wildcat22 Linux - Hardware 2 04-25-2004 09:34 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration