tibasic
June 2nd, 2009, 03:02 AM
Hey Everyone,
How can I install an application onto another partition and run it from there?
What do I mean?
Ok, just for kicks, let say I have "/dev/sda1" mounted to "/"
"/dev/sda2" is mounted to "/partition2"
Would I use "dpkg --instdir=/partition2 -i myProgram.deb"?
Also I'm assuming to run this program I would have to run:
"/partition2/bin/myProgram.sh"
I would like to be able to install programs onto an usb drive so I can just stick my drive into any computer and run a program without have to install, run it, uninstall, etc...
(I know that /dev/sda2 is not by any means a usb device)
How can I install an application onto another partition and run it from there?
What do I mean?
Ok, just for kicks, let say I have "/dev/sda1" mounted to "/"
"/dev/sda2" is mounted to "/partition2"
Would I use "dpkg --instdir=/partition2 -i myProgram.deb"?
Also I'm assuming to run this program I would have to run:
"/partition2/bin/myProgram.sh"
I would like to be able to install programs onto an usb drive so I can just stick my drive into any computer and run a program without have to install, run it, uninstall, etc...
(I know that /dev/sda2 is not by any means a usb device)