Failed Dual Boot messed up my main operating system

The files are still there as it says there is 300 gbs of data, just when i boot into it, it says something about grove recovery mode or something, also there is no option to boot into ubuntu even though it says its installed, when I installed it, i created 2 partitions, one was a 10gb efi and a 30gb ext2 that "has" linux on it, when installing linux it gave me a "fatal" error then said it was finished (note, dont know much about linux, don't use advanced terms or stuff)

6

1 Answer

I believe you messed up your entire HDD by not following any specific guide for dual-boot.

However, considering the fact that your system is dead and nothing gets booted, the only workaround solution is: Reinstalling both Windows and Ubuntu from scratch.

Note: You will lose out everything that's on your HDD.

Follow these steps:

  • Download gParted, your chosen Windows OS (your preferred version ISO file), Ubuntu OS (preferred version ISO image) and Rufus from their official websites.

  • Create a bootable USB for gParted using Rufus & a separate bootable USB for Windows OS.

  • Plugin the bootable USB into your system & boot into gParted.Use this guide to avoid messing anything else: How to use gParted: A quick Guide

  • Follow the instructions of above guide & remove all the partitions from your HDD, i.e., Format your HDD completely.

  • Once done, exit gParted and use your Windows bootable USB to boot into Windows OS and install it on your system.

  • Once Windows gets successfully installed, use Rufus again to create another bootable USB with Ubuntu OS

  • Follow this guide here to install Ubuntu alongside Windows OS & follow the instructions carefully:

  • You can decide the partition size for Ubuntu basis your requirements. You don't have to necessarily keep it same as shown in the guide.

  • Once you are done installing Ubuntu, perform the following steps to setup your grub menu:

  • Boot into Windows OS again

  • Press Windows+R together to open the "Run" dialog.

  • Type cmd and press Ctrl+Shift+Enter to start the command prompt as Administrator. Select "Yes" to the UAC "Do you want to allow ..." dialog.

  • Alternatively, right-click on the Start Menu and select "Windows PowerShell (Admin)" (under Windows 10) or "Windows Terminal (Admin)" (under Windows 11).

  • Type bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi and hit the Enter key

Note: You do need to have Admin rights in the command prompt before you perform the above action. If bcdedit fails, please make sure you are running the prompt as Admin.

Let us know how it works out for you.

7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like