Any directory.
WIth 8GB you shouldn’t need swap, but it can’t hurt.
What error do you get when you rebuild?