Open a company in Portugal with GV residency

Hello. I’m already with GV residency.
Which type of formation below is the best for me to have the easier possibility to transfer my GV visa to D2, D3 or D7 visa? Does D7 visa works for income from my Portuguese company or D7 only for income outside of Portugal? Thank you.
Individual Entrepreneur (Empresário em Nome Individual)
Individual Limited Liability Establishment (Estabelecimento Individual de Responsabilidade Limitada)
Sole Proprietorship by Shares (Sociedade Unipessoal por Quotas)
General Partnership (Sociedade em Nome Coletivo)
Private Limited Company (Sociedade por Quotas)
Public Limited Company (Sociedade Anónima)
Limited partnership (Sociedade em Comandita)