I wanted to add windows as a dual boot option to my existing linux system. Since all the tutorials mentioned having a dedicated partition for the installation, I used fdisk to create a new primary partition. However it did throw an error (cannot recall frustratingly) that Google said would be solved by rebooting. I tried rebooting and bam, initramfs screen that told me "alert /dev/mapper/ubuntu--vg-root does not exist". Can anybody help me restore my system?
I have a usb stick from which I can execute terminal commands by trying ubuntu.
As per @PonJar 's comment, adding lsblk output.
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.8G 1 loop /rofs
loop1 7:1 0 86.9M 1 loop /snap/core/4917
loop2 7:2 0 34.7M 1 loop /snap/gtk-common-themes/319
loop3 7:3 0 140.9M 1 loop /snap/gnome-3-26-1604/70
loop4 7:4 0 2.3M 1 loop /snap/gnome-calculator/180
loop5 7:5 0 13M 1 loop /snap/gnome-characters/103
loop6 7:6 0 14.5M 1 loop /snap/gnome-logs/37
loop7 7:7 0 3.7M 1 loop /snap/gnome-system-monitor/51
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 512M 0 part
├─sda2 8:2 0 732M 0 part
└─sda3 8:3 0 930.3G 0 part
sdb 8:16 1 14.5G 0 disk
└─sdb1 8:17 1 14.5G 0 part /cdrom
My ubuntu installation was running in legacy first mode.
Please also find below the error shown by GParted.
GParted Snap
GParted error desc