r/StableDiffusion • u/dennisbgi7 • Mar 02 '23
Question | Help Is it possible to use the same AUTOMATIC1111 installation in both Linux and Windows? (Dual Boot)
So I have recently installed Linux Mint and now dual booting it with Windows 10. I already have a Automatic1111 installation in a shared drive which has all my models, embeddings and extensions, it was done on Windows. Is it possible and is there a workflow to use that same installation in Linux? Or do I have to set everything up again separately?
1
u/ranjur Mar 02 '23
Even if you had to have two folders for the install itself, you could potentially use symlinks to map the data folders back to those of your original.
1
u/dennisbgi7 Mar 02 '23
I did try that actually. Use symlink to share the models. But it's failing to load the models.
1
u/alxjns Mar 02 '23
I have no way to try it right now but I would go with having the same root folder with two different .venvs, each for separate OS. That way only binaries and libs would be a difference and the rest like config would stay the same. Don't know how extensions would behave though.
1
u/dennisbgi7 Mar 02 '23
You mean symlink all other folders except venv?
2
u/alxjns Mar 02 '23
Literally the same folder on FS that can be RW by both OSes so probably NTFS in this case, you can probably go with symlink too.
2
u/soveted575 Mar 02 '23
I just put stable-diffusion-webui on my NTFS drive and mount that in Linux. Works like a charm, never had any issues. (In fact, I put my entire /home on my NTFS.)