Interrupted an xfce install to restart (ram problem) and i only can get a static terminal cursor on boot

yesterday my computer was running REALLY slow (ram problem) and i had an xfce install running (i thought it was the desktop environment) but i restarted because it was running REALLY SLOWLY and i get a static terminal cursor
i looked at a website that said to add ‘3’ to grub options at a line and that did work but that only gets a terminal and i cant reinstall anything because theres no internet in the terminal
can someoje help pls

update i reinstalled with the home folder intact so i guess its fine now