Thread 'Drive Change'

Message boards : API : Drive Change
Message board moderation

To post messages, you must log in.

AuthorMessage
Tim

Send message
Joined: 23 Oct 06
Posts: 1
United States
Message 6137 - Posted: 23 Oct 2006, 11:48:38 UTC

My account is set up on my D: drive which has only 38gig space free, whereas my C: drive has almost 200gigabytes free space. Is there any way of changing which drive the program uses without doing an uninstall and reinstall?

Thank You
ID: 6137 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15558
Netherlands
Message 6140 - Posted: 23 Oct 2006, 13:02:03 UTC
Last modified: 23 Oct 2006, 13:46:03 UTC

You can move over your whole BOINC directory to the other drive.
Then all you need to change is the drive letter and directory name on the properties of the shortcut link to Boinc Manager in your Startup folder. (if you have Windows)

That is, if you didn't install BOINC as a service, for then you do need to uninstall & reinstall.

May I ask what project or projects you are attached to that you need more than 38GB of space? BOINC isn't that big and unless you are attached to ALL CPDN projects with a cache of 10 days worth of work... I don't see how you'd fill up this space.
ID: 6140 · Report as offensive
Chris

Send message
Joined: 9 Sep 08
Posts: 1
United States
Message 20053 - Posted: 9 Sep 2008, 1:34:00 UTC

How would I do a drive change to my external drive on OS X?
ID: 20053 · Report as offensive
Sam

Send message
Joined: 15 Sep 08
Posts: 2
United Kingdom
Message 20258 - Posted: 15 Sep 2008, 8:51:59 UTC

I too would like to know how to change drives on a Mac. I'm running OS 10.5.4 and when I run the installer (for BOINC 6.2.18) it says that I cannot install on any of my external disk drives because "You can only install this software on the running Mac OS X volume." BTW I like the grammar ;-)
ID: 20258 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15558
Netherlands
Message 20270 - Posted: 15 Sep 2008, 22:47:08 UTC
Last modified: 16 Sep 2008, 0:33:27 UTC

@Chris and Sam.

I asked the developer about this and here's what he answered me:
Charlie Fenton wrote:
This is complicated a bit by the need to set up the special permissions for BOINC's sandbox security, but it can be done. These instructions are provided with no warranty; use them at your own risk.

It's a bit unclear whether the you want to move the BOINCManager application or the BOINC Data directory to an external drive, or both.

Here are instructions for moving both (you can move either or both):

[1] Copy the BOINC Data directory from the "/Library/Application Support/" directory to the desired drive. Rename the original BOINC Data directory or move it to a different directory on your boot drive a backup safety measure. In any case, you must now not have a "/Library/Application Support/BOINC Data" directory before the next step.

[2] Create a symbolic link to the new BOINC Data directory in place of the old one. Enter the following in the Terminal application:
sudo ln -fhs "{newDataPath}/BOINC Data" "/Library/Application Support/BOINC Data"
Substituting your new path for {newDataPath}; for example: "Volumes/newDrive/myData"

[3] Copy BOINCManager.app from "/Applications/BOINCManager.app" to the desired drive, and move the original into the trash. Create a symbolic link to the new copy in place of the old one. Enter the following in the Terminal application:
sudo ln -fhs {newAppPath}/BOINCManager.app /Applications/BOINCManager.app
Substituting your new path for {newAppPath}; for example: "Volumes/newDrive/myApps"

IMPORTANT: you _must_ create symbolic links. Macintosh aliases created with the Finder will _not_ work!

[4] Run the script Mac_SA_Secure.sh to set up proper permissions at the new locations. Enter the following in the Terminal application:
cd "{newDataPath}/BOINC Data"
sudo sh {path}/Mac_SA_Secure.sh
where {newDataPath} is as above and {path} is the path to the Mac_SA_Secure.sh script. (correction of Charlie's post below already put in)

You can get download Mac_SA_Secure.sh script from http://boinc.berkeley.edu/mac_build/Mac_SA_Secure.sh. This script is also included as part of the Mac OSX "Unix command-line version" downloads from http://boinc.berkeley.edu/download_all.php.

IMPORTANT: Each time you run the installer, you will need to repeat this. The installer will replace the soft link to the BOINC Data directory with a new initialized BOINC Data directory with no projects attached. You must move that new initialized BOINC Data directory to the trash and repeat steps [2] through [4].

For safety, always make a backup copy of your BOINC Data before performing these steps.

Cheers,
--Charlie


Hope this helps. :-)
ID: 20270 · Report as offensive
Charlie Fenton
Project developer

Send message
Joined: 17 Jul 06
Posts: 287
United States
Message 20272 - Posted: 16 Sep 2008, 0:00:09 UTC - in response to Message 20270.  

[4] Run the script Mac_SA_Secure.sh to set up proper permissions at the new locations. Enter the following in the Terminal application:
cd "{newDataPath}/BOINC Data"
sh sudo sh {path}/Mac_SA_Secure.sh
where {newDataPath} is as above and {path} is the path to the Mac_SA_Secure.sh script.


Correction: that should be
sudo sh {path}/Mac_SA_Secure.sh

Cheers,
--Charlie
Charlie Fenton
BOINC / SETI@home Macintosh & Windows Programmer
ID: 20272 · Report as offensive
Sam

Send message
Joined: 15 Sep 08
Posts: 2
United Kingdom
Message 20275 - Posted: 16 Sep 2008, 4:59:42 UTC - in response to Message 20272.  

Great! I'll give it a try. Thanks very much.
ID: 20275 · Report as offensive

Message boards : API : Drive Change

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.