2

I have windows 10 (installed in Hardisk 1) and Ubuntu 16.04LTS (installed in Hardisk 1) in my laptop, and I can select windows or Ubuntu by booting. After updating Ubuntu / windows (I do not know exactly) I can not see the boot menu by booting, and windows starts automatically. In UEFI-configuration, I see only 3 options: "Windows Bootmanager", "USB", "SAMSUNG .....", I think, the 3.option is related to the 2.harddisk for Ubuntu, but I am not able to change the order so that Ubuntu bootloader starts automatically.

After reading some hints from forum, I use EASYUEFI for changing it, but Ubuntu can not boot.

I think, something is wrong after updating of Ubuntu. I installed Ext2fsd freeware for reading and writing Ubuntu partition directly from Windows. Now, I can access everything in Ubuntu-partition.

My question: 1. which file I have to modify for repairing Ubuntu GRUB bootloader?

Can someone please help me? Best thanks Binh

1 Answers1

1

You will want to log into a live usb installation, mount your old install, chroot into the mount, and run 'grub-install /dev/sdX' (most likely sda, could be different depending on which device is your hard drive)

https://help.ubuntu.com/community/Grub2/Installing

Kyle H
  • 1,064
  • 6
  • 7