I’ve now set up two different laptops to dual-boot Windows 10 and different Linux distributions. Here’s how to ensure you maintain one Dropbox folder over both operating systems.
Assuming Windows was there first:
Dropbox will automatically set up your Dropbox folder when you run it the first time. On Windows it’s typically located in your C:\ or D:\ drive as
D:\Dropbox and on Linux, it’ll go into
home/Dropbox by default. They key to being able to specify the folder location is to do so the very first time you start Dropbox.
If you started with Windows 10, you’ll need to make sure the disk that contains your Dropbox folder is mounted in Linux so that you can access it.
You can mount the Windows disk in Linux using the terminal with these steps:
sudo fdisk -l. This will return a list of your partitions and information on them. Look at the “Size” and “Type” categories to determine which list item is the Windows disk partition that you wish to mount. Its address will look something like
Basically, this is what Linux will use to refer to your Windows drive.
sudo mkdir -p /mnt/winD (where
winD is whatever you want to call your Windows disk)
The syntax follows the format: [mount command] [file system type] [windows disk address] [target address]
sudo mount -t ntfs /dev/sda2 /mnt/winD
/etc/fstab file to mount the disk automatically when you boot Linux.
sudo vi /etc/fstab
Add the mount instruction to the file. The syntax is in the format: [windows disk address] [target address] [file system type] [options] [dump] [pass]
/dev/sda2 /mnt/winD fat32 defaults 0 2
Install Dropbox via package download or using the terminal. The completed installation will produce a GUI sign-in.
Input your credentials and wait while Dropbox does its thing. Once you see the “Congratulations!” message, stop! Don’t click the big obvious button, and read on.
Click on “Advanced Settings” and change “Dropbox location” to the Dropbox folder on your mounted drive. This should be the same folder as in your Windows setup. Ok, now you can click the big obvious “Open my Dropbox folder” button. You’re done!
Uninstall Dropbox on Linux, making sure you get all the bits at
/usr/bin/dropbox. Install Dropbox again and this time, read first! :)
I hope you found this helpful! If you have questions or want to bug me about using jpgs for screenshots, you can find me on Twitter @vickylaiio. :)
Like this post? Tweet me about it!