0

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.

1 Answers1

0

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...

https://help.ubuntu.com/community/Boot-Repair

heynnema
  • 73,649