I accidentally deleted a partition that probably was the one with the os I was using. Now it shows this. How can I regain access to my Computer? I did a dual boot of Ubuntu 18.04.1 LTS with WIndows 10.
3 Answers
Did that partition contained both Ubuntu and Windows10 ? You cannot install Ubuntu and windows in the same partition. In that case you can get access from the other OS.
Anyway,if that is not possible, the easiest solution seems to be reinstalling Ubuntu 18.04. I hope you have the live USB or DVD of Ubuntu at you installed earlier. Just insert it and enter the bios. Boot from USB/DVD and install it. You will be fine. After installing Ubuntu you can dual boot it with windows10 if you wish.
In case you don't have live USB/DVD, you can use your phone as a bootable device :
1. Installing Ubuntu Using Cell Phone Only
- 211
Since you indicated you only have a mobile phone and it's unlikely you will have access to the ability to create a new DVD or USB disk, here are some tips you can try from the GRUB console:
First, you need to set "pager" mode in GRUB so that you can read the output of commands if they go off the screen:
grub> set pager=1
Next you want to see what disks GRUB can see, if any:
grub> ls
This will output something like:
(hd0) (hd0,msdos2) (hd0,msdos1)
Here it's showing there are two partitions on (hd0) - if there are no partitions listed then you somehow deleted your entire disk or all of it's partitions. If there are disks there you can try accessing their contents:
grub> ls (hd0,0)/
You might see output that looks like a Windows disk, assuming it has a C:\Windows directory and a C:\Users directory (note the C:\ wont be displayed by GRUB) and you can follow these instructions to tell GRUB to manually boot that partition:
- 5,669
I had the same issue after I deleted the kali Linux partition.In my case, I still wanted to boot to windows; my grub default partition had been set to kali Linux, so it was difficult to boot to windows; I only got the grub loading
welcome to grub `error no such partition
Kindly follow the steps below to try and fix it This is because Windows and Linux share the boot partition, and deleting Linux causes the boot partition to be deleted
if you have a ready-made system installation disk or the conditions to make one? You can use the cmd of the system installation disk to repair.
this requires a system installation disk because the boot partition has disappeared, and we can’t rebuild it with BIOS alone.
Please go to go to https://www.microsoft.com/en-us/software-download/windows10. Download MediaCreationTool on another computer, Prepare an empty USB disk, run MediaCreationTool and choose to create installation media for other computers.
Go to the BIOS and change the boot ordering Windows Boot Manager to the top. No need to reinstall Windows
5.Can you boot into Windows? If not, try this:
Restart your computer and immediately press the boot key to enter the boot menu (On my IdeaPad S145, it's F12) Select Windows Boot Manager using the arrow keys and hit enter. Are you able to boot into Windows?If yes, click on Start>Power and by holding down the shift key, click on Restart.When you're presented with an advanced (blue screen) menu, clickonTroubleshoot>Advanced Options>UEFI Firmware Settings>Restart This will enter you into your Computer BIOSSelect the Boot tab using the arrow keys and select Windows Boot managerOn the side, you will see the instructions to move it up or down. Press that key to move Windows Boot Manager to the top. (It is F6 on my laptop)Then press F10 to save changes and exit.You should now boot into Windows
6.If it is only the *
grub rescue
- you see in the boot menu > , that is not the boot menu.
When you turn on your computer, immediately, without waiting even a second, keep pressing F12 (No need of fn key) until you hear a beep sound or something pops up on your screen.
If still you cannot access Windows, follow the steps below:
-) Create a Windows 10 installation media on another PC. Go to https://www.microsoft.com/en-in/software-download/windows10 and click on Download tool
-) Run the tool and select Create an installation medium for another device. Insert a blank USB drive with at least 4 GB of space. All the data in it will be deleted. After doing that, wait for the tool to complete its process. This might take a long time.
-) Insert the USB drive into the affected computer and turn it on. Immediately upon startup, keep pressing F12
-) Select the USB drive and hit enter (You might know these steps if you dual-booted Linux)
-) When you are booted into the Windows 10 installation environment, select your preferred language and click on Next. Then click on Repair this PC
-) Click on Use a device and search for Windows Boot manager or something with Windows in its title.
after doing all these steps, you'll be booted to windows; **no single file will be deleted or apps changed **
if else -follow these other set of steps below
If you cannot find the Use a device option, reboot from the USB and try again.
If still, you cannot find it, click on Advanced Options>Command Prompt
Then type the following commands one by one:
bootrec /fixmbr
bootrec /fixboot
exit
And reboot your computer (this will remove the grub bootloader from Windows)
Then just turn on your computer (do not boot from the USB)
Good luck! i will gladly follow up to check if you fixed the error