LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 04-15-2004, 11:27 AM   #1
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
way to run one app from a different partition?


say i have firefox installed to hda2. is it possible to excecute firefox from hda2 and let it run, even though i am logged in on hda3?
the reason i ask is because i cant make an app (not firefox) intsall on my hda3 part, but it works fine on my hda2 part.
 
Old 04-15-2004, 11:54 AM   #2
Mahony
Member
 
Registered: Jan 2004
Location: Glasgow
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173

Rep: Reputation: 30
1) What app?

2) What do you have install on hda2? Linux or Windows?
 
Old 04-15-2004, 11:24 PM   #3
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Original Poster
Rep: Reputation: 30
1) kgeo, an interactive geometry drawer
2) linux is on both


thanks for any help
 
Old 04-17-2004, 12:57 AM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
as long as the filesystem and partition is mounted and writable from the current shell session, you can run programs from that partition.

you may have to use the ./program-to-exec
" ./ "
if the program isnt in your $PATH varible.
echo $PATH
 
Old 04-17-2004, 04:19 AM   #5
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Linux doesn't divide the system up in multiple filesystems with their own root.
All is gathered under one directory structure. Provided that you have the other partition mounted the only thing you have to do to run it from there is to copy /install to a directory present on that partition.
 
Old 04-21-2004, 06:47 PM   #6
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Original Poster
Rep: Reputation: 30
so i could mount the other part, then do a
Code:
./kgeo
and it should work? or do i need to "echo $PATH" first?
 
Old 04-21-2004, 11:07 PM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
you either need to specify the full path, which would be something like
/mnt/hda2/usr/bin/kgeo
or cd to the directory the binary is in.

example
Code:
. /mnt/hda2/usr/local/bin/kgeo
It might not work if you dont have the same libraries and such installed, though.

--Shade
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting MS Office App to run with Wine adamsjw2 Linux - Software 4 03-09-2005 12:48 PM
run app as service MiniBubba Mandriva 3 09-19-2004 08:51 AM
Unable to run app as root ADJenkins Linux - Newbie 6 05-23-2004 06:23 AM
Run app in a different workspace?? kelesh Linux - General 2 02-28-2003 06:05 AM
RH 8.0, run app on startup? rivethead Linux - Software 1 02-04-2003 02:19 PM


All times are GMT -5. The time now is 07:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration