How to fix grub rescue partition problem with dual boot ?

error no such partition grub rescue after deleting ubuntu

How to solve grub rescue partition problem with dual boot in Windows 10 and Ubuntu showing unknown filesystem using command line 2018

Today's many of us suffered from the problem of disk partition during the process of booting on our laptop or PC  in the command line.

The different problem of the system restart, hardware failure, blue screen, file corrupt, system file corruption often occurs on our computer. When such issue occurs, normally it will prompt us an error on screen. Disk Partition and no partition error in windows are very common in the dual system of Ubuntu and windows.mainly it occurs by showing the grub issue problem during booting of the computer in the command line.

Many of us had installed Ubuntu and windows on one laptop. So we engaged yourself on dual-boot of windows and ubuntu daily.

Mainly pain occurs when we were unable to boot any operating system .we only got to see the black screen showing the "grub rescue problem not finding the file system".

It's really painful as being one of them who also suffers from this problem.

My windows 10 and Ubuntu were booting correctly, when I make a partition on windows 10 then the "grub rescue problem occurs showing unknown file system" during startup.

After spending quality time on research I finally got the solution of how to fix and repair the grub rescue system partition issue during boot up which is here in this article.


First solution:

steps 1:

type ls command on the blank command line screen. it will display all system partition drives in your computer like

step 2:

  Then we need to check which partition drive is our Ubuntu root for which type the following
          set prefix= (hd0,msdos1)/boot/grub  
  if its not the active partition drive you will get an error message 
          "unknown filesystem"
  in that case try the same command with next partition like
         set prefix= (hd0,msdos2)/boot/grub  
  if you are not getting error 
  congrats you have found the Active partition tool drive and you can proceed to the next steps.

step 3:

type the following commands step wise:
         set prefix=(hd0,msdos1)/boot/grub
         insmod normal

finally congrats now you can boot your Ubuntu and windows.

Second solution:
  if the above solution not worked for you,don't panic there is also second solution
 step 1:
  for this solution you need windows DVD and just boot from CD/DVD.
  then you get the windows loading screen.
 step 2:
  after going to the windows setup screen
  press home + shift and then press f10 then it will open the command prompt.
 step 3:
 type the following commands stepwise

After typing the commands stepwise just cut the installation process by ejecting out the CD/DVD.

Finally, your windows will start boot without losing any data and information.

Second method :

This error mostly occurs when the boot files are missing or dislocated, before we start you need a Windows Installation DVD (Or) Windows Bootable Pendrive.

Step 1- Insert the Windows Os installation Disc in the disc drive.

In case if you don't have a CD/CD drive, then make a bootable pen drive by copying the Windows Os files using Windows DVD Tools from another computer.

Restart your computer now!

Step 2: When your computer gets started, press F12 to set the boot drive. Select the drive which you have your OS (CD/Pendrive).

Step 3: After windows files loaded, Click Repair your computer. (at the bottom of the window)

Step 4: Click the operating system that you want to repair (Eg. Windows 7/8), and then click Next.

Step 5: In the System Recovery Options dialog box, click Command Prompt.

Step 6: In the command prompt, type exactly Bootrec.exe /fixmbr and then press ENTER.

You will see "operation completed successfully."

Step 7: Restart your computer.

GRUB will be overwritten in step 6 and Windows boot loader will once again take control of loading your OS(s)

PS: You can also do this with Windows repair DVD.

Third Method :

Follow these steps -

Step 1.

Get USB.

Step 2.

Download Yumi >
This is a clever tool to have anyway...a whole bunch of operating systems 
and drive repair tools on a USB.

Step 3.

Follow instructions and load up the USB with ISOs of the operating systems
 you want to reboot and/or tools you want to use. I recommend for the above to get
 Boot Repair Disk and SuperGrub2 Disk tool as well. There are a bunch of loads you
 can do (some included).Once your multi-boot flash disk is loaded up then 

go to Step 4.

Step 4.

Have your flash drive in a USB port and press restart. As you're booting 
you'll want to push F8 repeatedly (this is a kind of cure-all button) and you 
want to boot from your flash-drive (preferably non-EUFI)........If F8 doesn't work
 for you, try to adjust your boot order giving priority to the flash-drive or 
exclusive priority to the flash drive.

Now ex...

Boot from: 1) ATAPI Hasjha9214101u-1100

2) SATA -alskjlawi2928

3) Toshiba flash : <<<<choose this one

4) Toshiba flash (EUFI)

Now this may be speculation...but it seems to me that there is a kind of technology
 adoption curve that allows the USB to be given priority in booting operating systems
 even when the CD/DVD -rom craps out like in this case.

Step 5.

Now that you are booting from USB-flash , you'll see the menu of tools that come up.
 Play around with them and see which ones repair your situation the best.
 Again it was recommended somewhere else, if all of your initial partitions 
are 'filesystem unknown' to run the supergrub2 and the disc repair.

Final Method :

Cheers if any of the methods work for you and comments below if any queries.

Boot from an Ubuntu Live CD or Live USB.
Once up and running, Open a Terminal.
Type sudo su
Type fdisk -l
Note which device contains your Linux partition (IE: /dev/sda1).
Type mount /dev/sdx# /mnt (replacing x# with your actual device and partition number)
Type mount --bind /dev /mnt/dev
Type mount --bind /proc /mnt/proc
Type cp /etc/resolv.conf /mnt/etc/resolv.conf
Type chroot /mnt
Type grub-install --recheck /dev/sdx (replacing x with your actual device)
Type init 6. (to reboot your PC)

Er Gopal Bogati

Er Gopal Bogati

My name is Gopal Bogati. I am computer engineer by education, fascinating lover of new technology, fond of writing and reading tech-related articles, Youtuber and Blogger by passion, working as a software engineer in the field of Web Development, fond of spending time on solving tech-related issues.
Er Gopal Bogati
Er Gopal Bogati

Author: Er Gopal Bogati

My name is Gopal Bogati. I am computer engineer by education, fascinating lover of new technology, fond of writing and reading tech-related articles, Youtuber and Blogger by passion, working as a software engineer in the field of Web Development, fond of spending time on solving tech-related issues.