LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2007, 12:26 AM   #1
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Rep: Reputation: 15
Adding a USB External HD


I have an external HD that I would like to pull files from. It contains music, movies, tv shows, audio books, etc, etc on them from when I had windows.

I have done a google search for doing this but all I can seem to call up is how to install linux on a HD. I have linux installed where I would like it! I just want to access these files so I can watch the movies on them.


Speaking of, I used VLC media player on Windows to play ANY movie file. Does Linux have a similar program? I REALLY hate using multiple programs to watch different file types.

Thanks!
 
Old 07-20-2007, 01:12 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Would be nice to know what distribution you are using?. And maybe the file system on the USB drive. Normally all USB devices with Fat16 or Fat32 file systems just need to be plugged in and turned on and a pop up similar to the one in Windows should appear asking what you want to do. Usually it'll have "open in file browser" or similar pre-selected and you just click OK. But it varies from one Linux distribution to another.
Linux has VLC also, if you have your distribution's multimedia repositories setup, it should be fairly easy to install properly. Can't tell you how to do that because the procedure is different from one distribution to the next.
EDIT: If you were to put the Linux distribution you're using in your profile, you could possibly get answers much faster and from the people with experience using that distribution.

Last edited by Junior Hacker; 07-20-2007 at 01:16 AM.
 
Old 07-20-2007, 01:38 AM   #3
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Ha! Silly me!


Distro: Slackware 12


VLC: I have it installed (i ran the install package). The problem I run into is I don't know WHERE linux/slackware installs your files? It is not in my /home. I know in Windows it is usually installed in program files/name what is the linux equivalant? I want to set some of my programs to run w/ VLC instead of the standard Linux player.



USB: I am not sure of the file system. I hooked up the HD through a USB and there was no prompt that it was found! It is a Western Digital HD if that makes a difference!!
 
Old 07-20-2007, 01:47 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Executables go in a "bin" (for "binary") directory, e.g. /usr/bin or /usr/local/bin. In a terminal, run "which vlc" (actually I'm not sure the executable is called that). Or, if you installed a Slackware package (which it sounds like you have), you could look at /var/log/packages/name of package, which gives you a list of files that were installed and where. Again, the binary will be in a "bin" directory.

As for your hard disk, run "dmesg" in a terminal and see if there's output at the end relating to your disk. Also run "fdisk -l" (that's a lowercase L) as root and post the results.
 
Old 07-20-2007, 02:08 AM   #5
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Ran fdisk -l as SU,

it just showed me the partitions I used to install Slackware. Nothing new.

HOw does ones copy the output? I believe I installed gpm.


Running dmesg

1 thing stood out:

usbhid:export duplicates symbol hiddev_hid_event (owned by kernel)
 
Old 07-20-2007, 03:12 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
To copy stuff, you just select it with the mouse. To paste, just press your wheel button.

Could you post the last 10 lines of dmesg please? "dmesg | tail" will do that (the | passes the output from the thing on its left to the thing on its right). Could you maybe try a different USB port on your machine as well?
 
Old 07-20-2007, 03:25 AM   #7
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
It seems that changing USB ports allowed the USB Hard Drive to be recognized! Strange that one port will recognize my Mouse but not my HD, while one will recognize both my HD and my mouse.


When I try to access the HD KDE spits out this in an error box:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
 
Old 07-20-2007, 04:01 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I think you may need to add your user to the plugdev group. Run "groups" to see if you're in that group or not.
 
Old 07-20-2007, 08:23 PM   #9
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
I ran groups and I am NOT part of the plugdev group


Groups are:
root bin daemon sys adm disk wheel floppy


so under SU I run:

groups again - same set (shouldn't the SU be part of EVERY group?)

now I run usermod -g plugdev peter

I think I am running the command wrong. -g is the group, where do I add the actual user?


EDIT:

ran grep plugdev /etc/group
plugdev: x : 85 : peter

Wait, why does it show me as a member, when I run group, I am not shown as a user? I even tried plugging in the HD and the same error appears!

running id peter:

gid=83(plugdev) group=83(plugdev)

So it looks like I ran the command right, but this has not solved my problem! Any other suggestions!

Last edited by Crash90; 07-20-2007 at 08:43 PM.
 
Old 07-21-2007, 04:11 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I'm not sure to be honest. Maybe see if any of the stuff on this thread can help you.
 
Old 07-21-2007, 05:58 PM   #11
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
JACKPOT!

I am continually amazed at how HELFPUL the Linux community is!

Thank you all so very much!
 
Old 07-21-2007, 06:43 PM   #12
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
JACKPOT!

I am continually amazed at how HELFPUL the Linux community is!
We do our best, but you, even with 19 posts, can do your bit too: You posed a question. Apparently it was answered. So please post the steps that solved your problem, so others searching for the same question can find the answer and this thread can die a worthy death, secure in the knowledge that the question was both offered and answered. JACKPOT! doesn't help anybody

Google indexes these threads pretty fast, so please help some other person along the lines of "Yes! I did this, then that, and then it worked ([OPTIONAL] because ....[/OPTIONAL])"

Thanks.

Last edited by tredegar; 07-21-2007 at 06:44 PM.
 
Old 07-21-2007, 07:54 PM   #13
Crash90
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
The Solution!

The way that I corrected this problem was to read through the thread that was posted above. It will lead you to the following set of commands to solve the problem.

Essentially what we are going to do is download an update (?) that will automatically add USB devices to fstab.

in a terminal run the follwing commands

wget http://vslivecd.openfmi.net/slp/a/vs...1-noarch-0.tgz


this downloads the file needed to automatically update fstab

Now, to make sure we got the whole file use the following command

http://vslivecd.openfmi.net/slp/a/vs...arch-0.tgz.md5

This is the MD5 checksum file of the first file we received. This file just insures we downloaded the ENTIRE previous file.


Now let's check that we received all of the first file, run:

md5sum -c vsupdfstab-0.1-noarch-0.tgz.md5

Linux will pop an error if it does not match

finally, let's install the package!!

su -c "installpkg vsupdfstab-0.1-noarch-0.tgz"


First notice that you will need the root password to be able to install the program! After inputting your password linux will install the program.

Now, hook up your USB stick/hard drive/etc and you should be able to access the drive!




Instructions are from

HERE
 
  


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
RHE 3 - Trouble Adding An External USB Drive mdhmi Red Hat 1 06-23-2007 09:37 PM
Adding a USB External Drive? carlosinfl Linux - Hardware 3 03-01-2007 03:06 PM
Problems adding write privileges to my External USB Drive SibLiant Linux - Newbie 1 01-03-2007 02:12 PM
Problems adding write privileges to my External USB Drive SibLiant Linux - Newbie 2 12-30-2006 03:55 PM
KDevelop 3.0 Adding external object file CrimsonBane Programming 3 12-08-2004 12:02 PM


All times are GMT -5. The time now is 03:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration