El Capitan Installer says "Cannot install because recovery partition would be too large"
I currently have a macbook pro with snow leopard installed. I want to upgrade to Mojave, so I tried to upgrade to el capitan first. When I ran the installer, it did not install for some reason; after it restarted, the computer froze, so I made an install usb with the installesd.dmg located in the Install OS X El Capitan.app. I used disk utility to restore the basesystem.dmg inside installesd.dmg to the usb, then copied the basesystem chunklist and the basesystem.dmg to the root of the usb drive. I then booted from the drive. It booted fine and the installer showed up, but when I clicked install, it showed a progress bar, then said "OS X cannot be installed. The recovery partition would be too large" My storage is about 320 gb, of which I used about 50 gb.
Please help me.
Thanks in advance,
pie05
MacBook Pro, Mac OS X (10.6.8)