I can boot into ubuntu only after I enter the "advanced options for ubuntu" and go into recovery mode where i need to select use the "repair broken packeges" option. The problem is that I want to boot on windows 10 but it doesn't apper as an option on grub. I have tried using terminal commands but when I reboot the computer it just crashes in a purple screen and I can't do anything else than shutting down my laptop. After shutting it down, the grub us not updated and I have to do the steps all over again. I would very much appreciate if someone could help me. Thanks!

And btw I don't mind having to uninstall ubuntu in order to get back the option of windows 10, or having to uninstall grub.


Since you need Recovery Mode, lets first check your file system for errors.

For 17.10 or older...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

For 18.04 or newer...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window
  • type sudo fdisk -l
  • identify the /dev/XXXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

After repairing any errors using fsck, if that doesn't solve the problem, try boot-repair. See...


  • Plugging in the live usb does nothing. It just keeps showing me these options: "ubuntu", "advanced options for ubuntu" and "system setup". Is there anything i can do in bios? – Codrut Plaiasu Jul 14 at 15:33
  • @CodrutPlaiasu It doesn't sound like you're actually booting to the Live USB, as it should give options to include "Try Ubuntu without installing", and "Install Ubuntu". Are you able to recreate your USB, or maybe create a DVD? – heynnema Jul 14 at 15:37
  • after boot ubuntu without installation it just crashes. I can't give any commands to the terminal. What else could i try? – Codrut Plaiasu Jul 14 at 17:50
  • @CodrutPlaiasu on the GRUB menu, either on your main computer, or on the Ubuntu Live USB, do you see a memtest option? – heynnema Jul 14 at 17:54
  • so this is what i am doing: 1. Enter on System setup; 2. Press F9 to enter into "Boot device options"; 3.Select "USB CD/DCD ROM Drive (UEFI) - USB CD/DVD Drive"; 4. Select "Try ubuntu without installing". I haven t seen the memtest option on the grub menu, where I have just 3 options: Ubuntu, Advanced options for Ubuntu and System setup. Should I try to install it again? – Codrut Plaiasu Jul 14 at 18:16

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.