How to get Dropbox working on a CR48 Google Chrome netbook
So, sometimes using the web-based Dropbox interface just won’t cut it and downloading individual files from there to upload elsewhere is a pain. I thought it would be pretty cool to have a local cache of my Dropbox on my CR48, and as it turns out, that’s not too hard.
- Put your CR-48 in developer mode
- Drop into a shell (Ctrl+Alt+t, then shell),
make your home partition executable withsudo mount -i -o remount,exec /home/chronos/user
- Get the stable 32bit Dropbox tarball
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86"
- Extract the archive.
tar -xvzf dropbox.tar.gz
- Run dropboxd:
~/.dropbox-dist/dropboxd
- You should see something like this:
This client is not linked to any account... Please visit https://www.dropbox.com/cli_link?host_id=7d44a557aa58f285f2da0x67334d02c1 to link this machine.
Copy that URL by highlighting and middle clicking it, and paste it into Chrome. Log in and link your account. It will then create a ~/Dropbox folder and start syncing. If you want to put your Dropbox folder somewhere else, say on an SD card, I’d suggest softlinking ~/Dropbox.
You’ll want to edit your .bashrc to make the mount point executable and to start Dropbox. Here’s mine: http://signalnine.net/.bashrc.cr48

Andre Bluehs
February 19, 2011
The only thing with this is if you exit shell, then drop back into it, it tries to start dropboxd again. might want to put a try/catch in there. also, if you put a check to see if they have that dropbox-dist folder, then try to start it (so it will just ignore it if they don’t have it installed, maybe throw a link to this post in .bashrc), throw me a pull request and i’ll put this in the repo.
gabe
February 19, 2011
Made your suggested changes and submitted a pull request.
bheckel
February 19, 2011
i’ve tried a couple times pasting the link successfully (dropbox.com shows “localhost” added) but when i get back to shell to start the daemon it reprompts me with a new URL
do i run the sudo cmd again when i reenter shell before starting daemon?? thanks.
bheckel
February 20, 2011
Solved my problem – i missed the point that dropboxd has to continue running while the https link is hit. Didn’t realize that i could use Alt+Tab to toggle out of shell back to Chrome. I was exiting shell and crosh. Anyway, thanks for this great tutorial.
gabe
February 20, 2011
Oh, good. Yeah, I should make that bit a little more explicit in my tutorial. I am also working on getting dropbox.py working, will update when that happens.
jmitzimberg
March 4, 2011
Looks like I’m a little late to this party. I just hacked my way through installing Dropbox on the Cr-48 and I had a question. Making the user folder executable removes a layer of security in ChromeOS. Is there a way to move the binary somewhere that’s executable so we don’t have to remount?
gabe
March 5, 2011
Well, your root partition is executable but not writable by default. You can remount it read-write and put the dropbox executable there instead, but then you’ll have to reinstall it every time you update ChromeOS. I don’t think the security issue of having an executable home directory is significant.