I am building a new system that unfortunately requires Windows so I need a dual boot. I am afraid I have not seen things spelled out in detail, so I’d like to ensure I don’t screw up any existing data as I already use SyncThing to share a good amount of data between my machines.
I have separate NTFS and ext4 boot partitions for booting Windows and Linux respectively. A built a third partition which is NTFS and is accessed by both Linux and Windows. At present, I have SyncThing running only under Linux and the directories are up to date.
For my purposes I have created the following which are the same data just with different names for the two OSes:
/mnt/Shares << Linux ntfs formatted /dev/sdb1
D:\ << Windows ntfs drive
, and
/mnt/Shares/SyncData << Linux SyncThing shared folder
D:\SyncData << Windows SyncThing shared directory
, and
/mnt/Shares/synconfig << Linux Syncthing configuration data
D:\synconfig << Windows SyncThing configuration data
So if I understand things what I need to do is:
-
Shut down SyncThing (maybe not strictly necessary but seems a reasonable precaution.)
-
Copy the contents of /home/MyUserName/.config/syncthing to my place on the shares NTFS partition, namely /mnt/Shares/synconfig. This is not a directory that is synchronized by SyncThing but a directory that will appear for both Linux and Windows.
-
Set the Linux start command to point the “-home” parameter to the directory create in the above step such as: /usr/bin/syncthing -no-browser -home="/mnt/Shares/synconfig" Instead of the usual: /usr/bin/syncthing -no-browser -home="/home/MyUserName/.config/syncthing"
For Windows, do I add a similar -home in the batch file to start SyncThing? Something like: start “Syncthing” syncthing.exe -no-console -no-browser -home=“D:\synconfig”
Probably something others would not be afraid to experiment with, but, as I said I’m already sharing a fair amount of data and don’t want to loose it.