Run working wine instance from another harddrive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a working wine installation on old harddrive. There
is root directory (/) on one partition and /home/username
directory on another partition.



I installed wine on new harddrive and when I run it it gives
me some OLE error.



How can I run the old version of wine, so that I mount the
old partitions and run the version that is on the old harddrive?







share|improve this question
























    up vote
    0
    down vote

    favorite












    I have a working wine installation on old harddrive. There
    is root directory (/) on one partition and /home/username
    directory on another partition.



    I installed wine on new harddrive and when I run it it gives
    me some OLE error.



    How can I run the old version of wine, so that I mount the
    old partitions and run the version that is on the old harddrive?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a working wine installation on old harddrive. There
      is root directory (/) on one partition and /home/username
      directory on another partition.



      I installed wine on new harddrive and when I run it it gives
      me some OLE error.



      How can I run the old version of wine, so that I mount the
      old partitions and run the version that is on the old harddrive?







      share|improve this question












      I have a working wine installation on old harddrive. There
      is root directory (/) on one partition and /home/username
      directory on another partition.



      I installed wine on new harddrive and when I run it it gives
      me some OLE error.



      How can I run the old version of wine, so that I mount the
      old partitions and run the version that is on the old harddrive?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 22 '17 at 12:25









      xralf

      1,8231865116




      1,8231865116




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Likely this problem relates to your WINE requiring libraries which also live under your /home/username file hierarchy.



          If I required WINE for a project, I'd likely us Ubuntu + find a PPA which packaged the most current version of WINE. This way I could just install WINE anywhere + have it work.



          That said, you can likely fix up your Library path as follows.



          # Find all libraries in your WINE executable
          ldd path-to-your-handrolled-username-installed-WINE

          # record all directories reported
          # note: also run ldd on any non-system installed libraries
          # add list of libraries to your ~/.bashrc or equivalent,
          # listing every non standard path
          export LD_LIBRARY_PATH=path[:path...]


          Setting this in ~/.bashrc will work + may crash other programs.



          Better to create a script... maybe... wine_start, which export LD_LIBRARY_PATH + then executes WINE. This way you can collect all these library path settings into a script, rather than polluting your default runtime environment.






          share|improve this answer




















          • you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
            – Rui F Ribeiro
            Oct 22 '17 at 12:49











          • I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
            – xralf
            Oct 22 '17 at 15:10











          • What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
            – xralf
            Oct 22 '17 at 15:13











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399707%2frun-working-wine-instance-from-another-harddrive%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          Likely this problem relates to your WINE requiring libraries which also live under your /home/username file hierarchy.



          If I required WINE for a project, I'd likely us Ubuntu + find a PPA which packaged the most current version of WINE. This way I could just install WINE anywhere + have it work.



          That said, you can likely fix up your Library path as follows.



          # Find all libraries in your WINE executable
          ldd path-to-your-handrolled-username-installed-WINE

          # record all directories reported
          # note: also run ldd on any non-system installed libraries
          # add list of libraries to your ~/.bashrc or equivalent,
          # listing every non standard path
          export LD_LIBRARY_PATH=path[:path...]


          Setting this in ~/.bashrc will work + may crash other programs.



          Better to create a script... maybe... wine_start, which export LD_LIBRARY_PATH + then executes WINE. This way you can collect all these library path settings into a script, rather than polluting your default runtime environment.






          share|improve this answer




















          • you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
            – Rui F Ribeiro
            Oct 22 '17 at 12:49











          • I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
            – xralf
            Oct 22 '17 at 15:10











          • What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
            – xralf
            Oct 22 '17 at 15:13















          up vote
          1
          down vote













          Likely this problem relates to your WINE requiring libraries which also live under your /home/username file hierarchy.



          If I required WINE for a project, I'd likely us Ubuntu + find a PPA which packaged the most current version of WINE. This way I could just install WINE anywhere + have it work.



          That said, you can likely fix up your Library path as follows.



          # Find all libraries in your WINE executable
          ldd path-to-your-handrolled-username-installed-WINE

          # record all directories reported
          # note: also run ldd on any non-system installed libraries
          # add list of libraries to your ~/.bashrc or equivalent,
          # listing every non standard path
          export LD_LIBRARY_PATH=path[:path...]


          Setting this in ~/.bashrc will work + may crash other programs.



          Better to create a script... maybe... wine_start, which export LD_LIBRARY_PATH + then executes WINE. This way you can collect all these library path settings into a script, rather than polluting your default runtime environment.






          share|improve this answer




















          • you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
            – Rui F Ribeiro
            Oct 22 '17 at 12:49











          • I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
            – xralf
            Oct 22 '17 at 15:10











          • What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
            – xralf
            Oct 22 '17 at 15:13













          up vote
          1
          down vote










          up vote
          1
          down vote









          Likely this problem relates to your WINE requiring libraries which also live under your /home/username file hierarchy.



          If I required WINE for a project, I'd likely us Ubuntu + find a PPA which packaged the most current version of WINE. This way I could just install WINE anywhere + have it work.



          That said, you can likely fix up your Library path as follows.



          # Find all libraries in your WINE executable
          ldd path-to-your-handrolled-username-installed-WINE

          # record all directories reported
          # note: also run ldd on any non-system installed libraries
          # add list of libraries to your ~/.bashrc or equivalent,
          # listing every non standard path
          export LD_LIBRARY_PATH=path[:path...]


          Setting this in ~/.bashrc will work + may crash other programs.



          Better to create a script... maybe... wine_start, which export LD_LIBRARY_PATH + then executes WINE. This way you can collect all these library path settings into a script, rather than polluting your default runtime environment.






          share|improve this answer












          Likely this problem relates to your WINE requiring libraries which also live under your /home/username file hierarchy.



          If I required WINE for a project, I'd likely us Ubuntu + find a PPA which packaged the most current version of WINE. This way I could just install WINE anywhere + have it work.



          That said, you can likely fix up your Library path as follows.



          # Find all libraries in your WINE executable
          ldd path-to-your-handrolled-username-installed-WINE

          # record all directories reported
          # note: also run ldd on any non-system installed libraries
          # add list of libraries to your ~/.bashrc or equivalent,
          # listing every non standard path
          export LD_LIBRARY_PATH=path[:path...]


          Setting this in ~/.bashrc will work + may crash other programs.



          Better to create a script... maybe... wine_start, which export LD_LIBRARY_PATH + then executes WINE. This way you can collect all these library path settings into a script, rather than polluting your default runtime environment.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 22 '17 at 12:42









          David Favor

          33014




          33014











          • you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
            – Rui F Ribeiro
            Oct 22 '17 at 12:49











          • I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
            – xralf
            Oct 22 '17 at 15:10











          • What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
            – xralf
            Oct 22 '17 at 15:13

















          • you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
            – Rui F Ribeiro
            Oct 22 '17 at 12:49











          • I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
            – xralf
            Oct 22 '17 at 15:10











          • What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
            – xralf
            Oct 22 '17 at 15:13
















          you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
          – Rui F Ribeiro
          Oct 22 '17 at 12:49





          you are assuming things. The OP did not give enough data; we do not know neither his OS (could be MacOS) nor wether it was manually installled or a package, or if it lives at /home, /usr/local/bin or wherever-
          – Rui F Ribeiro
          Oct 22 '17 at 12:49













          I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
          – xralf
          Oct 22 '17 at 15:10





          I mounted the partition with wine. $ sudo mount /dev/sdb1 /media/tb and then cd /media/tb/usr/bin. ldd ./wine shows linux-gate.so.1 => (0xb7782000) libwine.so.1 => /media/tb/usr/bin/./../lib/i386-linux-gnu/libwine.so.1 (0xb763c000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7607000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7450000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb744b000) /lib/ld-linux.so.2 (0x80029000)
          – xralf
          Oct 22 '17 at 15:10













          What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
          – xralf
          Oct 22 '17 at 15:13





          What I would like to do is. Always run wine from /media/tb/usr/bin/wine and use the config files as follows: mount /dev/sdb5 /media/tb2. cd /media/tb2/username/.wine . I would like to connect /media/tb/usr/bin/wine with /media/tb2/username/.wine directory
          – xralf
          Oct 22 '17 at 15:13


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399707%2frun-working-wine-instance-from-another-harddrive%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)