Before I start, I know that a lot of responses are going to say that I am an idiot. I KNOW, and what I did was very stupid. I’m just hoping I can fix it without losing my data. Also, I admit that I am a n00b, very much so. I apologize if this request seems stupid, I’m still a student…just graduated high school.
So I have an ASUS X550Z Laptop. I installed both Windows 10 and ParrotSec OS on it and dual-booted (using GRUB) for a while. However, I bought a new windows laptop so I decided to remove the windows installation from the drive.
I booted into Parrot, opened GParted, and deleted the ~500GB Windows Partition and the Windows Recovery partition.
cringe
It worked, now Grub loaded up and shows Parrot OS and the windows bootloader. Being the stupid one, I never selected the windows option after deleting the partitions to see what it would do…
I wasn’t satisfied though…I remembered before I dual-booted (ie: when I ONLY had Parrot OS installed), it went IMMEDIATELY to the boot sequence instead of Grub. I found a forum post saying that after deleting the partitions, running update-grub should result in ONLY the linux partition showing, thus bypassing the grub screen…that sounded a bit weird to me but I was tired and just wanted to finish before bed.
I ran the command, only to see that the last line said that Windows bootloader was found on sda2 (or something like that). STUPIDLY AND OH SO STUPIDLY, I used GParted to format sda2, since all the linux lines shown after running update-grub were on different partitions. Suddenly, my bios does not see a bootable device. Following tutorials on mounting the drive while booting off a live usb and using chroot to update or install grub have not worked.
I even tried using the Boot Repair disk, but it would not help, telling me that I needed a partition with the flag ‘bios_grub’. I did save the boot info script, and it is linked here: https://pastebin.com/EPC6fT71
I am at a loss. I can boot into a live usb and copy off my files and a list of installed programs, but I would MUCH rather fix the current install.
On a much dumber note, would it just be possible to reinstall Parrot OS and copy all the files from the old /sda4 onto the new partition created by the fresh install?
I don’t remember the version I am running, but I just ran apt-get update on July 22, one day before this fiasco.
Thanks in advance! Love Parrot OS!