0

boot-info: http://paste.ubuntu.com/p/RfkJWSpQ4Z/

Sorry for asking this question again because it has been asked and answered multiple times but I could not find a solution that fits my problem.

I have bought a lenovo legion y530 (nvidia geforce gtx 1050ti and intel core i7 8th gen) almost a year ago and I have been trying to install a linux distribution since the day I bought it :)

First, I cant install it on legacy mode because every time I try, it only gives a black screen.

For UEFI mode, it works perfectly and I always get at the end of the installation but every time it gives a grub2 error where it says it cant install it on /target.

I know it is installed, I see ubuntu on bios but when I boot it, I see grub terminal(and boot command gives something like "you need to load kernel!").

Could someone please help me install a linux distro please. I tried ubuntu, kali, debian, those are which I remember.

Tails works fine until the welcome screen where I click on start and it freezes.

I can not understand why I am the only one in my class who can't install linux and it has been very difficult for me because I am a software engineering student.

Thank you very much(for even reading this much :))

K7AAY
  • 17,705

1 Answers1

1

It looks like you need to install grub2 manually:

  • Boot from your ubuntu installation usb flashdrive with Try without installing option

  • Open terminal and do the next:

    sudo mount /dev/sda5 /mnt
    sudo mount /dev/sda3 /mnt/boot/efi
    for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
    sudo chroot /mnt
    grub-install /dev/sda
    update-grub 
    

Reference

But I recommend you to backup all important data before this. It should not destroy your data. But to avoid stress better do backups of important data every time you're working with partitions.

Gryu
  • 8,002
  • 9
  • 37
  • 53