HD Install :: HDinstall (not frugal) persistence problems



Quote (Ebo @ Mar. 25 2007,00:55)
I went to the MyDSL browser and load local, selected the missing amsn which recreated the desktop icon.  And in the UCI tool it showed this as mounted.  Are you saying that I have to do this after each system reboot.

UCIs have to be mounted. You can check to see if those are available as DSLs or tar.gzs that will load "normally" -- I think I remember seeing tcl/tk 8.3 as a DSL extension. Whether you find a more acceptable extension, use the MyDSL browser to mount, do it on a command line, or by script is up to you. It's your computer.

-----------------
#!/bin/bash
# Ebo just wants to mount his UCIs...

mydsl-load /opt/amsn-0.94.uci
mydsl-load /opt/tcltk-8.4.uci

# while you're at it, add symlink for wish (unless you have
# the /opt... path in your $PATH
ln -s /opt/tcltk-8.4/bin/wish /usr/bin/wish
--------------------

Name it to a file, chmod 755 it, and throw it in your .xinitrc or something. Or set an icon and/or menu entry for it. Or just set menu entries to load each UCI (either with the command alone or executed in aterm so you see and know it's done) -- use whichever window manager's menu as a guide.

EDITED: hats is right. And you may as well add a symlink if you're going to set up tcltk in /opt.

fluxbox menu entries...

[exec] (LOAD amsn.uci) {mydsl-load /opt/amsn-0.94.uci}
[exec] (mount amsn.uci) {sudo mount /opt/amsn-0.94.uci}
[exec] (UNmount amsn.uci) {sudo umount /opt/amsn-0.94.uci}

[exec] (LOAD tcltk-uci) {mydsl-load /opt/tcltk-8.4.uci}
[exec] (mount tcltk-uci) {sudo mount /opt/tcltk-8.4.uci}
[exec] (UNmount tcltk-uci) {sudo umount /opt/tcltk-8.4.uci}

JWM...
<Program label="LOAD amsn">mydsl-load /opt/tcltk-8.4.uci  </Program>
<Program label="mount amsn">sudo mount /opt/tcltk-8.4.uci  </Program>
<Program label="UNmount amsn">sudo umount /opt/tcltk-8.4.uci  </Program>

<Program label="LOAD tcltk"> mydsl-load /opt/tcltk-8.4.uci</Program>
<Program label="mount tcltk"> sudo mount /opt/tcltk-8.4.uci</Program>
<Program label="UNmount tcltk"> sudo umount /opt/tcltk-8.4.uci</Program>

Etc.

EDITED: hats is right. Left in mount/umount entries since that's one of the benefits of using UCIs.

1. Isn't using mydsl-load better?
2. If you want to keep the uci's contents, all you have to do is
  a. copy the /opt/program to /opt/program2 (probably want to use cp -a)
  b. unload the uci
  c. copy back /opt/program2 to /opt/program
I believe this is explained in the wiki if you need more info.

Quote
Isn't using mydsl-load better?


Uh huh, much. Thanks for catching that. I should've paid closer attention, or maybe tried something else (like sleeping). Edited changes to both posts.

EDIT: And those commands can just be added to bootlocal.sh, too, can't they?

Thanks to you all, its going to take me awhile to fully absorb all this but I think I'm back on track.

Ebo

Next Page...
original here.