My gui was gone (I turned on my laptop and memtest popped out and was still there forever) so after some searching I understood that I have to reinstall grub2. I downloaded Ubuntu live cd, put it in a usb stick and booted from there. I opened the terminal and I followed these steps from here.
sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
grub-install --recheck /dev/sda
update-grub
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Grub install messages were ok.
I restarted the laptop,change boot priority and ended up in a error Can't find command 'fwsetup'
...And I did it again and I saw that after the grep-update
I came up with a warning
Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Adding boot menu entry for EFI firmware configuration done.
Is this responsible for that? What is wrong?