0

I am having one big problem. I had dual-boot on my PC: I had Windows 7 and Ubuntu. Yesterday I upgraded to Windows 10 and I deleted the partition where Ubuntu was installed.

When I restarted my laptop it says grub rescue. I tried with these commands: ls, set, root but when I type insmod nomral it says unknown file system. Also when I try ls (hd0,msdos1,3,4 or 5).

I don't have any OS CD or USB and I only have this laptop. I need it so much today.

1
  • @mikewhatever All methods explained there involve using a live medium. OP says he doesn't have any.
    – Cornelius
    Sep 28, 2015 at 12:15

1 Answer 1

0

Type the following:

insmod ntfs
insmod part_msdos
set root=(hd0,msdos1)
chainloader +1
boot

If you succeed to get to Windows, you must rewrite the bootloader using something like EasyBCD if you don't have a Windows installation media (DVD or USB).

4
  • Thanks man but it says again not such partition
    – Nicky Nick
    Sep 29, 2015 at 13:17
  • @NickyNick what is the output of ls?
    – Cornelius
    Sep 29, 2015 at 13:59
  • Hd0 (hd0,msdos5) (hd0,msdos4) (hd0,msdos3) (hd0,msdos1)
    – Nicky Nick
    Oct 4, 2015 at 10:48
  • You put a space after hd0. Removing the space gets invaly efi file path after chainloader
    – Jon
    Feb 24, 2020 at 13:26

Not the answer you're looking for? Browse other questions tagged .