1

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.

2

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:

Boot Windows from GRUB rescue command prompt

-1

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

2. Boot Linux ISO From Android Phone

3. How to Boot Into Linux from Your Android Phone

  • HI, I don't have that dvd I used earlier. I suppose there was a burn needed, by rufus, which I can't do from my mobile. Is there any way? – Md Abtahi Sep 26 '18 at 16:46
  • You got android I hope...I edited my answer with some links..hope they help you..I never booted from phone so I wouldn't be able to help with that any further. – Spectra Sep 26 '18 at 17:53
  • @Spectra I find #3 very interesting, thank you. – Kristopher Ives Sep 26 '18 at 19:13
  • Did that partition contained both Ubuntu and Windows10 ? A partition cannot contain both Ubuntu and Windows. – GabrielaGarcia Oct 27 '18 at 6:50
  • @GabrielaGarcia , I know that a partition cannot contain both ubuntu and windows, that why I asked him. Cause,in that case he need not worry, if he deleted one part (ubuntu / windows )he can gain access from the other part (windows/ubuntu). I assumed he would understand. Sorry for not making it clear. Edited the answer. – Spectra Oct 27 '18 at 7:29

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.