Thursday, March 29, 2018

boot - GRUB not showing up



I installed Ubuntu 14.10 alongside windows 8.1 and it was working fine until I ran the CHKDSK command in windows now when I restart the PC, there is no GRUB screen and the PC boots directly into windows. I used the boot-repair-disk but no luck. My secure boot is off and I also tried to reinstall GRUB using this but still no luck. I know there are A LOT of threads similar to this but I have tried methods given in several of those but no luck :( Here is the URL I got after using the recommended repair option in Boot-repair:



Use a Ubuntu Live CD, launch a terminal console and type:



sudo su Enter




gparted Enter



Observe what is the Ubuntu partition. Probably it will be /dev/sda2. Assuming that, then, it closes gparted and (sudo is not required because you are already root with sudo su):



mount /dev/sda2 /mnt Enter



mount -B /dev /mnt/dev Enter



chroot /mnt Enter




grub-install /dev/sda Enter



reboot Enter



Then you will have grub2 re-installed.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...