LinuxQuestions.org
Help answer threads with 0 replies.
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 08-23-2004, 05:48 AM   #1
sajikwt
LQ Newbie
 
Registered: Aug 2004
Location: INDIA
Posts: 2

Rep: Reputation: 0
Post External Hard Disk


Hi,
Pleae can anybody explain how to install a software in my USB external harddisk .

Sajid
 
Old 08-23-2004, 06:36 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
A USB external harddisk appears as a generic USB Mass Storage Device.

Normally, you just plug it in, and the system recognises it and mounts it somewhere under /media/. If you don't have automounting turned on, then you will have to mount it yourself with, say:
Code:
su -c 'mount /dev/sd0 /media/ -o user'
. Either way, you will need to unmount the device before you take it out.

For that to work, you need to have the relevant kernel modules available (most modern distros will have).

As to installing software on it, once it's mounted you can just install there like any other directory. If you're sharing the software between several computers, then you may want to compile it with the -static option to prevent problems related to having different library versions.

Hope that helps,

— Robert J. Lee
 
Old 08-23-2004, 04:32 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Moved: This thread is more suitable in hardware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-24-2004, 03:26 AM   #4
sajikwt
LQ Newbie
 
Registered: Aug 2004
Location: INDIA
Posts: 2

Original Poster
Rep: Reputation: 0
I was trying to install Oracle 11i Appliaction on USB harddisk., the steps folowed is I create a user Oracle and login with that user. But while selecting the mounted hard disk its giving a error ..permission denied to create /home/oracle/inventory directory....

Please help
 
Old 08-24-2004, 03:43 AM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Quote:
Originally posted by sajikwt
I was trying to install Oracle 11i Appliaction on USB harddisk., the steps folowed is I create a user Oracle and login with that user. But while selecting the mounted hard disk its giving a error ..permission denied to create /home/oracle/inventory directory....

Please help
Where is your USB hard-disk mapped to?

In order to create a directory on a filesystem, you need to have read (r), write (w) and execute (x) permissions for the parent directory. If you use
Code:
ls -ld /home/oracle
then you can see the ownership and permissions for that directory. It should say something like:

Code:
drwxr-x--- Oracle users /home/oracle/
The initial ‘d’ means this is a directory. The first three letters (rwx) means that the owning user has read,write and execute access to the directory. The next three (r-x) mean that the owning group only has read and execute access. The next three (---) mean that no-one else can access the directory. The next word is the owning user (Oracle) and group (users).

You can change the permissions with the
Code:
chmod
command, and the ownership with
Code:
chown
You need to make sure which user is trying to create the directory. It may be that the setup for Oracle 11i will automatically set up users and run as those; see the installation instructions.

Also, please note that filenames and user-names are case-sensitive; “Oracle” is a different user from “oracle”.
 
  


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
Mounting XP on the External hard disk.. fieldyweb Linux - Laptop and Netbook 0 11-06-2005 07:21 AM
External USB Hard Disk Nishy Linux - Hardware 2 09-28-2005 06:35 AM
mounting external hard disk ankit_mcgill Linux - Newbie 2 09-03-2005 11:04 PM
external hard disk interface tcma Linux - Hardware 1 12-06-2004 08:54 PM
installing linux in an external hard disk Arythan Linux - Newbie 1 08-31-2004 05:22 AM

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

All times are GMT -5. The time now is 06:01 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
Open Source Consulting | Domain Registration