keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
902 stars 37 forks source link

How to select an install drive for a Keybase install #3981

Open HuldaNystrom opened 3 years ago

HuldaNystrom commented 3 years ago

I'm trying to install Keybase on my Win7 box, but only have a very small SSD C: (OS) drive with just under 22 Gb available. Keybase sez not enough room, but gives me no option to select another drive. I have an internal drive that has 73+ Gb available, but don't see any way of telling the install program about it. Help!

GitGoppy commented 3 years ago

Hey, so I learned a little trick. Keybase stores all of it's install files in 2 locations. in "C:\Users(yourusername)\AppData\Roaming\Keybase" "C:\Users(yourusername)\AppData\Local\Keybase"

So what you do is uninstall keybase and make sure to delete both of those folders. Ok so the NTFS file system on windows and windows itself (including win 7) support a feature called symlinks. You can basically create a shortcut for a file or folder in a different location from the actual file or folder.

We will create 2 folders on your second drive and then create shortcuts with the original folder names for keybase. So go to your second drive and make 2 folders, I'll assume your second drive is D: and the folder names you made are 1 and 2

Open command prompt AS ADMINISTRATOR and enter commands: mklink /J "C:\Users\(yourusername)\AppData\Roaming\Keybase" "D:\1" mklink /J "C:\Users\(yourusername)\AppData\Local\Keybase" "D:\2"

Now Install keybase and all keybase files will be on the second drive and keybase will work perfectly without issues.

dnvrdave commented 3 years ago

This answer helped me get Keybase working again, by deleting those two directories and reinstalling (I use only the default install drive). I didn't see the AppData directory until I typed %appdata% in a File Explorer window. I also revoked the device before reinstalling; maybe that helped too?