Quote:
Originally Posted by lilliput
If think I have found the simple way to install some application ..
but i have still a little pb !!
the command I'd used are :
lndir /KNOPPIX/usr /mnt/hda2/install_dir
mount --bind /mnt/hda2/install_dir /usr
but the problem is that I can not access to much of applications after ...
Why ?? /KNOPPIX/usr is different from /usr or is something bad on command ..?
So I return to my try .. and doc yeap MAN PAGE !!!! I love IT LOL ;-)
__________________________________________________ ___________
Un lilliputien en délire ....
It doesn't appear that you have really done anything different. Currently /usr is just linked to /Knoppix/usr. What you did was create a link to /Knoppix/usr, mounted it in a different directory and then remounted it as /usr. The only way the above would work (with persistent home) would be if you had enough hard drive space to do something like this:
mkdir /home/knoppix/.root
cp -R /Knoppix/usr /home/knoppix/.root/
mount --bind /home/knoppix/.root/usr /usr
However /usr is huge and it would seem you would need a VERY large usb pen drive to do it this way. Now if you could install a program chroot /home/knoppix/.root then have the system be able to check there first then goto /, I think that would be more efficient. This is easily done via the PATH statement as long as it is checked first for executables, however, where I get lost are things like lib, etc and other crucial directories and links, especially if you have to add a module to the kernel (such as for a winmodem.)