Use qBittorrent in a dualboot Linux/Windows
Posted: Fri Aug 16, 2013 3:01 pm
I using both Windows and Linux in dualboot (Windows 7 Ultimate 64-bit - Linux Mint 15 "olivia" - MATE 64-bit), I want to ask if is possible to share the session state between the qBittorent versions of the respective operating systems. The current version of qBittorent (v3.0.11) is already installed in the two operating systems.
I explain me better with an example, if in Windows I have downloaded multiple files that are at any percentual of downloading, can I resume the download status of these files without loss of data in Linux (or viceversa)?
I have thinked to do a mount of the Windows partition, where the configuration data are stored, in an autoexec script which is called by the rc.local file of Linux in a way like that:
Content of the rc.local file:
Content of Config.sh script:
note: the association between the label disk_c and the physical disk is done in the /etc/fstab file:
But here come the problems, because the configuration files of the two qBittorent versions have different extensions: .conf versus .ini
qBittorrent.ini and qBittorrent.conf aren't problematic, because I have doing a comparison and the configuration strings are similar.
The really big problem is the difference between qBittorrent-resume.ini versus qBittorrent-resume.conf.
I don't know if a rename of the extension of this file at boot time is a right operation.
I explain me better with an example, if in Windows I have downloaded multiple files that are at any percentual of downloading, can I resume the download status of these files without loss of data in Linux (or viceversa)?
I have thinked to do a mount of the Windows partition, where the configuration data are stored, in an autoexec script which is called by the rc.local file of Linux in a way like that:
Content of the rc.local file:
Code: Select all
~/autoexec/Config.sh
exit 0
Code: Select all
#.config
mount --rbind /media/disk_c/Users/<username>/AppData/Roaming/qBittorrent/ ~/.config/qBittorrent/
#.local
mount --rbind /media/disk_c/Users/<username>/AppData/Local/qBittorrent/ ~/.local/share/data/qBittorrent
Code: Select all
# C:\ disk of Windows 7
UUID="F800419500415BAE" /media/disk_c ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
qBittorrent.ini and qBittorrent.conf aren't problematic, because I have doing a comparison and the configuration strings are similar.
The really big problem is the difference between qBittorrent-resume.ini versus qBittorrent-resume.conf.
I don't know if a rename of the extension of this file at boot time is a right operation.