0

Please, help me, I really need it. I have laptop Lenovo Legion y530H, it is quite problematic laptop for linux but I installed it with official guide.

Laptop has 1000Gb hdd and 256Gb ssd. 
I used 500Gb hdd + 100Gb ssd + 16Gb ssd for swap.

I wanted to use hdd for storing mediafiles and ssd for everything else. But I don't remember how ssd was mounted: as / or /home.

Everything worked excellent. But today I decided to install windows, downloaded iso, created boot usb, went to bios and set 'use efi first' and set my usb at first position. When windows asked to choose a disk I tried to choose last 100gb on ssd but Windows could not to be installed there, so I chose 500gb hdd. But had error windows can't be installed because this disk use mbr but windows need gpt. So I opened terminal and executed

diskpart
list disk
select disk 0 (hdd)
clean
convert gpt
exit

Yes, it deleted all my files on hdd but they are not important. After that I installed windows on hdd, restarted laptop... and can't find ubuntu.

I really need your help because I have important data there. Which solutions are good for me:

  1. recover old system <- the best solution
  2. somehow upload important data to cloud, remove everything and reinstall linux again (windows doesn't matter)

I thought that second is possible with 'ubuntu test mode' so I created boot usb with the same version ubuntu (18.04lts) but after few seconds loading it just freeze. I don't know what to do. I tried two programs to create boot usb: mac balenaEther and mac uNetBootIn and formatted usb to mbr fat.

I hope somebody here know how to recover old linux after changing mbr to gpt.

P.S. When I try to load from boot usb I have next errors, then logo of ubuntu with loading which freeze after few seconds: enter image description here

13
  • 1
    Is Ubuntu installed in UEFI or BIOS boot mode. Now that Windows is UEFI, better to have Ubuntu in UEFI mode, but then you also should have gpt partitioning. If you installed in BIOS/CSM/Legacy mode you may still be able to boot but boot drive? Lenovo Legion Y530-15ICH ubuntuforums.org/showthread.php?t=2425907 Lenovo Gamer Legion Y530 askubuntu.com/questions/1161675/…
    – oldfred
    Commented Mar 29, 2020 at 2:58
  • I am sure on 90% that ubuntu was installed on 'legacy mode'. I don't understand your question "If you installed in BIOS/CSM/Legacy mode you may still be able to boot but boot drive? ". Now if I try to load from ubuntu boot usb - laptop freezes in both cases: in legacy mode and in efi-mode. And its scare me a little.. I tried even load windows it doesn't work too now. I tried to do it with windows boot usb and get error too... My laptop now is just peace of plastic and metal...
    – Farad
    Commented Mar 29, 2020 at 6:47
  • it can be issue with gpu drivers too. It is famous problem with that laptop. Could gpu drivers installed on windows affects on linux booting? Or it is just an issue with mbr/gpt?
    – Farad
    Commented Mar 29, 2020 at 6:49
  • Did your install of Windows convert drive to gpt, that would in effect erase Ubuntu as it repartitioned drive, not converting from MBR to gpt. And even if converted, the UUIDs would all be different & Ubuntu would need a lot of updates for new UUIDs, grub & fstab at minimum. You have to have system set to boot in same mode you installed. If Windows is UEFI, UEFI boot mode & then select Windows entry from boot menu. IF BIOS you select a drive from UEFI boot menu. Default boot mode for installed system is separate from selection of boot mode on USB flash drive.
    – oldfred
    Commented Mar 29, 2020 at 14:01
  • 1
    Does this answer your question? How can I repair grub? (How to get Ubuntu back after installing Windows?)
    – mchid
    Commented Mar 29, 2020 at 22:35

0

You must log in to answer this question.

Browse other questions tagged .